We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When ModelResolver.enumAsRef = true (like described here), the resulting openapi contains invalid reference on actuator using enum parameter.
The spring boot loggers actuator endpoint write / post operation, for example, is in that case.
Here a sample of the resulting openapi :
{ "paths": { "/actuator/loggers/{name}": { "post": { "tags": [ "Actuator" ], "summary": "Actuator web endpoint 'loggers-name'", "operationId": "configureLogLevel", "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LogLevel" } } } }, "responses": { "204": { "description": "No Content" }, "400": { "description": "Bad Request" } } } } } }
The issue is that LogLevel doesn’t exist in /components/schemas and so the resulting openapi is invalid.
LogLevel
/components/schemas
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When ModelResolver.enumAsRef = true (like described here), the resulting openapi contains invalid reference on actuator using enum parameter.
The spring boot loggers actuator endpoint write / post operation, for example, is in that case.
Here a sample of the resulting openapi :
The issue is that
LogLevel
doesn’t exist in/components/schemas
and so the resulting openapi is invalid.The text was updated successfully, but these errors were encountered: