You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to migrate https://github.com/deepmap/oapi-codegen into libopenapi and I just need to implement one last functionality. Is it possible to render a document as a yaml/json with internalized external references so it would not have any external dependencies? kin-api has swagger.InternalizeRefs function for that (example usage). I was wondering if there's such a thing exist in libopenapi?
It currently cannot do this at the moment. It CAN render inline, but it won't restructure the document to create a single spec. This would be a new feature. Seems like it would be very useful.
I used index.Rolodex and index.Index, but not low-level or high-level models since I couldn't find a way to properly use them. Let me know if you have suggestions so I can work on the idea/feature.
I'm trying to migrate https://github.com/deepmap/oapi-codegen into libopenapi and I just need to implement one last functionality. Is it possible to render a document as a yaml/json with internalized external references so it would not have any external dependencies?
kin-api
hasswagger.InternalizeRefs
function for that (example usage). I was wondering if there's such a thing exist inlibopenapi
?Example:
From
to
The text was updated successfully, but these errors were encountered: