Class SpecificationViolationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.chhorz.openapi.common.exception.SpecificationViolationException
All Implemented Interfaces:
Serializable

public class SpecificationViolationException extends RuntimeException
This exception will be thrown if the openapi specification will be violated at some point. There may be some reasons for the violation:
  • Missing required field
Author:
chhorz
See Also:
  • Constructor Details

    • SpecificationViolationException

      public SpecificationViolationException(String message)
      The openapi specification was violated because of the given reason.
      Parameters:
      message - the reason of the violation