-
Notifications
You must be signed in to change notification settings - Fork 34
Issue with allOf in swagger definitions #8
Comments
You can perform the same definition (from your example) with: "petInput": {
"$ref": "pet"
} Also, in your other referenced schema, you are missing the Thanks for your patience. |
great, thanks for the update - I also submitted an issue regarding these examples to the swagger-spec project as I would be good if the examples were accurate. |
Is this an issue with the enjoi module then? Or in |
Following the I am waiting for a new version publish of the |
https://github.com/krakenjs/generator-swaggerize/blob/master/app/templates/_model.js#L7 |
This feature would be much appreciated.
|
Please checkout the latest version |
Hi Folks,
I've been looking at the V2 JSON examples in https://github.com/swagger-api/swagger-spec/tree/master/examples/v2.0/json and using them with the generator has created a few issues that I've tried to breakdown a little. The first is from https://github.com/swagger-api/swagger-spec/blob/master/examples/v2.0/json/petstore-simple.json
Take 2 copies of this file and delete the
"/pets/{id}": { ... }
sections. In one use the definitionin the other use the definition
I find the one with the $ref generates:
node version v0.10.33, yeoman version 1.3.3. Latest version of generator-swaggerize.
The text was updated successfully, but these errors were encountered: