wework / speccy

Well Spectually 🤓 Enforce quality rules on your OpenAPI 3.0.x specifications.
http://speccy.io
MIT License
825 stars 78 forks source link

Support for ignoring external $ref pointers #370

Open noc7c9 opened 4 years ago

noc7c9 commented 4 years ago

Detailed description

Is it possible to $ref pointers to external schemas to be ignored during the resolving phase?

Context

We have a few references to external schemas that we don't really care about linting and in this case they don't actually exist yet so the resolution fails.

philsturgeon commented 4 years ago

Looks like --internal-options is the way to go, its just not documented. https://github.com/wework/speccy/issues/373

Maybe you could close this issue, and make a PR adding it to the docs, which will also close #373 if anyone gets around to merging it.

noc7c9 commented 4 years ago

Sorry of the delay in responding to this. Unfortunately I'm not sure when I'll be able to look into this as I've moved onto other projects in the meantime. I intend to come back to this eventually, but it might be some time.