mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-07 13:44:54 +03:00
chore: improve demo
This commit is contained in:
parent
6acdba5f7b
commit
d525e6d289
|
@ -61,6 +61,8 @@ externalDocs:
|
|||
tags:
|
||||
- name: pet
|
||||
description: Everything about your Pets
|
||||
- name: webhooks
|
||||
description: Everything about your Webhooks
|
||||
- name: store
|
||||
description: Access to Petstore orders
|
||||
- name: user
|
||||
|
@ -78,6 +80,7 @@ x-tagGroups:
|
|||
tags:
|
||||
- pet
|
||||
- store
|
||||
- webhooks
|
||||
- name: User Management
|
||||
tags:
|
||||
- user
|
||||
|
@ -896,13 +899,13 @@ paths:
|
|||
description: successful operation
|
||||
components:
|
||||
pathItems:
|
||||
catsWebhook:
|
||||
webhooks:
|
||||
put:
|
||||
summary: Get a cat details after update
|
||||
description: Get a cat details after update
|
||||
operationId: updatedCat
|
||||
tags:
|
||||
- pet
|
||||
- webhooks
|
||||
requestBody:
|
||||
description: Information about cat in the system
|
||||
content:
|
||||
|
@ -917,7 +920,7 @@ components:
|
|||
description: Info about new cat
|
||||
operationId: createdCat
|
||||
tags:
|
||||
- pet
|
||||
- webhooks
|
||||
requestBody:
|
||||
description: Information about cat in the system
|
||||
content:
|
||||
|
@ -1231,7 +1234,7 @@ webhooks:
|
|||
description: Information about a new pet in the systems
|
||||
operationId: newPet
|
||||
tags:
|
||||
- pet
|
||||
- webhooks
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
|
@ -1241,6 +1244,6 @@ webhooks:
|
|||
"200":
|
||||
description: Return a 200 status to indicate that the data was received successfully
|
||||
myWebhook:
|
||||
$ref: '#/components/pathItems/catsWebhook'
|
||||
$ref: '#/components/pathItems/webhooks'
|
||||
description: Overriding description
|
||||
summary: Overriding summary
|
|
@ -6,7 +6,7 @@ describe('Menu', () => {
|
|||
it('should have valid items count', () => {
|
||||
cy.get('.menu-content')
|
||||
.find('li')
|
||||
.should('have.length', 36);
|
||||
.should('have.length', 37);
|
||||
});
|
||||
|
||||
it('should sync active menu items while scroll', () => {
|
||||
|
|
|
@ -14,7 +14,7 @@ Object {
|
|||
},
|
||||
},
|
||||
"pathItems": Object {
|
||||
"catsWebhook": Object {
|
||||
"webhooks": Object {
|
||||
"post": Object {
|
||||
"description": "Info about new cat",
|
||||
"operationId": "createdCat",
|
||||
|
@ -35,7 +35,7 @@ Object {
|
|||
},
|
||||
"summary": "Create new cat",
|
||||
"tags": Array [
|
||||
"pet",
|
||||
"webhooks",
|
||||
],
|
||||
},
|
||||
"put": Object {
|
||||
|
@ -58,7 +58,7 @@ Object {
|
|||
},
|
||||
"summary": "Get a cat details after update",
|
||||
"tags": Array [
|
||||
"pet",
|
||||
"webhooks",
|
||||
],
|
||||
},
|
||||
},
|
||||
|
@ -1784,6 +1784,10 @@ culpa qui officia deserunt mollit anim id est laborum.
|
|||
"description": "Everything about your Pets",
|
||||
"name": "pet",
|
||||
},
|
||||
Object {
|
||||
"description": "Everything about your Webhooks",
|
||||
"name": "webhooks",
|
||||
},
|
||||
Object {
|
||||
"description": "Access to Petstore orders",
|
||||
"name": "store",
|
||||
|
@ -1807,7 +1811,7 @@ culpa qui officia deserunt mollit anim id est laborum.
|
|||
],
|
||||
"webhooks": Object {
|
||||
"myWebhook": Object {
|
||||
"$ref": "#/components/pathItems/catsWebhook",
|
||||
"$ref": "#/components/pathItems/webhooks",
|
||||
"description": "Overriding description",
|
||||
"summary": "Overriding summary",
|
||||
},
|
||||
|
@ -1831,7 +1835,7 @@ culpa qui officia deserunt mollit anim id est laborum.
|
|||
},
|
||||
"summary": "New pet",
|
||||
"tags": Array [
|
||||
"pet",
|
||||
"webhooks",
|
||||
],
|
||||
},
|
||||
},
|
||||
|
@ -1842,6 +1846,7 @@ culpa qui officia deserunt mollit anim id est laborum.
|
|||
"tags": Array [
|
||||
"pet",
|
||||
"store",
|
||||
"webhooks",
|
||||
],
|
||||
},
|
||||
Object {
|
||||
|
|
Loading…
Reference in New Issue
Block a user