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
{{ message }}
Repository navigation
Examples are missing after converting V3 swagger to V2 #1430
Unfortunately there is no support for multiple examples for body parameters in OpenAPI v2. We could carry the examples though to the V2 document as an extension. e.g. x-examples Would that address your need?
Activity
darrelmiller commentedon Oct 20, 2023
Unfortunately there is no support for multiple examples for body parameters in OpenAPI v2. We could carry the examples though to the V2 document as an extension. e.g.
x-examplesWould that address your need?TinaLiu02 commentedon Oct 23, 2023
yes. that would be great.
darrelmiller commentedon Nov 28, 2023
We need to add serializing of the examples map to
x-exampleshereOpenAPI.NET/src/Microsoft.OpenApi/Models/OpenApiResponse.cs
Line 187 in 05c5615
darrelmiller commentedon Jan 18, 2024
Maggie Kimani (@MaggieKimani1) Why is this a breaking change? Could this not be implemented in the current V1.x branch?
MaggieKimani1 commentedon Jan 23, 2024
You're right, this isn't a breaking change. I have rebased the branch onto
vnextso that this goes out with the nextv1.xrelease.RachitMalik12 commentedon Feb 27, 2025
Completed