vertx/src/main/java/eu/internetofus/common/vertx/OpenAPIValidator.java
/**
     * Create a future with the environment of a sub type.
     *
     * @param field that this is the subtype.
     * @param type  specification for the subtype.
     *
     * @return a future with the child.
     */
Create a future with the environment of a sub type.
@param field that this is the subtype.
@param type  specification for the subtype.

@return a future with the child.
Create a future with the environment of a sub type . @param field that this is the subtype . @param type specification for the subtype . @return a future with the child .
public Future<SpecificationEnvironment> futureChildFor(final String field, final JsonObject type) {
      final var child = new SpecificationEnvironment(this.prefixFor(field), this.vertx, type);
      child.isSubtype = true;
      return Future.succeededFuture(child);
    }
public Future < SpecificationEnvironment > futureChildFor ( final String field , final JsonObject type ) { final var child = new SpecificationEnvironment ( this . prefixFor ( field ) , this . vertx , type ) ; child . isSubtype = true ; return Future . succeededFuture ( child ) ; }
Create a future with the environment of a sub type.
Create a future with the environment of a sub type .