diff --git a/library/src/helpers/__tests__/schema.test.ts b/library/src/helpers/__tests__/schema.test.ts index aaa5b6f7..63767499 100644 --- a/library/src/helpers/__tests__/schema.test.ts +++ b/library/src/helpers/__tests__/schema.test.ts @@ -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(); }); diff --git a/playground/specs/dummy.ts b/playground/specs/dummy.ts index 2ae74ebf..e5e748ef 100644 --- a/playground/specs/dummy.ts +++ b/playground/specs/dummy.ts @@ -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: diff --git a/playground/specs/streetlights.ts b/playground/specs/streetlights.ts index 519aa26d..58ab8fb5 100644 --- a/playground/specs/streetlights.ts +++ b/playground/specs/streetlights.ts @@ -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: