Generating Swagger from UML?

2016-11-30 Thread Austin
ng so? Do API designers who use Swagger not typically use UML diagrams or am I perhaps trying to use Swagger/UML in the wrong way here? Thanks for any thoughts you may have on this subject. -Austin -- You received this message because you are subscribed to the Google Groups "Swagger&

Path params defined in path objects with shared method $ref files behaving oddly in Swagger UI

2017-07-20 Thread Austin
I am working to document an API in Swagger 2.0 with multiple paths that share identical query string parameters and return schema format for their get methods: "/customers/invoices/{invoice}": { "parameters": [ { "name": "invoice",

Re: Path params defined in path objects with shared method $ref files behaving oddly in Swagger UI

2017-07-20 Thread Austin
n Thursday, July 20, 2017 at 4:51:52 PM UTC-5, Ron wrote: > > Hi Austin, > > > > It’s kinda hard to test because your definition is indeed not valid. > > You can reference paths, not operations. > > > > > > > > *From: *> on behalf

Re: Path params defined in path objects with shared method $ref files behaving oddly in Swagger UI

2017-07-21 Thread Austin
Thanks, I appreciate the help in understanding how it is supposed to work. Though I do have to say that the current implementation is a bit disappointing as I can't think of when it would be useful to reference the entire contents of a path object considering different paths will likely have di

Another Swagger re-use via $ref question

2017-07-27 Thread Austin
Hello, I've ran into a kind of funky problem where I have two operation objects with similar but not identical schemas. The get operation has a schema reference that points to a json file containing a standardized mason wrapper with an items collection in it. This items collection is a list

Re: Another Swagger re-use via $ref question

2017-07-27 Thread Austin
My less than ideal work around for now has been to move all my collection schema definitions into the same directory as my item schema definitions. This seems to prevent the reference resolver from getting the paths mixed up. On Thursday, July 27, 2017 at 10:17:53 AM UTC-5, Austin wrote

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

Missing Example Value | Model in response section

2017-08-07 Thread Austin
Swagger UI was rendering my swagger.json document just fine until here recently (likely do to changes I made). I'm not certain what change it is that I have made but the "Example Value | Model" no longer appears in my response section for any of the end points I have defined. It does however pa

Re: Missing Example Value | Model in response section

2017-08-08 Thread Austin
Which version of swagger-ui do you use? > > > > > > *From: *> on behalf of > Austin > > *Reply-To: *"swagger-sw...@googlegroups.com " < > swagger-sw...@googlegroups.com > > *Date: *Monday, August 7, 2017 at 10:41 > *To: *Swagger >

Re: Missing Example Value | Model in response section

2017-08-08 Thread Austin
That did the trick! Thanks again! On Tuesday, August 8, 2017 at 1:37:29 PM UTC-5, Austin wrote: > > Currently 3.1.1, but I see I'm behind again so I'll try a newer revision > if this wasn't something I did wrong then maybe this is fixed now :) I'll > reply a