Skip to content

apidom-ls: AsyncAPI 2.x Reference Object optimization #2261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks
char0n opened this issue Nov 9, 2022 · 0 comments
Open
2 tasks

apidom-ls: AsyncAPI 2.x Reference Object optimization #2261

char0n opened this issue Nov 9, 2022 · 0 comments
Labels

Comments

@char0n
Copy link
Member

char0n commented Nov 9, 2022

The scope of this issue is to apply the same pattern we use for OpenAPI 3.x.y spec. All the completion, documentation and linting is concentrated in one place, instead of duplicating it in every spec object that can support referencing.

Here is a way how this is implemented in the OpenAPI 3.x.y spec - https://github.com/swagger-api/apidom/tree/0b0fbf3669fc204fbddebd0cb161af9c6291620d/packages/apidom-ls/src/config/openapi/reference

TODO:

  • Optimize the usage of Reference Object
  • $ref--valid rule name should be $ref--format-uri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant