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

View File

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