mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-29 03:53:43 +03:00
chore: update demo bundle for v2.0.0-rc.69
This commit is contained in:
parent
063e25ccc1
commit
823e7425f0
|
@ -93,7 +93,7 @@ paths:
|
||||||
parameters:
|
parameters:
|
||||||
- name: Accept-Language
|
- name: Accept-Language
|
||||||
in: header
|
in: header
|
||||||
description: "The language you prefer for messages. Supported values are en-AU, en-CA, en-GB, en-US"
|
description: 'The language you prefer for messages. Supported values are en-AU, en-CA, en-GB, en-US'
|
||||||
example: en-US
|
example: en-US
|
||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
|
@ -182,6 +182,16 @@ paths:
|
||||||
}
|
}
|
||||||
requestBody:
|
requestBody:
|
||||||
$ref: '#/components/requestBodies/Pet'
|
$ref: '#/components/requestBodies/Pet'
|
||||||
|
delete:
|
||||||
|
tags:
|
||||||
|
- pet
|
||||||
|
summary: OperationId with quotes
|
||||||
|
operationId: deletePetBy"Id
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- pet
|
||||||
|
summary: OperationId with backslash
|
||||||
|
operationId: delete\PetById
|
||||||
'/pet/{petId}':
|
'/pet/{petId}':
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
|
@ -259,7 +269,7 @@ paths:
|
||||||
required: false
|
required: false
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
example: "Bearer <TOKEN>"
|
example: 'Bearer <TOKEN>'
|
||||||
- name: petId
|
- name: petId
|
||||||
in: path
|
in: path
|
||||||
description: Pet id to delete
|
description: Pet id to delete
|
||||||
|
@ -295,6 +305,9 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
unevaluatedProperties:
|
||||||
|
type: integer
|
||||||
|
format: int32
|
||||||
$ref: '#/components/schemas/ApiResponse'
|
$ref: '#/components/schemas/ApiResponse'
|
||||||
security:
|
security:
|
||||||
- petstore_auth:
|
- petstore_auth:
|
||||||
|
@ -432,7 +445,7 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
example:
|
example:
|
||||||
status: 400
|
status: 400
|
||||||
message: "Invalid Order"
|
message: 'Invalid Order'
|
||||||
requestBody:
|
requestBody:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
|
@ -533,6 +546,20 @@ paths:
|
||||||
subscriptionId:
|
subscriptionId:
|
||||||
type: string
|
type: string
|
||||||
example: AAA-123-BBB-456
|
example: AAA-123-BBB-456
|
||||||
|
'200':
|
||||||
|
description: Successful operation
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: array
|
||||||
|
maxItems: 999
|
||||||
|
minItems: 0
|
||||||
|
items:
|
||||||
|
type: array
|
||||||
|
maxItems: 777
|
||||||
|
minItems: 111
|
||||||
|
items:
|
||||||
|
type: number
|
||||||
callbacks:
|
callbacks:
|
||||||
orderInProgress:
|
orderInProgress:
|
||||||
'{$request.body#/callbackUrl}?event={$request.body#/eventName}':
|
'{$request.body#/callbackUrl}?event={$request.body#/eventName}':
|
||||||
|
@ -880,11 +907,11 @@ paths:
|
||||||
type: string
|
type: string
|
||||||
examples:
|
examples:
|
||||||
response:
|
response:
|
||||||
value: <Message> OK </Message>
|
value: <Message> OK </Message>
|
||||||
text/plain:
|
text/plain:
|
||||||
examples:
|
examples:
|
||||||
response:
|
response:
|
||||||
value: OK
|
value: OK
|
||||||
'400':
|
'400':
|
||||||
description: Invalid username/password supplied
|
description: Invalid username/password supplied
|
||||||
/user/logout:
|
/user/logout:
|
||||||
|
@ -911,7 +938,7 @@ components:
|
||||||
content:
|
content:
|
||||||
multipart/form-data:
|
multipart/form-data:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Cat"
|
$ref: '#/components/schemas/Cat'
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: update Cat details
|
description: update Cat details
|
||||||
|
@ -926,7 +953,7 @@ components:
|
||||||
content:
|
content:
|
||||||
multipart/form-data:
|
multipart/form-data:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Cat"
|
$ref: '#/components/schemas/Cat'
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: create Cat details
|
description: create Cat details
|
||||||
|
@ -1059,8 +1086,8 @@ components:
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
externalDocs:
|
externalDocs:
|
||||||
description: "Find more info here"
|
description: 'Find more info here'
|
||||||
url: "https://example.com"
|
url: 'https://example.com'
|
||||||
description: Pet ID
|
description: Pet ID
|
||||||
$ref: '#/components/schemas/Id'
|
$ref: '#/components/schemas/Id'
|
||||||
category:
|
category:
|
||||||
|
@ -1166,6 +1193,11 @@ components:
|
||||||
description: User status
|
description: User status
|
||||||
type: integer
|
type: integer
|
||||||
format: int32
|
format: int32
|
||||||
|
image:
|
||||||
|
description: User image
|
||||||
|
type: string
|
||||||
|
contentEncoding: base64
|
||||||
|
contentMediaType: image/png
|
||||||
xml:
|
xml:
|
||||||
name: User
|
name: User
|
||||||
requestBodies:
|
requestBodies:
|
||||||
|
@ -1232,11 +1264,11 @@ webhooks:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/Pet"
|
$ref: '#/components/schemas/Pet'
|
||||||
responses:
|
responses:
|
||||||
"200":
|
'200':
|
||||||
description: Return a 200 status to indicate that the data was received successfully
|
description: Return a 200 status to indicate that the data was received successfully
|
||||||
myWebhook:
|
myWebhook:
|
||||||
$ref: '#/components/pathItems/webhooks'
|
$ref: '#/components/pathItems/webhooks'
|
||||||
description: Overriding description
|
description: Overriding description
|
||||||
summary: Overriding summary
|
summary: Overriding summary
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user