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

Method Override feature (HPH-35) #279

Merged
merged 6 commits into from
Nov 30, 2023
Merged

Method Override feature (HPH-35) #279

merged 6 commits into from
Nov 30, 2023

Commits on Nov 30, 2023

  1. docs: Add method_override.md document

    Add a document that describes the Method Override feature, which will be
    implemented if the spec is approved.
    
    A PDF version of the spec can be converted from the MD with pandoc.
    suutari-ai committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    d14bd13 View commit details
    Browse the repository at this point in the history
  2. MethodOverrideMiddleware

    Implement the method override feature as was documented in the previous
    commit:
    
    Make it possible to override the HTTP method of the API calls via a
    query parameter named "method".  This allows using the API with some
    limited clients which don't support all HTTP methods.
    
    To enable this feature the real HTTP method has to be POST and (for now)
    only supported methods are DELETE, PATCH and PUT.
    suutari-ai committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    f69fa6c View commit details
    Browse the repository at this point in the history
  3. generate-docs: Switch from redoc-cli to @redocly/cli

    The redoc-cli tool is deprecated and @redocly/cli is suggested as the
    replacement so switch our generate-docs script to use the "openapi" from
    @redocly/cli.  Also update all of the npm dependencies to their latest
    versions.
    suutari-ai committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    475bd9b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    67168da View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c899370 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    28bdc78 View commit details
    Browse the repository at this point in the history