chore: simplify demo spec

This commit is contained in:
Roman Hotsiy 2019-07-29 13:12:30 +03:00
parent 00a0abf4a4
commit 7883fad333
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
2 changed files with 3 additions and 15 deletions

View File

@ -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

View File

@ -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', () => {