mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-10 19:06: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'
|
url: 'https://github.com/Rebilly/generator-openapi-repo'
|
||||||
tags:
|
tags:
|
||||||
- name: pet
|
- name: pet
|
||||||
description: |
|
description: Everything about your Pets
|
||||||
Everything about your Pets
|
|
||||||
|
|
||||||
## The Pet Object
|
|
||||||
|
|
||||||
<object-description schemaRef="#/components/schemas/Pet" />
|
|
||||||
|
|
||||||
- name: store
|
- name: store
|
||||||
description: |
|
description: Access to Petstore orders
|
||||||
Access to Petstore orders
|
|
||||||
|
|
||||||
## The Order Object
|
|
||||||
|
|
||||||
<object-description schemaRef="#/components/schemas/Order" examplesRef="#/components/examples/Order" />
|
|
||||||
|
|
||||||
- name: user
|
- name: user
|
||||||
description: Operations about user
|
description: Operations about user
|
||||||
- name: pet_model
|
- name: pet_model
|
||||||
|
|
|
@ -6,7 +6,7 @@ describe('Menu', () => {
|
||||||
it('should have valid items count', () => {
|
it('should have valid items count', () => {
|
||||||
cy.get('.menu-content')
|
cy.get('.menu-content')
|
||||||
.find('li')
|
.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', () => {
|
it('should sync active menu items while scroll', () => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user