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

Add support for OAS 3.1.x in validator #200

Open
derevnjuk opened this issue Feb 28, 2023 · 0 comments · May be fixed by #202
Open

Add support for OAS 3.1.x in validator #200

derevnjuk opened this issue Feb 28, 2023 · 0 comments · May be fixed by #202
Assignees
Labels
Type: enhancement New feature or request.

Comments

@derevnjuk
Copy link
Member

Description
Add support for OAS 3.1, this would allow validating API specifications that use the new features and improvements, such as callbacks and improved content negotiation.

Possible solution
The @har-sdk/validator can be updated to recognize the new syntax and semantics introduced in OAS 3.1 and modify the validation rules accordingly. However, it is not possible to use draft-2020-12 and previous JSON Schema versions in the same Ajv instance, so we should find out how to split and use them depending on the version. For details please refer to https://ajv.js.org/json-schema.html#draft-2020-12

@derevnjuk derevnjuk added the Type: enhancement New feature or request. label Feb 28, 2023
@derevnjuk derevnjuk self-assigned this Feb 28, 2023
derevnjuk added a commit that referenced this issue Feb 28, 2023
@derevnjuk derevnjuk linked a pull request Feb 28, 2023 that will close this issue
derevnjuk added a commit that referenced this issue Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: enhancement New feature or request.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant