Extra (unnecessary?) type generated when processing url encoded body swagger
See original GitHub issueDescribe the bug
In this PR we found an extra type/class was generated:
Paths14Hl8BdFormsdataurlencodedPetAddPetidPostRequestbodyContentApplicationXWwwFormUrlencodedSchema
This was a minor annoyance for .NET, as we mark it internal, but might be more annoying for other languages.
Expected behavior @pakrym and I expected this type to be not added.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
OpenAPI Specification - Version 3.0.3 - Swagger
It is RECOMMENDED that the root OpenAPI document be named: openapi.json or openapi.yaml . Data Types. Primitive data types in the OAS are...
Read more >Requestbody x-www-form-urlencoded is not properly rendered
The input value is set to string only once when clicked the "Try it out" button. In this case we should use a...
Read more >OpenAPI Specification v3.1.0 | Introduction, Definitions, & More
The OpenAPI Specification (OAS) defines a standard, programming language-agnostic interface description for HTTP APIs.
Read more >Swagger java annotations in action - ITNEXT
The output is a swagger definition file, it can be used then to generate client/server ... path parameters, or parsing/encoding the request/response body....
Read more >Generate Server Code Using OpenAPI Generator
This will give you immediate feedback whether your specification has errors and it generates the Swagger documentation on the fly. More ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As far as I understand in OpenApi3. You have a single entry for the schema
requestbody
and then you can define the schema per content typehttps://swagger.io/docs/specification/describing-request-body/
TIL. thank you