mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 00:26:34 +03:00
chore: simplify demo spec
This commit is contained in:
parent
00a0abf4a4
commit
7883fad333
|
@ -58,21 +58,9 @@ externalDocs:
|
|||
url: 'https://github.com/Rebilly/generator-openapi-repo'
|
||||
tags:
|
||||
- name: pet
|
||||
description: |
|
||||
Everything about your Pets
|
||||
|
||||
## The Pet Object
|
||||
|
||||
<object-description schemaRef="#/components/schemas/Pet" />
|
||||
|
||||
description: Everything about your Pets
|
||||
- name: store
|
||||
description: |
|
||||
Access to Petstore orders
|
||||
|
||||
## The Order Object
|
||||
|
||||
<object-description schemaRef="#/components/schemas/Order" examplesRef="#/components/examples/Order" />
|
||||
|
||||
description: Access to Petstore orders
|
||||
- name: user
|
||||
description: Operations about user
|
||||
- name: pet_model
|
||||
|
|
|
@ -6,7 +6,7 @@ describe('Menu', () => {
|
|||
it('should have valid items count', () => {
|
||||
cy.get('.menu-content')
|
||||
.find('li')
|
||||
.should('have.length', 6 + (2 + 8 + 1 + 4 + 1 + 1 + 2) + (1 + 8));
|
||||
.should('have.length', 6 + (2 + 8 + 1 + 4 + 2) + (1 + 8));
|
||||
});
|
||||
|
||||
it('should sync active menu items while scroll', () => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user