Constant Field Values

Contents

org.openapitools.*

  • org.openapitools.codegen.utils.EnumUtils 
    Modifier and Type Constant Field Value
    public static final String ANY_OF "anyOf"
    public static final String BUNGIE_X_ENUM_VALUES "x-enum-values"
    public static final String ONE_OF "oneOf"
  • org.openapitools.codegen.utils.JsonAnnotationPolicyUtils 
    Modifier and Type Constant Field Value
    public static final String GENERATE_JSON_INCLUDE_ANNOTATIONS_DESC "Whether to generate policy @JsonInclude annotations on model properties. When true, emits spec-honest annotations (required-field protection and the optional non-nullable policy from optionalNonNullPropertyJsonInclude). When false, none are generated and the global ObjectMapper owns inclusion. When left unset it defaults to false (7.23.0-equivalent output) and logs a warning; set it explicitly to silence the warning. A per-property override set via the `x-jackson-json-include-policy` vendor extension is always honored regardless of this flag."
    public static final String OPTIONAL_NON_NULL_PROPERTY_JSON_INCLUDE_DESC "The Jackson @JsonInclude policy emitted for optional, non-nullable model properties when generateJsonIncludeAnnotations is true. NONE emits no annotation, deferring fully to the global ObjectMapper inclusion policy."
    public static final String OPTIONAL_NON_NULL_PROPERTY_JSON_SETTER_NULLS_DESC "The Jackson @JsonSetter(nulls = ...) mode emitted for optional, non-nullable model properties when generateJsonSetterNullsAnnotations is true. SKIP ignores an explicit JSON null (keeping the field\'s default), FAIL rejects it. When left unset the mode is derived from openApiNullable (true -> FAIL where supported, false -> SKIP), preserving 7.24.x behavior. A per-property override set via the `x-jackson-json-setter-nulls` vendor extension always wins."
  • org.openapitools.codegen.utils.StringUtils 
    Modifier and Type Constant Field Value
    public static final String NAME_CACHE_EXPIRY_PROPERTY "org.openapitools.codegen.utils.namecache.expireafter.seconds"
    public static final String NAME_CACHE_SIZE_PROPERTY "org.openapitools.codegen.utils.namecache.cachesize"
  • org.openapitools.codegen.utils.URLPathUtils 
    Modifier and Type Constant Field Value
    public static final String LOCAL_HOST "http://localhost"