Closed subeeshcbabu-zz closed 8 years ago
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
$ref
For example:
{ "$ref": "Pet.json" }
$ref: 'Pet.yaml'
{ "$ref": "definitions.json#/Pet" }
$ref: 'definitions.yaml#/Pet'
This can be done through extrefs integration into swaggerize-routes: https://github.com/tlivings/extrefs
extrefs
swaggerize-routes
generator-swaggerize@3.0.0 added support for $ref.
generator-swaggerize@3.0.0
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/#referenceObjectFor example: