Skip to content

OAS3.x.x Overlapping semantic tokens #2249

Open
@tim-lai

Description

@tim-lai

Q&A (please complete the following information)

  • OS: macOS
  • Browser: chrome
  • ApiDOM version: 0.56.0. However it has been present for at least a couple recent releases.
  • Swagger-Editor version: v5.0.0-alpha.33.
  • Swagger/OpenAPI version: any OpenAPI 3.x.x

Describe the bug you're encountering

semanticTokensProviderStyling.js:104 Overlapping semantic tokens detected at lineNumber 1, column 1

To reproduce...

Steps to reproduce the behavior:

  1. Go to editor-next.swagger.io, and the default AsyncAPI 2.5 Streetlights fixture
  2. Click on 'OpenAPI 3.0 Petstore Fixture' and/or 'OpenAPI 3.1 Fixture'
  3. Open dev tools and see the console warning
  4. If the definition is already set to 'OpenAPI 3.0 Petstore Fixture' or 'OpenAPI 3.1 Fixture', a browser refresh will also generate this warning.

Expected behavior

No warnings.

Screenshots

Additional context or thoughts

Switching to AsyncAPI fixture does not generate a warning. Browser refresh if AsyncAPI Streetlights Fixture is present does not generate a warning.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions