-
-
Notifications
You must be signed in to change notification settings - Fork 878
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Document creating pre-compiled schemas for CSP with ajv-cli #1228
Labels
Comments
There is the part about ajv-cli: https://github.com/ajv-validator/ajv/blob/master/README.md#command-line-interface The structure definitely needs to be improved - there is a recent ticket about it. It would be great if you could suggest the amendments based on your experience. |
andriyl
pushed a commit
to Redocly/ajv
that referenced
this issue
Jun 16, 2021
Pre-compiled schemas are a workaround for maintaining a secure Content Security Policy (CSP) Fixes ajv-validator#1228
andriyl
pushed a commit
to Redocly/ajv
that referenced
this issue
Jun 16, 2021
andriyl
pushed a commit
to Redocly/ajv
that referenced
this issue
Jun 16, 2021
andriyl
pushed a commit
to Redocly/ajv
that referenced
this issue
Jun 16, 2021
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
What problem do you want to solve?
Easily understanding how to use ajv with a Content Security Policy that doesn't include
unsafe-eval
.What do you think is the correct solution to problem?
The README.md should contain a section on how to use
ajv-cli
to create and use pre-compiled schemas. I found how to do this eventually, but only after lots of googling.Will you be able to implement it?
Nope.
The text was updated successfully, but these errors were encountered: