How can I change the OpenAPI operation definition? #55574
Unanswered
paulomorgado
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I define the OpenAPI operation using
OpenApiRouteHandlerBuilderExtensionsProduces
and want to add a description to the media type, usingOpenApiEndpointConventionBuilderExtensions.WithOpenApi
from Microsoft.AspNetCore.OpenApi, that change is not reflected in the resulting Swagger/OpenAPI document generated by NSwag.But if I completely define the OpenAPI operation using using
OpenApiEndpointConventionBuilderExtensions.WithOpenApi
from Microsoft.AspNetCore.OpenApi everything is in the resulting Swagger/OpenAPI document generated by NSwag.Beta Was this translation helpful? Give feedback.
All reactions