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

Schema with unrecognized "type" should report an error #537

Closed
idg10 opened this issue Jan 9, 2025 · 0 comments · Fixed by #553
Closed

Schema with unrecognized "type" should report an error #537

idg10 opened this issue Jan 9, 2025 · 0 comments · Fixed by #553
Assignees

Comments

@idg10
Copy link
Contributor

idg10 commented Jan 9, 2025

We have this:

    "allowUnauthenticatedAccessAuthenticationRequirementConfiguration": {
      "type": "object",
      "properties": {
        "auth:unauthenticatedrequestsallowed": { "type": "bool" }
      },
      "required": [ "auth:unauthenticatedrequestsallowed" ]
    },

and that "bool" was a mistake. The tool is ignoring the mistake, and treating it as if we'd omitted the 'type' property.

It should have complained.

@idg10 idg10 added the bug label Jan 9, 2025
@mwadams mwadams removed the bug label Jan 20, 2025
@mwadams mwadams self-assigned this Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants