mapping.v2.1.mapping.flat.yaml.json Maven / Gradle / Ivy
{
"$id": "https://openapiprocessor.io/schemas/mapping/mapping-v2.1.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "JSON Schema for openapi-processor mapping.yaml v2.1",
"description": "openapi-processor configuration and type mappings",
"type": "object",
"required": [
"openapi-processor-mapping",
"options"
],
"definitions": {
"Options": {
"description": "general processor configuration options.",
"type": "object",
"additionalProperties": false,
"properties": {
"package-name": {
"description": "java root package name to use in the generated source files.",
"type": "string",
"default": "io.openapiprocessor.generated"
},
"bean-validation": {
"description": "enable bean validation annotations for OpenAPI constraints.",
"type": "boolean",
"default": false
},
"javadoc": {
"description": "generate javadoc from OpenAPI 'description' properties.",
"type": "boolean",
"default": false
},
"model-name-suffix": {
"description": "suffix for model class names and enum names. Default is none, i.e. an empty string.",
"type": "string",
"default": "",
"examples": [
"Resource",
"Dto"
]
},
"one-of-interface": {
"description": "generate common interface for a `oneOf` object list.",
"type": "boolean",
"default": false
},
"format-code": {
"description": "enable/disable code formatting.",
"type": "boolean",
"default": true
},
"generated-date": {
"description": "enable/disable generated date on the @Generated annotation.",
"type": "boolean",
"default": true
}
}
},
"Map": {
"description": "global & path specific mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"paths": {
"description": "path specific mappings.",
"type": "object",
"patternProperties": {
"^/": {
"description": "a path.",
"type": "object",
"additionalProperties": false,
"properties": {
"exclude": {
"type": "boolean"
},
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"get": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"put": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"post": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"delete": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"options": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"head": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"patch": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"trace": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
},
"Paths": {
"description": "path specific mappings.",
"type": "object",
"patternProperties": {
"^/": {
"description": "a path.",
"type": "object",
"additionalProperties": false,
"properties": {
"exclude": {
"type": "boolean"
},
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"get": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"put": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"post": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"delete": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"options": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"head": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"patch": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"trace": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
},
"Mappings": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"Methods": {
"description": "http method mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"get": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"put": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"post": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"delete": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"options": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"head": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"patch": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"trace": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}
}
},
"ResultMapping": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"ResultStyleMapping": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"SingleMapping": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"MultiMapping": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"NullMapping": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"TypeMappings": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"ParameterMappings": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"ResponseMappings": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"Exclude": {
"description": "generate endpoint to a separate 'Excluded' interface.",
"type": "object",
"additionalProperties": false,
"properties": {
"exclude": {
"type": "boolean"
}
}
},
"TypeMappingFormat": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"AnnotationMappingFormat": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"TypeMappingGenerics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"properties": {
"openapi-processor-mapping": {
"description": "version of the mapping format.",
"type": "string",
"enum": [
"v2.1"
]
},
"options": {
"description": "general processor configuration options.",
"type": "object",
"additionalProperties": false,
"properties": {
"package-name": {
"description": "java root package name to use in the generated source files.",
"type": "string",
"default": "io.openapiprocessor.generated"
},
"bean-validation": {
"description": "enable bean validation annotations for OpenAPI constraints.",
"type": "boolean",
"default": false
},
"javadoc": {
"description": "generate javadoc from OpenAPI 'description' properties.",
"type": "boolean",
"default": false
},
"model-name-suffix": {
"description": "suffix for model class names and enum names. Default is none, i.e. an empty string.",
"type": "string",
"default": "",
"examples": [
"Resource",
"Dto"
]
},
"one-of-interface": {
"description": "generate common interface for a `oneOf` object list.",
"type": "boolean",
"default": false
},
"format-code": {
"description": "enable/disable code formatting.",
"type": "boolean",
"default": true
},
"generated-date": {
"description": "enable/disable generated date on the @Generated annotation.",
"type": "boolean",
"default": true
}
}
},
"map": {
"description": "global & path specific mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"paths": {
"description": "path specific mappings.",
"type": "object",
"patternProperties": {
"^/": {
"description": "a path.",
"type": "object",
"additionalProperties": false,
"properties": {
"exclude": {
"type": "boolean"
},
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"get": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"put": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"post": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"delete": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"options": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"head": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"patch": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"trace": {
"description": "mapping rules.",
"type": "object",
"additionalProperties": false,
"properties": {
"result": {
"description": "wrapper object of a http response.",
"type": "string",
"examples": [
"org.springframework.http.ResponseEntity"
]
},
"result-style": {
"description": "result style of a http response. 'success' uses success (ok) response type, 'all' uses Object/? type.",
"type": "string",
"default": "success",
"examples": [
"all",
"success"
]
},
"single": {
"description": "reactive wrapper of single types.",
"type": "string",
"examples": [
"reactor.core.publisher.Mono"
]
},
"multi": {
"description": "reactive wrapper of array types.",
"type": "string",
"examples": [
"core.publisher.Flux"
]
},
"null": {
"description": "null wrapper of 'nullable' object properties.",
"type": "string",
"examples": [
"org.openapitools.jackson.nullable.JsonNullable",
"org.openapitools.jackson.nullable.JsonNullable = JsonNullable.undefined()"
]
},
"types": {
"description": "basic type mappings.",
"type": "array",
"minItems": 1,
"items": [
{
"description": "maps a schema to a a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"anyOf": [
{
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
{
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
}
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"parameters": {
"description": "parameter type mappings.",
"type": "array",
"minItems": 1,
"required": [
"name"
],
"examples": [
"foo => io.openapiprocessor.Foo"
],
"items": [
{
"description": "maps a parameter name to a Java type.",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"add": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"type": {
"description": "schema @ fully qualified Java type with optional parameters.",
"type": "string",
"pattern": "^.+\\s+@\\s+.+$",
"examples": [
"FooSchema @ some.Annotation",
"FooSchema @ some.Annotation(\"bar\")",
"FooSchema @ some.Annotation(value = \"bar\", bar = 5)"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
]
},
"responses": {
"description": "response (content) type mappings.",
"type": "array",
"minItems": 1,
"items": {
"description": "maps a content type to a Java type.",
"type": "object",
"required": [
"content"
],
"examples": [
"application/json => io.openapiprocessor.Foo"
],
"additionalProperties": false,
"properties": {
"content": {
"description": "schema => fully qualified Java type.",
"type": "string",
"pattern": "^.+\\s+=>\\s+.+$",
"examples": [
"array => java.util.Collection",
"FooSchema => io.openapiprocessor.Foo"
]
},
"generics": {
"description": "fully qualified Java types used as generic parameters of the type mapping.",
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}