Skip to content

OpenAPI 3.0.x language server completion rules #2090

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

Merged
merged 3 commits into from
Sep 30, 2022

Conversation

char0n
Copy link
Member

@char0n char0n commented Sep 30, 2022

Rules are implemented for following specification objects

  • Server Object
  • Server Variable Object

Refs #2033

Currently we only support OpenAPI 3.1.0 and 3.0.x versions.
Every rule (documentation, completion, linting) that is not
explicitly annotated with targetSpec is assumed to be the same
for both specification versions.

If in future, we introduce OpenAPI 2.0, we would first need
to annotate all the common rules explicitly with union
targetSpecs of OpenAPI 3.1.0 and 3.0.x.
@char0n char0n self-assigned this Sep 30, 2022
@char0n char0n added enhancement New feature or request ApiDOM OpenApi 3.0 labels Sep 30, 2022
@char0n char0n merged commit 03e6b97 into main Sep 30, 2022
@char0n char0n deleted the char0n/ls-openapi-3-0-lint-rules-1 branch September 30, 2022 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant