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
If I define the OpenAPI operation using OpenApiRouteHandlerBuilderExtensionsProduces and want to add a description to the media type, using OpenApiEndpointConventionBuilderExtensions.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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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