-
Notifications
You must be signed in to change notification settings - Fork 81
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
Missing cli feature: Add $metadata operation and root #285
Comments
Hi @gregorwolf, I was wondering what the "/$metadata": {
"get": {
"summary": "$Metadata endpoint",
"operationId": "$metadata/get",
"responses": {
"200": {
"description": ""
}
}
}
} Now I wonder how this would be helpful. Could you please provide a use case? Thanks in advance |
In my current scenario there is an API management system that only allows requests that match the OpenAPI specification. |
What requirements does your API management system have regarding preciseness of the request description? The example above basically allows any kind of response. Would it be an option for you to reflect the specialties of your API management system in a post-processing step that adds a system-specific |
Hey Ralf, that's pretty much what the converter site described above does, it's not overly complex to do to be honest. |
Hi @ralfhandl,
the Web Interface at https://convert.odata-openapi.net/ by @WillEastbury and contributions from @MartinPankraz has an option "Add $metadata operation and root" in the "Optional Parameters". Would be great if this could be added to the odata-openapi3 cli.
Best Regards
Gregor
The text was updated successfully, but these errors were encountered: