Paul Hill
Paul Hill
I'm a Go n00b so if I ballzed up the update process I might need some guidance on how to do it properly.
``` { swagger: '2.0', info: { title: 'My API', version: '2.0' }, host: '', schemes: [], basePath: '/api/v2', consumes: [ 'application/json' ], produces: [ 'application/json' ], paths: ..., definitions: ...,...
I'm with @IvanGoncharov. (with respect to allowing all of json-schema). It's been a PITA to have swagger fail the spec validation because we use the same json-schema for model definition...
So use vendor extensions to support existing json-schema constructs? x-anyOf ? That seems a little... awkward, don't you think? Not at all supported by existing json-schema validators. Re-implement json-schema validation...
Well said. +1 > On Oct 1, 2015, at 8:31 AM, Ivan Goncharov [email protected] wrote: > > @Relequestual Right now it has some problems(see #403) and they definitely could be...
There are some efforts in progress to support polymorphic data with oneOf and anyOf which I believe are going to appear in the next revision of the spec. You touch...
A big part of what I liked about swagger 1 was that I could re-used my json-schema validation as my model definitions. That went away with swagger 2.0
+1 Would be very nice to be able to have arbitrary headers defined as inputs in the banner. I was attempting the get some OAuth2 hotness going in my API...
Sweet :-) -Paul Hill On 2013-06-23, at 8:17 PM, Tony Tam [email protected] wrote: > getting there. We're just finishing up oauth 2 in the swagger spec for java, moving to...
Dude, that's awesome. Your timing is perfect. I'm going to jump right on that. -Paul Hill On 2013-06-23, at 8:45 PM, Tony Tam [email protected] wrote: > also, if you missed...