Skip to content

Commit

Permalink
chore: simplify demo spec
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Jul 29, 2019
1 parent 00a0abf commit 7883fad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
16 changes: 2 additions & 14 deletions demo/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion e2e/integration/menu.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit 7883fad

Please sign in to comment.