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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenAPI 3.0 Request Body Object support

austek opened this issue · comments

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

@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

@balajiv113 any news on this?