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 schemas #18

Open
Szeliga opened this issue Jul 26, 2023 · 2 comments
Open

OpenAPI schemas #18

Szeliga opened this issue Jul 26, 2023 · 2 comments
Labels
question Further information is requested

Comments

@Szeliga
Copy link

Szeliga commented Jul 26, 2023

Hello, I noticed that openapi 3.0 and 3.1 schemas are missing. Would it be as simple as adding the files from https://github.com/OAI/OpenAPI-Specification/tree/main/schemas to the repo?

@b0o
Copy link
Owner

b0o commented Jul 26, 2023

They should be in the catalog already:

description = "A JSON schema for Open API documentation files",
fileMatch = { "openapi.json", "openapi.yml", "openapi.yaml" },
name = "openapi.json",
url = "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json",
versions = {
["3.0"] = "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.0/schema.json",
["3.1"] = "https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json"
}

@Szeliga
Copy link
Author

Szeliga commented Jul 27, 2023

Ahh interesting. so the fileMatch table doesn't cover my file naming. I have openapi-foo-bar.yml.

Does fileMatch support glob patterns?

@b0o b0o added the question Further information is requested label Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants