Skip to content
This repository has been archived by the owner on Jan 25, 2020. It is now read-only.

Support to define Reference Object as a Relative Schema File #61

Closed
subeeshcbabu-zz opened this issue Jan 14, 2016 · 2 comments
Closed
Milestone

Comments

@subeeshcbabu-zz
Copy link
Member

It would be nice to support definition of Reference object - $ref as a relative file to the main api definition file.
Swagger support - http://swagger.io/specification/#referenceObject

For example:

{
  "$ref": "Pet.json"
}
$ref: 'Pet.yaml'
{
  "$ref": "definitions.json#/Pet"
}
$ref: 'definitions.yaml#/Pet'
@tlivings
Copy link
Contributor

This can be done through extrefs integration into swaggerize-routes: https://github.com/tlivings/extrefs

@subeeshcbabu-zz
Copy link
Member Author

[email protected] added support for $ref.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants