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

Parse OAS3 HTTP-Auth schemes case-insensitively #1531

Closed
wants to merge 1 commit into from

Commits on May 6, 2020

  1. Parse OAS3 HTTP-Auth schemes case-insensitively

    According to the authors of the OAI spec [1] schemes are
    case-insensitive. Even if they were not, the current checks against
    lowercase versions of scheme names do not match the IANA registry's
    canonical versions [2] which are "Basic" and "Bearer".
    
    [1] OAI/OpenAPI-Specification#1880 (comment)
    [2] https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml#table-authschemes
    asazernik committed May 6, 2020
    Configuration menu
    Copy the full SHA
    264e6f4 View commit details
    Browse the repository at this point in the history