Re: Inheritance and extension of API definitions

2017-07-28 Thread Ron Ratovsky
Hi Julien, The spec doesn’t quite support that. What it does support is referencing specific paths, and then theoretically you can add additional operations on top of that to the path. In practice, I’m not sure too many tools would support adding the additional operations, though the

Re: Array input list combines 2 or more entries as one list element

2017-07-28 Thread Ron Ratovsky
You attached a pom.xml… From: on behalf of Richard Moore Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Friday, July 28, 2017 at 07:52 To: Swagger

Re: Another Swagger re-use via $ref question

2017-07-28 Thread Ron Ratovsky
Try changing the ref to "$ref": "./microformats/currency.json" From: on behalf of Austin Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Thursday, July 27, 2017 at 11:38

Re: Why the path /app/{id} now generates error swagger editor?

2017-07-28 Thread Ron Ratovsky
It’s a little hard to say without more information. Which tool do you use to generate the ADI definition? Can you share the definition you’re getting? From: on behalf of "dmitriy.krasni...@swimlane.com" Reply-To:

Re: Example of self-referential (circular reference) in Swagger?

2017-07-28 Thread Ron Ratovsky
Try using "$ref": "#/" instead. From: 'Toe Dipper' via Swagger Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Wednesday, July 26, 2017 at 15:36 To: Swagger

Inheritance and extension of API definitions

2017-07-28 Thread Julien Silland
Hello, My company runs an API that we surface to three distinct audiences: third party developers, partners and first party clients. What this segmentation means in practice is that depending on the nature of the clients, a given endpoint might be available to you or not, and it if is

Re: can validatorUrl be used to switch off swagger validation (Play - Scala)?

2017-07-28 Thread Austin
Are you trying to turn it off in Swagger UI? If so then just modify the index.html and in the script tags next to where you had to modify it to point to your swagger file add the validatorUrl: "", text. It should look something like below: window.onload = function() { // Build a system

Integrate Restlet with Swagger UI

2017-07-28 Thread sarvesh n
Hi All, Anybody tried integrating Swagger UI with Restlet 2.0 in Java 1.7 Need pointers or code samples to achieve the same. Thanks, Sarvesh.N -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving

Array input list combines 2 or more entries as one list element

2017-07-28 Thread Richard Moore
I want to be able to pass a comma-separated list of codes. I (attempted to) defined /getByCode/{code} (see attached) to handle this request. The generated server code in ServiceImpl has the method signature correct - public Response getFacilityByCode(List code) If I key one code in the editor

can validatorUrl be used to switch off swagger validation (Play - Scala)?

2017-07-28 Thread zhangmingshui
Hi, Is it possible to switch the swagger validation off using the swagger configuration using the swagger.yml file? >From googling it looks like this could be done using the setting validatorUrl:null. We've tried numerous positioning of this config in our swagger.yml but none of them seem to

DescribeAllEnumsAsStrings not helping

2017-07-28 Thread pradeep krishnaswamu
Hi All, I have an enum which is not showing its enum string rather showing numeric number DescribeAllEnumsAsStrings not helping say we have an custom enum public enum Priority { Low, Medium, High } when i get the response back it says Priority:1 Priority:2 basically its not convertinga