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

feat(common): add express http verb method name string literal type #2754

Commits on Oct 16, 2023

  1. feat(common): add express http verb method name string literal type

    1. Also ships with a user-defined typescript type-guard so that we can
    ensure at runtime that the string literal value is indeed one of the
    valid ExpressJS HTTP verb method names.
    2. The primary use-case for this is checking at runtime the HTTP verb
    name of OpenAPI specifications that are being loaded into the API.
    
    [skip ci]
    
    Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
    petermetz committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    e5f62f1 View commit details
    Browse the repository at this point in the history