SchemaStore.nvim icon indicating copy to clipboard operation
SchemaStore.nvim copied to clipboard

OpenAPI schemas

Open Szeliga opened this issue 1 year ago • 2 comments

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?

Szeliga avatar Jul 26 '23 09:07 Szeliga

They should be in the catalog already: https://github.com/b0o/SchemaStore.nvim/blob/10da9da3619b6fdef40e2b9a25f5d14fe24fcf84/lua/schemastore/catalog.lua#L2717-L2724

b0o avatar Jul 26 '23 22:07 b0o

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

Does fileMatch support glob patterns?

Szeliga avatar Jul 27 '23 06:07 Szeliga