Add some AsciiDoc tweaks (#6436)

* Fix a section level issue in the parameters section
* Allow to use an introduction section instead of abstract
* Allow to use table titles rather than wrapping with sections
* Allow to use HTTP method and path as operation title
* Allow to skip examples sections
This commit is contained in:
Jens Reimann
2020-06-15 03:29:26 +02:00
committed by GitHub
parent 6f5ec7deef
commit 171337e5f3
4 changed files with 113 additions and 16 deletions

View File

@@ -24,8 +24,6 @@ This is a sample server Petstore server. For this sample, you can use the api ke
* *APIKey* KeyParamName: _api_key_, KeyInQuery: _false_, KeyInHeader: _true_
* *APIKey* KeyParamName: _AUTH_KEY_, KeyInQuery: _false_, KeyInHeader: _false_
* *OAuth* AuthorizationUrl: _http://petstore.swagger.io/api/oauth/dialog_, TokenUrl: __
@@ -56,7 +54,7 @@ Add a new pet to the store
===== Parameters
===== Body Parameter
====== Body Parameter
[cols="2,3,1,1,1"]
|===
@@ -506,7 +504,7 @@ Update an existing pet
===== Parameters
===== Body Parameter
====== Body Parameter
[cols="2,3,1,1,1"]
|===
@@ -618,7 +616,7 @@ Updates a pet in the store with form data
|===
===== Form Parameter
====== Form Parameters
[cols="2,3,1,1,1"]
|===
@@ -717,7 +715,7 @@ uploads an image
|===
===== Form Parameter
====== Form Parameters
[cols="2,3,1,1,1"]
|===
@@ -1056,7 +1054,7 @@ Place an order for a pet
===== Parameters
===== Body Parameter
====== Body Parameter
[cols="2,3,1,1,1"]
|===
@@ -1148,7 +1146,7 @@ This can only be done by the logged in user.
===== Parameters
===== Body Parameter
====== Body Parameter
[cols="2,3,1,1,1"]
|===
@@ -1228,7 +1226,7 @@ Creates list of users with given input array
===== Parameters
===== Body Parameter
====== Body Parameter
[cols="2,3,1,1,1"]
|===
@@ -1308,7 +1306,7 @@ Creates list of users with given input array
===== Parameters
===== Body Parameter
====== Body Parameter
[cols="2,3,1,1,1"]
|===
@@ -1741,7 +1739,7 @@ This can only be done by the logged in user.
|===
===== Body Parameter
====== Body Parameter
[cols="2,3,1,1,1"]
|===