Swagger2Markup / swagger2markup

A Swagger to AsciiDoc or Markdown converter to simplify the generation of an up-to-date RESTful API documentation by combining documentation that’s been hand-written with auto-generated API documentation.
Apache License 2.0
2.49k stars 383 forks source link

OpenAPI 3.0 Request Body Object support #387

Open austek opened 4 years ago

austek commented 4 years ago

add support for OpenAPI 3.0 support #340 Request Body Object to asciidoc conversion

balajiv113 commented 3 years ago

@austek , @RobWin - I will work on this part. For this section, there is a major change in openAPI when compared with swagger. In OpenAPI, there is a support for body with different schema for different content type.

I will try to create a separated body section with table to capture schema and content-type.

Example:

PUT /pets Update an existing pet Body (Optional) Description Type Schema
application/json Pet
application/xml Pet
andye2004 commented 2 years ago

@balajiv113 any news on this?