-
-
Notifications
You must be signed in to change notification settings - Fork 445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolve external ref from data #286
Comments
I'm using deepmap/oapi-codegen to generate In my usage, there's no more yaml files when application run, only all the swagger spec data. This workaround is not work for me. Thanks! |
Here's an example of how to use kin-openapi/openapi3/testdata/load_with_go_embed_test.go Lines 5 to 33 in 1715334
If that doesn't work for you, can you explain further your |
When using external ref, currently there're two ways to resolve the references when loading swagger: #245 (comment) and #245 (comment). However, both ways requires path(URL or local file) for the resolving.
Is it possible to provide another API (e.g.,
LoadSwaggerFromDataWithData
) that able to resolve external ref by loaded data?Thanks!
The text was updated successfully, but these errors were encountered: