core-api / python-openapi-codec

An OpenAPI codec for Core API.
Other
33 stars 35 forks source link

Does support swagger 2.0 #22

Closed AndreLobato closed 7 years ago

AndreLobato commented 7 years ago

I am trying to load a definition file I've created with the Swagger editor, and seems a valid document in the editor, but the codec returns only the GET details endpoints. So I suppose the _parse_document function is just not handling well those definitions as a whole.

AndreLobato commented 7 years ago

So the problem in my definitions file was only that I didn't had set operationId for the paths. After set rendered the correct document. Maybe is worth to have some comment in the docs.

tomchristie commented 7 years ago

Okay, is operationId required by the swagger spec or not? That'd determine if we oughta act on this.