vertx/src/main/java/eu/internetofus/common/vertx/OpenAPIValidator.java
/**
   * Check the specification field that indicates that a number has to be as
   * minimum of another value.
   *
   * @param env validation environment to use.
   *
   * @throws ValidationErrorException if it is not an instance of.
   */
Check the specification field that indicates that a number has to be as
minimum of another value.

@param env validation environment to use.

@throws ValidationErrorException if it is not an instance of.
Check the specification field that indicates that a number has to be as minimum of another value . @param env validation environment to use . @throws ValidationErrorException if it is not an instance of .
private static void checkMinimum(@NotNull final SpecificationEnvironment env) throws ValidationErrorException {
    final var value = env.specification.getValue("minimum");
    if (value instanceof Number) {
      checkIfTypeIsOneOf("minimum", env, "integer", "number");
    } else {
      throw env.notValid("minimum", "Expecting a 'number' value.");
    }
  }
private static void checkMinimum ( @ NotNull final SpecificationEnvironment env ) throws ValidationErrorException { final var value = env . specification . getValue ( "minimum" ) ; if ( value instanceof Number ) { checkIfTypeIsOneOf ( "minimum" , env , "integer" , "number" ) ; } else { throw env . notValid ( "minimum" , "Expecting a 'number' value." ) ; } }
Check the specification field that indicates that a number has to be as
 minimum of another value.
Check the specification field that indicates that a number has to be as minimum of another value .