-
Notifications
You must be signed in to change notification settings - Fork 2
feat: support fine-grained quirks mode #102
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
Conversation
| boolean | ||
| >; | ||
|
|
||
| export const DEFAULT_CONFIG: Config = new Map([ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the plan to use this? Does it allow us to to enable an error and fix it one by one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my new commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't quite finished with the PR
tuan-pham
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| for (const [key, value] of Object.entries(this.#oas.info)) { | ||
| if (key.startsWith("x-opc-config-")) { | ||
| this.#config.set(key.substring(13), value); | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tuan-pham I got distracted and didn't get around to committing this.
See https://swagger.io/docs/specification/v3_0/openapi-extensions/
No description provided.