Skip to content

OData Swashbuckle 5.0.0 rc-4 swagger.json generation for requestbody #562

Closed
@spaasis

Description

@spaasis

AspNetCore 2.2
Swashbuckle.AspNetCore 5.0.0-rc4
AspNetCore.OData.Versioning.ApiExplorer v.3.2.3

Original issue: domaindrivendev/Swashbuckle.AspNetCore#1331

When I have an OData API controller with a PATCH/PUT/POST method that requires an [FromBody]-parameter, the generated swagger.json does not have any content on requestbody. See the original issue for a code and result sample. GET works beautifully.

Is this an issue of the api-versioning package or OData itself?

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions