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

[java-micronaut] Allow default implementation to return HTTP 501 #12365

Merged
merged 1 commit into from May 18, 2022

Commits on May 14, 2022

  1. [java-micronaut] Return HTTP 501 in default implementation

    The default controller implementation returns an empty response. This
    might result in unexpected behavior when an operation isn't implemented,
    as a consumer of the API there is no way to notice the difference
    between an unimplemented method and an actual empty response.
    
    By changing the default behavior to return HTTP 501 Not Implemented the
    user will be made aware of unimplemented methods. The former default
    behavior, returning an empty response by default, can be activated with
    a configuration option.
    auke- committed May 14, 2022
    Configuration menu
    Copy the full SHA
    97eb95f View commit details
    Browse the repository at this point in the history