private SimpleTypeModule with(Class<?> javaType, SchemaKeyword jsonSchemaTypeValue, String openApiFormat) {
        this.fixedJsonSchemaTypes.put(javaType, jsonSchemaTypeValue);
        if (openApiFormat != null) {
            this.formatValues.put(javaType, openApiFormat);
        }
        return this;
    }
Add the given mapping for a (simple) java class to its JSON schema equivalent "type" attribute.

@param javaType java class to map to a fixed JSON schema definition
@param jsonSchemaTypeValue "type" attribute value to set or {@link SchemaKeyword#TAG_TYPE_NULL} to indicate empty schema being desired
@param openApiFormat optional {@link SchemaKeyword#TAG_FORMAT} value to set if the respective Option is enabled
@return this module instance (for chaining)
jsonschema-generator/src/main/java/com/github/victools/jsonschema/generator/impl/module/SimpleTypeModule.java