mimarec / swagger-doc-viewer

Viewer documentation for a OpenAPI Specification (fka The Swagger Specification)
MIT License
6 stars 5 forks source link

FIX relative $ref in second level references. Update of swagger-editor #4

Closed albertogb closed 7 years ago

albertogb commented 7 years ago

Update with latest swagger-editor and a custom fix in json-refs module (importing from way) in order to disable relocation of references. Sway is in progress of deployment of a proper patch on its own. So this custom fix already included on swagger-editor/dist folder, would make the work in the meantime. Additionally swagger-editor has been updated to latest version

mimarec commented 7 years ago

Gracias Alberto!!!

albertogb commented 7 years ago

After using a bit more. The update could be taken a bit subjetive... It makes coherent with swager-tools but not coherent with sway behaviour.. Unfortunatelly they are not coherent. For people using swagger-tools as default could be convenient to generate code, but not for other people wich use propossed preprocessing before swagger-tools generation. If you find intereseting I could make fix dependent on some global plugin setting....