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 validation does not work for boolean query parameter #57

stevehu opened this Issue Oct 2, 2018 · 0 comments


None yet
1 participant
Copy link

stevehu commented Oct 2, 2018

The OpenAPI spec defines a boolean type parameter:

      - name: redirect
        in: query
        required: false
        description: Whether or not to do a redirect. >
          If true the response will contain 302 Status and a Location header with new URL.
          type: boolean

when I call {{ADDRESS}}/v2/translate/some-id?redirect=false I get the error:

{"statusCode":400,"code":"ERR11004","message":"VALIDATOR_SCHEMA","description":"Schema Validation Error - $: string found, boolean expected","severity":"ERROR"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.