Skip to content
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

OpenAPI 3.x.y: Server.url can be defined as template for Server Variables #2858

Closed
char0n opened this issue Jun 15, 2023 · 0 comments
Closed
Assignees
Labels

Comments

@char0n
Copy link
Member

char0n commented Jun 15, 2023

We always validate the Server.url as with apilintValidURI linting rule. That is not correct.

The goal of this issue is to validate Server.url as valid URL only if variable substitutions are not defined.

image

@char0n char0n self-assigned this Jun 15, 2023
char0n added a commit that referenced this issue Jun 20, 2023
Server.url field in not validated as URL if it
contains {variables} inside it.

Refs #2858
char0n added a commit that referenced this issue Jun 20, 2023
Server.url field in not validated as URL if it
contains {variables} inside it.

Refs #2858
@char0n char0n closed this as completed Jun 20, 2023
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