Skip to content

Commit

Permalink
Merge branch 'asyncapi:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Manancode authored Oct 16, 2024
2 parents 48d39e2 + d7548c9 commit f6a93a5
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 22 deletions.
14 changes: 2 additions & 12 deletions library/src/helpers/__tests__/schema.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -896,21 +896,11 @@ describe('SchemaHelpers', () => {

test('should not render title because title is undefined', () => {
expect(
SchemaHelpers.applicatorSchemaName(
0,
FIRST_CASE,
OTHER_CASES,
undefined,
),
SchemaHelpers.applicatorSchemaName(0, FIRST_CASE, OTHER_CASES),
).toMatchSnapshot();

expect(
SchemaHelpers.applicatorSchemaName(
1,
FIRST_CASE,
OTHER_CASES,
undefined,
),
SchemaHelpers.applicatorSchemaName(1, FIRST_CASE, OTHER_CASES),
).toMatchSnapshot();
});

Expand Down
10 changes: 5 additions & 5 deletions playground/specs/dummy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,18 @@ channels:
Still dummy though.
operationId: receiveNewDummyInfo
tags:
- name: oparation-tag1
- name: operation-tag1
externalDocs:
description: External docs description 1
url: https://www.asyncapi.com/
- name: oparation-tag2
- name: operation-tag2
description: Description 2
externalDocs:
url: "https://www.asyncapi.com/"
- name: oparation-tag3
- name: oparation-tag4
- name: operation-tag3
- name: operation-tag4
description: Description 4
- name: oparation-tag5
- name: operation-tag5
externalDocs:
url: "https://www.asyncapi.com/"
traits:
Expand Down
10 changes: 5 additions & 5 deletions playground/specs/streetlights.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,18 +286,18 @@ components:
externalDocs:
url: "https://www.asyncapi.com/"
tags:
- name: oparation-tag1
- name: operation-tag1
externalDocs:
description: External docs description 1
url: https://www.asyncapi.com/
- name: oparation-tag2
- name: operation-tag2
description: Description 2
externalDocs:
url: "https://www.asyncapi.com/"
- name: oparation-tag3
- name: oparation-tag4
- name: operation-tag3
- name: operation-tag4
description: Description 4
- name: oparation-tag5
- name: operation-tag5
externalDocs:
url: "https://www.asyncapi.com/"
traits:
Expand Down

0 comments on commit f6a93a5

Please sign in to comment.