vertx/src/main/java/eu/internetofus/common/vertx/OpenAPIValidator.java
/**
   * Check that an specification is right.
   *
   * @param codePrefix    the prefix of the code to use for the error message.
   * @param vertx         the event bus infrastructure to use.
   * @param specification to validate.
   *
   * @return the future that inform if the specification is right or not.
   */
Check that an specification is right.
@param codePrefix    the prefix of the code to use for the error message.
@param vertx         the event bus infrastructure to use.
@param specification to validate.

@return the future that inform if the specification is right or not.
Check that an specification is right . @param codePrefix the prefix of the code to use for the error message . @param vertx the event bus infrastructure to use . @param specification to validate . @return the future that inform if the specification is right or not .
public static final Future<Void> validateSpecification(final String codePrefix, final Vertx vertx,
      final JsonObject specification) {
    final var env = new SpecificationEnvironment(codePrefix, vertx, specification);
    return composeValidation(Future.succeededFuture(env), OpenAPIValidator::validateSpecification).map(chain -> null);
  }
public static final Future < Void > validateSpecification ( final String codePrefix , final Vertx vertx , final JsonObject specification ) { final var env = new SpecificationEnvironment ( codePrefix , vertx , specification ) ; return composeValidation ( Future . succeededFuture ( env ) , OpenAPIValidator :: validateSpecification ) . map ( chain -> null ) ; }
Check that an specification is right.
Check that an specification is right .