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
// V2 spec actually allows the body to have custom name.
248
-
// Our library does not support this at the moment.
256
+
// To allow round-tripping we use an extension to hold the name
249
257
Name="body",
250
258
Schema=content?.Schema??newOpenApiSchema(),
251
-
Required=RequestBody.Required
259
+
Required=RequestBody.Required,
260
+
Extensions=RequestBody.Extensions.ToDictionary(k =>k.Key, v =>v.Value)// Clone extensions so we can remove the x-bodyName extensions from the output V2 model.
0 commit comments