Fixed wrong expected test files after merging PR #149 and PR #156

This commit is contained in:
Robert Winkler
2016-08-02 19:35:27 +02:00
parent 568d6a6441
commit f650fb7b3e
25 changed files with 209 additions and 191 deletions

View File

@@ -32,7 +32,9 @@ _optional_||integer(int64)
|*petId* +
_optional_||integer(int64)
|*quantity* +
_optional_|*Default* : `0`*Minimum value* : `0.0`*Maximum value* : `10000.0` +
_optional_|*Default* : `0` +
*Minimum value* : `0.0` +
*Maximum value* : `10000.0` +
*Example* : `10`|integer(int32)
|*shipDate* +
_optional_||string(date-time)

View File

@@ -2,14 +2,6 @@
[[_securityscheme]]
== Security
[[_api_key]]
=== api_key
[%hardbreaks]
_Type_ : apiKey
_Name_ : api_key
_In_ : HEADER
[[_petstore_auth]]
=== petstore_auth
[%hardbreaks]
@@ -26,4 +18,12 @@ _Token URL_ : http://petstore.swagger.io/api/oauth/dialog
|===
[[_api_key]]
=== api_key
[%hardbreaks]
_Type_ : apiKey
_Name_ : api_key
_In_ : HEADER

View File

@@ -2,14 +2,6 @@
[[_securityscheme]]
== Security
[[_api_key]]
=== api_key
[%hardbreaks]
_Type_ : apiKey
_Name_ : api_key
_In_ : HEADER
[[_petstore_auth]]
=== petstore_auth
[%hardbreaks]
@@ -26,4 +18,12 @@ _Token URL_ : http://petstore.swagger.wordnik.com/api/oauth/dialog
|===
[[_api_key]]
=== api_key
[%hardbreaks]
_Type_ : apiKey
_Name_ : api_key
_In_ : HEADER

View File

@@ -10,6 +10,8 @@ _optional_||integer(int64)
|*name* +
_optional_|The name of the category +
*Default* : `"DefaultCategory"` +
*Length* : `0 - 255` +
*Pattern* : `"[A-Za-zäöüÄÖÜß]{0,255}"` +
*Example* : `"FoobarCategory"`|string
|===

View File

@@ -13,6 +13,8 @@ _optional_||integer(int64)
_optional_||integer(int64)
|*quantity* +
_optional_|*Default* : `0` +
*Minimum value* : `0.0` +
*Maximum value* : `10000.0` +
*Example* : `10`|integer(int32)
|*shipDate* +
_optional_||string(date-time)

View File

