Interface ProblemRuntimeFixedConfig.ConstraintViolationConfig

Enclosing interface:
ProblemRuntimeFixedConfig

public static interface ProblemRuntimeFixedConfig.ConstraintViolationConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    OpenApi description for ConstraintViolationExceptions.
    int
    Response status code when ConstraintViolationException is thrown.
    Response title when ConstraintViolationException is thrown.
  • Method Details

    • status

      @WithDefault("400") int status()
      Response status code when ConstraintViolationException is thrown.
    • title

      @WithDefault("Bad Request") String title()
      Response title when ConstraintViolationException is thrown.
    • description

      @WithDefault("Bad request: server would not process the request due to something the server considered to be a client error") String description()
      OpenApi description for ConstraintViolationExceptions.