forked from loafle/openapi-generator-original
Add python-experimental-openapiv3-sample (#4992)
Add python-experimental-openapiv3-sample Add missing files for the Python samples Add python-experimental-petstore.bat for openapi v3 Add python-experimental samples openapi v3 Add python-experimental samples openapi v3 Add python-experimental samples openapi v3. Address review comments add missing files for test purpose fix python formatting issues fix python formatting issues fix python formatting issues Fix unit tests fix python formatting issues fix python formatting issues fix python formatting issues fix 'line too long' pep8 error address PR comments for pep8 'line too long' problem regenerate samples execute samples scripts dummy commit to retrigger circleci Revert dummy commit, it didn't help.
This commit is contained in:
committed by
William Cheng
parent
95bd32d474
commit
63859d6d51
@@ -26,7 +26,7 @@ paths:
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/Pet'
|
||||
responses:
|
||||
405:
|
||||
"405":
|
||||
description: Invalid input
|
||||
security:
|
||||
- petstore_auth:
|
||||
@@ -41,11 +41,11 @@ paths:
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/Pet'
|
||||
responses:
|
||||
400:
|
||||
"400":
|
||||
description: Invalid ID supplied
|
||||
404:
|
||||
"404":
|
||||
description: Pet not found
|
||||
405:
|
||||
"405":
|
||||
description: Validation exception
|
||||
security:
|
||||
- petstore_auth:
|
||||
@@ -76,7 +76,7 @@ paths:
|
||||
type: array
|
||||
style: form
|
||||
responses:
|
||||
200:
|
||||
"200":
|
||||
content:
|
||||
application/xml:
|
||||
schema:
|
||||
@@ -89,7 +89,7 @@ paths:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
type: array
|
||||
description: successful operation
|
||||
400:
|
||||
"400":
|
||||
description: Invalid status value
|
||||
security:
|
||||
- petstore_auth:
|
||||
@@ -116,7 +116,7 @@ paths:
|
||||
type: array
|
||||
style: form
|
||||
responses:
|
||||
200:
|
||||
"200":
|
||||
content:
|
||||
application/xml:
|
||||
schema:
|
||||
@@ -129,7 +129,7 @@ paths:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
type: array
|
||||
description: successful operation
|
||||
400:
|
||||
"400":
|
||||
description: Invalid tag value
|
||||
security:
|
||||
- petstore_auth:
|
||||
@@ -159,7 +159,7 @@ paths:
|
||||
type: integer
|
||||
style: simple
|
||||
responses:
|
||||
400:
|
||||
"400":
|
||||
description: Invalid pet value
|
||||
security:
|
||||
- petstore_auth:
|
||||
@@ -183,7 +183,7 @@ paths:
|
||||
type: integer
|
||||
style: simple
|
||||
responses:
|
||||
200:
|
||||
"200":
|
||||
content:
|
||||
application/xml:
|
||||
schema:
|
||||
@@ -192,9 +192,9 @@ paths:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
description: successful operation
|
||||
400:
|
||||
"400":
|
||||
description: Invalid ID supplied
|
||||
404:
|
||||
"404":
|
||||
description: Pet not found
|
||||
security:
|
||||
- api_key: []
|
||||
@@ -228,7 +228,7 @@ paths:
|
||||
type: string
|
||||
type: object
|
||||
responses:
|
||||
405:
|
||||
"405":
|
||||
description: Invalid input
|
||||
security:
|
||||
- petstore_auth:
|
||||
@@ -266,7 +266,7 @@ paths:
|
||||
type: string
|
||||
type: object
|
||||
responses:
|
||||
200:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
@@ -285,7 +285,7 @@ paths:
|
||||
description: Returns a map of status codes to quantities
|
||||
operationId: get_inventory
|
||||
responses:
|
||||
200:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
@@ -311,7 +311,7 @@ paths:
|
||||
description: order placed for purchasing the pet
|
||||
required: true
|
||||
responses:
|
||||
200:
|
||||
"200":
|
||||
content:
|
||||
application/xml:
|
||||
schema:
|
||||
@@ -320,7 +320,7 @@ paths:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Order'
|
||||
description: successful operation
|
||||
400:
|
||||
"400":
|
||||
description: Invalid Order
|
||||
summary: Place an order for a pet
|
||||
tags:
|
||||
@@ -341,9 +341,9 @@ paths:
|
||||
type: string
|
||||
style: simple
|
||||
responses:
|
||||
400:
|
||||
"400":
|
||||
description: Invalid ID supplied
|
||||
404:
|
||||
"404":
|
||||
description: Order not found
|
||||
summary: Delete purchase order by ID
|
||||
tags:
|
||||
@@ -366,7 +366,7 @@ paths:
|
||||
type: integer
|
||||
style: simple
|
||||
responses:
|
||||
200:
|
||||
"200":
|
||||
content:
|
||||
application/xml:
|
||||
schema:
|
||||
@@ -375,9 +375,9 @@ paths:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Order'
|
||||
description: successful operation
|
||||
400:
|
||||
"400":
|
||||
description: Invalid ID supplied
|
||||
404:
|
||||
"404":
|
||||
description: Order not found
|
||||
summary: Find purchase order by ID
|
||||
tags:
|
||||
@@ -453,7 +453,7 @@ paths:
|
||||
type: string
|
||||
style: form
|
||||
responses:
|
||||
200:
|
||||
"200":
|
||||
content:
|
||||
application/xml:
|
||||
schema:
|
||||
@@ -485,7 +485,7 @@ paths:
|
||||
format: date-time
|
||||
type: string
|
||||
style: simple
|
||||
400:
|
||||
"400":
|
||||
description: Invalid username/password supplied
|
||||
summary: Logs user into the system
|
||||
tags:
|
||||
@@ -517,9 +517,9 @@ paths:
|
||||
type: string
|
||||
style: simple
|
||||
responses:
|
||||
400:
|
||||
"400":
|
||||
description: Invalid username supplied
|
||||
404:
|
||||
"404":
|
||||
description: User not found
|
||||
security:
|
||||
- auth_cookie: []
|
||||
@@ -539,7 +539,7 @@ paths:
|
||||
type: string
|
||||
style: simple
|
||||
responses:
|
||||
200:
|
||||
"200":
|
||||
content:
|
||||
application/xml:
|
||||
schema:
|
||||
@@ -548,9 +548,9 @@ paths:
|
||||
schema:
|
||||
$ref: '#/components/schemas/User'
|
||||
description: successful operation
|
||||
400:
|
||||
"400":
|
||||
description: Invalid username supplied
|
||||
404:
|
||||
"404":
|
||||
description: User not found
|
||||
summary: Get user by user name
|
||||
tags:
|
||||
@@ -576,9 +576,9 @@ paths:
|
||||
description: Updated user object
|
||||
required: true
|
||||
responses:
|
||||
400:
|
||||
"400":
|
||||
description: Invalid user supplied
|
||||
404:
|
||||
"404":
|
||||
description: User not found
|
||||
security:
|
||||
- auth_cookie: []
|
||||
|
||||
Reference in New Issue
Block a user