@@ -11,7 +11,7 @@ POST /pets
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Body*|*body* +
@@ -21,7 +21,7 @@ _optional_|Pet object that needs to be added to the store|<<_pet,Pet>>|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*405*|Invalid input|No Content
@@ -63,7 +63,7 @@ PUT /pets
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Body*|*body* +
@@ -73,7 +73,7 @@ _optional_|Pet object that needs to be added to the store|<<_pet,Pet>>|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*400*|Invalid ID supplied|No Content
@@ -121,7 +121,7 @@ Multiple status values can be provided with comma seperated strings
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Query*|*status* +
@@ -131,7 +131,7 @@ _optional_|Status values that need to be considered for filter|< string > array(
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|successful operation +
@@ -176,7 +176,7 @@ Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Query*|*tags* +
@@ -186,7 +186,7 @@ _optional_|Tags to filter by|< string > array(multi)|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|successful operation +
@@ -227,7 +227,7 @@ POST /pets/{petId}
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*petId* +
@@ -241,7 +241,7 @@ _required_|Updated status of the pet|string|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*405*|Invalid input|No Content
@@ -286,7 +286,7 @@ Returns a pet when ID &lt; 10. ID &gt; 10 or nonintegers will simulate API error
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*petId* +
@@ -296,7 +296,7 @@ _required_|ID of pet that needs to be fetched|integer(int64)|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|successful operation +
@@ -339,7 +339,7 @@ DELETE /pets/{petId}
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Header*|*api_key* +
@@ -351,7 +351,7 @@ _required_|Pet id to delete|integer(int64)|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*400*|Invalid pet value|No Content
@@ -387,7 +387,7 @@ POST /stores/order
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Body*|*body* +
@@ -397,7 +397,7 @@ _optional_|order placed for purchasing the pet|<<_order,Order>>|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|successful operation +
@@ -433,7 +433,7 @@ For valid response try integer IDs with value &lt;= 5 or &gt; 10. Other values w
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*orderId* +
@@ -443,7 +443,7 @@ _required_|ID of pet that needs to be fetched|string|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|successful operation +
@@ -480,7 +480,7 @@ For valid response try integer IDs with value &lt; 1000. Anything above 1000 or
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*orderId* +
@@ -490,7 +490,7 @@ _required_|ID of the order that needs to be deleted|string|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*400*|Invalid ID supplied|No Content
@@ -522,7 +522,7 @@ This can only be done by the logged in user.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Body*|*body* +
@@ -532,7 +532,7 @@ _optional_|Created user object|<<_user,User>>|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*default*|successful operation|No Content
@@ -559,7 +559,7 @@ POST /users/createWithArray
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Body*|*body* +
@@ -569,7 +569,7 @@ _optional_|List of user object|< <<_user,User>> > array|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*default*|successful operation|No Content
@@ -596,7 +596,7 @@ POST /users/createWithList
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Body*|*body* +
@@ -606,7 +606,7 @@ _optional_|List of user object|< <<_user,User>> > array|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*default*|successful operation|No Content
@@ -633,7 +633,7 @@ GET /users/login
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Query*|*password* +
@@ -645,7 +645,7 @@ _optional_|The user name for login|string|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|successful operation +
@@ -677,7 +677,7 @@ GET /users/logout
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*default*|successful operation|No Content
@@ -704,7 +704,7 @@ GET /users/{username}
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*username* +
@@ -714,7 +714,7 @@ _required_|The name that needs to be fetched. Use user1 for testing.|string|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|successful operation +
@@ -751,7 +751,7 @@ This can only be done by the logged in user.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*username* +
@@ -763,7 +763,7 @@ _optional_|Updated user object|<<_user,User>>|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*400*|Invalid user supplied|No Content
@@ -795,7 +795,7 @@ This can only be done by the logged in user.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*username* +
@@ -805,7 +805,7 @@ _required_|The name that needs to be deleted|string|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*400*|Invalid username supplied|No Content

View File

@@ -2,14 +2,6 @@
[[_securityscheme]]
== Security
[[_api_key]]
=== api_key
[%hardbreaks]
_Type_ : apiKey
_Name_ : api_key
_In_ : HEADER
[[_petstore_auth]]
=== petstore_auth
[%hardbreaks]
@@ -26,4 +18,12 @@ _Token URL_ : http://petstore.swagger.io/api/oauth/dialog
|===
[[_api_key]]
=== api_key
[%hardbreaks]
_Type_ : apiKey
_Name_ : api_key
_In_ : HEADER

View File

@@ -2,14 +2,6 @@
[[_securityscheme]]
== Security
[[_api_key]]
=== api_key
[%hardbreaks]
_Type_ : apiKey
_Name_ : api_key
_In_ : HEADER
[[_petstore_auth]]
=== petstore_auth
[%hardbreaks]
@@ -26,4 +18,12 @@ _Token URL_ : http://petstore.swagger.wordnik.com/api/oauth/dialog
|===
[[_api_key]]
=== api_key
[%hardbreaks]
_Type_ : apiKey
_Name_ : api_key
_In_ : HEADER

View File

@@ -13,6 +13,8 @@ _optional_||integer(int64)
|*name* +
_optional_|The name of the category +
*Default* : `"DefaultCategory"` +
*Length* : `0 - 255` +
*Pattern* : `"[A-Za-zäöüÄÖÜß]{0,255}"` +
*Example* : `"FoobarCategory"`|string
|===
@@ -31,6 +33,8 @@ _optional_||integer(int64)
_optional_||integer(int64)
|*quantity* +
_optional_|*Default* : `0` +
*Minimum value* : `0.0` +
*Maximum value* : `10000.0` +
*Example* : `10`|integer(int32)
|*shipDate* +
_optional_||string(date-time)

View File

@@ -2,14 +2,6 @@
[[_securityscheme]]
== Security
[[_api_key]]
=== api_key
[%hardbreaks]
_Type_ : apiKey
_Name_ : api_key
_In_ : HEADER
[[_petstore_auth]]
=== petstore_auth
[%hardbreaks]
@@ -26,4 +18,12 @@ _Token URL_ : http://petstore.swagger.io/api/oauth/dialog
|===
[[_api_key]]
=== api_key
[%hardbreaks]
_Type_ : apiKey
_Name_ : api_key
_In_ : HEADER

View File

@@ -13,6 +13,8 @@ _optional_||integer(int64)
|*name* +
_optional_|The name of the category +
*Default* : `"DefaultCategory"` +
*Length* : `0 - 255` +
*Pattern* : `"[A-Za-zäöüÄÖÜß]{0,255}"` +
*Example* : `"FoobarCategory"`|string
|===
@@ -31,6 +33,8 @@ _optional_||integer(int64)
_optional_||integer(int64)
|*quantity* +
_optional_|*Default* : `0` +
*Minimum value* : `0.0` +
*Maximum value* : `10000.0` +
*Example* : `10`|integer(int32)
|*shipDate* +
_optional_||string(date-time)

View File

@@ -2,14 +2,6 @@
[[_securityscheme]]
== Security
[[_api_key]]
=== api_key
[%hardbreaks]
_Type_ : apiKey
_Name_ : api_key
_In_ : HEADER
[[_petstore_auth]]
=== petstore_auth
[%hardbreaks]
@@ -26,4 +18,12 @@ _Token URL_ : http://petstore.swagger.io/api/oauth/dialog
|===
[[_api_key]]
=== api_key
[%hardbreaks]
_Type_ : apiKey
_Name_ : api_key
_In_ : HEADER

View File

@@ -18,11 +18,9 @@ All endpoints are only accessible via https and are located at
`api.instagram.com`. For instance: you can grab the most popular photos at
the moment by accessing the following URL with your client ID
(replace CLIENT-ID with your own):
----
`
https://api.instagram.com/v1/media/popular?client_id=CLIENT-ID
----
`
You're best off using an access_token for the authenticated user for each
endpoint, though many endpoints don't require it.
In some cases an access_token will give you more access to information, and

View File

@@ -19,7 +19,7 @@ geography, use the https://instagram.com/developer/endpoints/media/[media search
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*geo-id* +
@@ -33,7 +33,7 @@ _optional_|Return media before this `min_id`.|integer|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|No Content
@@ -49,7 +49,7 @@ Search for a location by geographic coordinate.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Query*|*distance* +
@@ -74,7 +74,7 @@ _optional_|ongitude of the center search coordinate. If used, lat is required.|n
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_locations_search_get_response_200,Response 200>>
@@ -105,7 +105,7 @@ Get information about a location.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*location-id* +
@@ -115,7 +115,7 @@ _required_|Location ID|integer|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_locations_location-id_get_response_200,Response 200>>
@@ -146,7 +146,7 @@ Get a list of recent media objects from a given location.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*location-id* +
@@ -164,7 +164,7 @@ _optional_|Return media after this UNIX timestamp.|integer|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_locations_location-id_media_recent_get_response_200,Response 200>>
@@ -197,7 +197,7 @@ Can return mix of image and video types.
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_media_popular_get_response_200,Response 200>>
@@ -230,7 +230,7 @@ the last 5 days. Can return mix of image and video types.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Query*|*DISTANCE* +
@@ -250,7 +250,7 @@ this timestamp.|integer|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_media_search_get_response_200,Response 200>>
@@ -287,7 +287,7 @@ has liked this media item.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*media-id* +
@@ -297,7 +297,7 @@ _required_|The media ID|integer|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_media,Media>>
@@ -323,7 +323,7 @@ Create a comment on a media object with the following rules:
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*media-id* +
@@ -336,7 +336,7 @@ media-id.|number|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_media_media-id_comments_post_response_200,Response 200>>
@@ -389,7 +389,7 @@ Get a list of recent comments on a media object.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*media-id* +
@@ -399,7 +399,7 @@ _required_|Media ID|integer|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_media_media-id_comments_get_response_200,Response 200>>
@@ -443,7 +443,7 @@ authored by the authenticated user.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*media-id* +
@@ -453,7 +453,7 @@ _required_|Media ID|integer|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_media_media-id_comments_delete_response_200,Response 200>>
@@ -496,7 +496,7 @@ Set a like on this media by the currently authenticated user.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*media-id* +
@@ -506,7 +506,7 @@ _required_|Media ID|integer|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_media_media-id_likes_post_response_200,Response 200>>
@@ -558,7 +558,7 @@ Get a list of users who have liked this media.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*media-id* +
@@ -568,7 +568,7 @@ _required_|Media ID|integer|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_media_media-id_likes_get_response_200,Response 200>>
@@ -612,7 +612,7 @@ Remove a like on this media by the currently authenticated user.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*media-id* +
@@ -622,7 +622,7 @@ _required_|Media ID|integer|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_media_media-id_likes_delete_response_200,Response 200>>
@@ -669,7 +669,7 @@ Its corresponding shortcode is D.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*shortcode* +
@@ -679,7 +679,7 @@ _required_|The media shortcode|string|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_media,Media>>
@@ -696,7 +696,7 @@ _required_|The media shortcode|string|
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Query*|*q* +
@@ -706,7 +706,7 @@ _optional_|A valid tag name without a leading #. (eg. snowy, nofilter)|string|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_tags_search_get_response_200,Response 200>>
@@ -749,7 +749,7 @@ Get information about a tag object.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*tag-name* +
@@ -759,7 +759,7 @@ _required_|Tag name|string|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_tag,Tag>>
@@ -782,7 +782,7 @@ these objects.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*tag-name* +
@@ -792,7 +792,7 @@ _required_|Tag name|string|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_tags_tag-name_media_recent_get_response_200,Response 200>>
@@ -823,7 +823,7 @@ Search for a user by name.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Query*|*count* +
@@ -835,7 +835,7 @@ _required_|A query string|string|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_users_search_get_response_200,Response 200>>
@@ -866,7 +866,7 @@ See the authenticated user's feed.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Query*|*count* +
@@ -880,7 +880,7 @@ _optional_|Return media later than this min_id.|integer|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_users_self_feed_get_response_200,Response 200>>
@@ -914,7 +914,7 @@ available for the currently authenticated user.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Query*|*count* +
@@ -926,7 +926,7 @@ _optional_|Return media liked before this id.|integer|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_users_self_media_liked_get_response_200,Response 200>>
@@ -957,7 +957,7 @@ List the users who have requested this user's permission to follow.
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_users_self_requested-by_get_response_200,Response 200>>
@@ -1000,7 +1000,7 @@ Get basic information about a user.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*user-id* +
@@ -1010,7 +1010,7 @@ _required_|The user identifier number|number|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|The user object|<<_users_user-id_get_response_200,Response 200>>
@@ -1051,7 +1051,7 @@ Get the list of users this user is followed by.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*user-id* +
@@ -1061,7 +1061,7 @@ _required_|The user identifier number|number|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_users_user-id_followed-by_get_response_200,Response 200>>
@@ -1092,7 +1092,7 @@ Get the list of users this user follows.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*user-id* +
@@ -1102,7 +1102,7 @@ _required_|The user identifier number|number|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_users_user-id_follows_get_response_200,Response 200>>
@@ -1129,7 +1129,7 @@ _optional_||< <<_miniprofile,MiniProfile>> > array
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*user-id* +
@@ -1149,7 +1149,7 @@ _optional_|Return media after this UNIX timestamp.|integer|
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|Get the most recent media published by a user. To get the most recent
@@ -1182,7 +1182,7 @@ Modify the relationship between the current user and thetarget user.
==== Parameters
[options="header", cols=".^1,.^3,.^10,.^4,.^2"]
[options="header", cols=".^2,.^3,.^9,.^4,.^2"]
|===
|Type|Name|Description|Schema|Default
|*Path*|*user-id* +
@@ -1194,7 +1194,7 @@ _optional_|One of follow/unfollow/block/unblock/approve/ignore.|enum (follow, un
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_users_user-id_relationship_post_response_200,Response 200>>

View File

@@ -2,14 +2,6 @@
[[_securityscheme]]
== Security
[[_key]]
=== key
[%hardbreaks]
_Type_ : apiKey
_Name_ : access_token
_In_ : QUERY
[[_oauth]]
=== oauth
[%hardbreaks]
@@ -29,4 +21,12 @@ _Token URL_ : https://instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirec
|===
[[_key]]
=== key
[%hardbreaks]
_Type_ : apiKey
_Name_ : access_token
_In_ : QUERY

View File

@@ -74,7 +74,8 @@ _required_||string
_required_||string
|*packSize* +
_required_|the size of the pack the dog is from +
*Default* : `0`|integer(int32)
*Default* : `0` +
*Minimum value* : `0.0`|integer(int32)
|*petType* +
_required_||string
|===

View File

@@ -76,7 +76,8 @@ _required_||string
_required_||string
|*packSize* +
_required_|the size of the pack the dog is from +
*Default* : `0`|integer(int32)
*Default* : `0` +
*Minimum value* : `0.0`|integer(int32)
|===

View File

@@ -15,7 +15,7 @@ Get collections
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_collection,Collection>>
@@ -45,7 +45,7 @@ Get pets
==== Responses
[options="header", cols=".^1,.^15,.^4"]
[options="header", cols=".^2,.^14,.^4"]
|===
|HTTP Code|Description|Schema
|*200*|OK|<<_pet,Pet>>

View File

@@ -2,14 +2,6 @@
[[_securityscheme]]
== Security
[[_api_key]]
=== api_key
[%hardbreaks]
_Type_ : apiKey
_Name_ : api_key
_In_ : HEADER
[[_petstore_auth]]
=== petstore_auth
[%hardbreaks]
@@ -26,4 +18,12 @@ _Token URL_ : http://petstore.swagger.io/api/oauth/dialog
|===
[[_api_key]]
=== api_key
[%hardbreaks]
_Type_ : apiKey
_Name_ : api_key
_In_ : HEADER

View File

@@ -1305,6 +1305,8 @@ _optional_|*Example* : `0`|integer(int64)
|*name* +
_optional_|The name of the category +
*Default* : `"DefaultCategory"` +
*Length* : `0 - 255` +
*Pattern* : `"[A-Za-zäöüÄÖÜß]{0,255}"` +
*Example* : `"FoobarCategory"`|string
|===
@@ -1323,6 +1325,8 @@ _optional_|*Example* : `0`|integer(int64)
_optional_|*Example* : `0`|integer(int64)
|*quantity* +
_optional_|*Default* : `0` +
*Minimum value* : `0.0` +
*Maximum value* : `10000.0` +
*Example* : `10`|integer(int32)
|*shipDate* +
_optional_|*Example* : `"string"`|string(date-time)
@@ -1398,14 +1402,6 @@ _optional_|*Example* : `"string"`|string
[[_securityscheme]]
== Security
[[_api_key]]
=== api_key
[%hardbreaks]
_Type_ : apiKey
_Name_ : api_key
_In_ : HEADER
[[_petstore_auth]]
=== petstore_auth
[%hardbreaks]
@@ -1422,4 +1418,12 @@ _Token URL_ : http://petstore.swagger.io/api/oauth/dialog
|===
[[_api_key]]
=== api_key
[%hardbreaks]
_Type_ : apiKey
_Name_ : api_key
_In_ : HEADER

View File

@@ -8,7 +8,7 @@
|Name|Description|Schema|
|---|---|---|
|**id** <br>*optional*||integer(int64)|
|**name** <br>*optional*|The name of the category <br>**Default** : `"DefaultCategory"` <br>**Example** : `"FoobarCategory"`|string|
|**name** <br>*optional*|The name of the category <br>**Default** : `"DefaultCategory"` <br>**Length** : `0 - 255` <br>**Pattern** : `"[A-Za-zäöüÄÖÜß]{0,255}"` <br>**Example** : `"FoobarCategory"`|string|
<a name="order"></a>
@@ -19,7 +19,7 @@
|**complete** <br>*optional*||boolean|
|**id** <br>*optional*||integer(int64)|
|**petId** <br>*optional*||integer(int64)|
|**quantity** <br>*optional*|**Default** : `0` <br>**Example** : `10`|integer(int32)|
|**quantity** <br>*optional*|**Default** : `0` <br>**Minimum value** : `0.0` <br>**Maximum value** : `10000.0` <br>**Example** : `10`|integer(int32)|
|**shipDate** <br>*optional*||string(date-time)|
|**status** <br>*optional*|Order Status|enum (Ordered, Cancelled)|

View File

@@ -2,13 +2,6 @@
<a name="securityscheme"></a>
## Security
<a name="api_key"></a>
### api_key
*Type* : apiKey
*Name* : api_key
*In* : HEADER
<a name="petstore_auth"></a>
### petstore_auth
*Type* : oauth2
@@ -22,4 +15,11 @@
|read_pets|read your pets|
<a name="api_key"></a>
### api_key
*Type* : apiKey
*Name* : api_key
*In* : HEADER

View File

@@ -8,7 +8,7 @@
|Name|Description|Schema|
|---|---|---|
|**id** <br>*optional*||integer(int64)|
|**name** <br>*optional*|The name of the category <br>**Default** : `"DefaultCategory"` <br>**Example** : `"FoobarCategory"`|string|
|**name** <br>*optional*|The name of the category <br>**Default** : `"DefaultCategory"` <br>**Length** : `0 - 255` <br>**Pattern** : `"[A-Za-zäöüÄÖÜß]{0,255}"` <br>**Example** : `"FoobarCategory"`|string|
<a name="order"></a>
@@ -19,7 +19,7 @@
|**complete** <br>*optional*||boolean|
|**id** <br>*optional*||integer(int64)|
|**petId** <br>*optional*||integer(int64)|
|**quantity** <br>*optional*|**Default** : `0` <br>**Example** : `10`|integer(int32)|
|**quantity** <br>*optional*|**Default** : `0` <br>**Minimum value** : `0.0` <br>**Maximum value** : `10000.0` <br>**Example** : `10`|integer(int32)|
|**shipDate** <br>*optional*||string(date-time)|
|**status** <br>*optional*|Order Status|enum (Ordered, Cancelled)|

View File

@@ -2,13 +2,6 @@
<a name="securityscheme"></a>
## Security
<a name="api_key"></a>
### api_key
*Type* : apiKey
*Name* : api_key
*In* : HEADER
<a name="petstore_auth"></a>
### petstore_auth
*Type* : oauth2
@@ -22,4 +15,11 @@
|read_pets|read your pets|
<a name="api_key"></a>
### api_key
*Type* : apiKey
*Name* : api_key
*In* : HEADER

View File

@@ -2,13 +2,6 @@
<a name="securityscheme"></a>
## Security
<a name="api_key"></a>
### api_key
*Type* : apiKey
*Name* : api_key
*In* : HEADER
<a name="petstore_auth"></a>
### petstore_auth
*Type* : oauth2
@@ -22,4 +15,11 @@
|read_pets|read your pets|
<a name="api_key"></a>
### api_key
*Type* : apiKey
*Name* : api_key
*In* : HEADER