You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolve fully does not resolve composed schemas or requestBodies schemas with options.setResolve(true); options.setResolveFully(true); options.setResolveCombinators(true)
#2101
Open
karasuno7 opened this issue
May 13, 2024
· 0 comments
The text was updated successfully, but these errors were encountered:
karasuno7
changed the title
Resolve fully does not resolve composed schemas or requestBodies schemas
Resolve fully does not resolve composed schemas or requestBodies schemas with options.setResolve(true); options.setResolveFully(true); options.setResolveCombinators(true)
May 13, 2024
returns:
{ "openapi" : "3.0.0", "info" : { "title" : "Example API", "description" : null, "termsOfService" : null, "contact" : null, "license" : null, "version" : "1.0.0", "extensions" : null }, "externalDocs" : null, "servers" : [ { "url" : "/", "description" : null, "variables" : null, "extensions" : null } ], "security" : null, "tags" : null, "paths" : { "/example/{id}" : { "summary" : null, "description" : null, "get" : { "tags" : null, "summary" : null, "description" : null, "externalDocs" : null, "operationId" : null, "parameters" : [ { "name" : "id", "in" : "path", "description" : "ID parameter in the path", "required" : true, "deprecated" : null, "allowEmptyValue" : null, "$ref" : null, "style" : "SIMPLE", "explode" : false, "allowReserved" : null, "schema" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "integer", "not" : null, "properties" : null, "additionalProperties" : null, "description" : null, "format" : "int32", "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null }, "examples" : null, "example" : null, "content" : null, "extensions" : null } ], "requestBody" : null, "responses" : { "200" : { "description" : "Successful response", "headers" : null, "content" : { "application/json" : { "schema" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "object", "not" : null, "properties" : { "id" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "integer", "not" : null, "properties" : null, "additionalProperties" : null, "description" : null, "format" : "int32", "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null }, "name" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "string", "not" : null, "properties" : null, "additionalProperties" : null, "description" : null, "format" : null, "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null } }, "additionalProperties" : null, "description" : null, "format" : null, "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null }, "examples" : null, "example" : null, "encoding" : null, "extensions" : null } }, "links" : null, "extensions" : null, "$ref" : null } }, "callbacks" : null, "deprecated" : null, "security" : null, "servers" : null, "extensions" : null }, "put" : null, "post" : null, "delete" : null, "options" : null, "head" : null, "patch" : null, "trace" : null, "servers" : null, "parameters" : null, "$ref" : null, "extensions" : null }, "/example2" : { "summary" : null, "description" : null, "get" : null, "put" : null, "post" : { "tags" : null, "summary" : null, "description" : null, "externalDocs" : null, "operationId" : null, "parameters" : null, "requestBody" : { "description" : null, "content" : null, "required" : null, "extensions" : null, "$ref" : "#/components/requestBodies/ExampleBody" }, "responses" : { "201" : { "description" : "Resource created successfully", "headers" : null, "content" : { "application/json" : { "schema" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "object", "not" : null, "properties" : { "message" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "string", "not" : null, "properties" : null, "additionalProperties" : null, "description" : null, "format" : null, "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null } }, "additionalProperties" : null, "description" : null, "format" : null, "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null }, "examples" : null, "example" : null, "encoding" : null, "extensions" : null } }, "links" : null, "extensions" : null, "$ref" : null } }, "callbacks" : null, "deprecated" : null, "security" : null, "servers" : null, "extensions" : null }, "delete" : null, "options" : null, "head" : null, "patch" : null, "trace" : null, "servers" : null, "parameters" : null, "$ref" : null, "extensions" : null } }, "components" : { "schemas" : { "ExampleSchema" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "object", "not" : null, "properties" : { "id" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "integer", "not" : null, "properties" : null, "additionalProperties" : null, "description" : null, "format" : "int32", "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null }, "name" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "string", "not" : null, "properties" : null, "additionalProperties" : null, "description" : null, "format" : null, "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null } }, "additionalProperties" : null, "description" : null, "format" : null, "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null }, "ExampleRequestBody" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "object", "not" : null, "properties" : { "username" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "string", "not" : null, "properties" : null, "additionalProperties" : null, "description" : null, "format" : null, "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null }, "password" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "string", "not" : null, "properties" : null, "additionalProperties" : null, "description" : null, "format" : null, "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null } }, "additionalProperties" : null, "description" : null, "format" : null, "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null }, "ExampleResponse" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "object", "not" : null, "properties" : { "message" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "string", "not" : null, "properties" : null, "additionalProperties" : null, "description" : null, "format" : null, "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null } }, "additionalProperties" : null, "description" : null, "format" : null, "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null } }, "responses" : { "ExampleResponse" : { "description" : "Example response", "headers" : null, "content" : { "application/json" : { "schema" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : null, "not" : null, "properties" : null, "additionalProperties" : null, "description" : null, "format" : null, "$ref" : "#/components/schemas/ExampleResponse", "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null }, "examples" : null, "example" : null, "encoding" : null, "extensions" : null } }, "links" : null, "extensions" : null, "$ref" : null } }, "parameters" : { "ExampleParam" : { "name" : "id", "in" : "path", "description" : "ID parameter in the path", "required" : true, "deprecated" : null, "allowEmptyValue" : null, "$ref" : null, "style" : "SIMPLE", "explode" : false, "allowReserved" : null, "schema" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "integer", "not" : null, "properties" : null, "additionalProperties" : null, "description" : null, "format" : "int32", "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null }, "examples" : null, "example" : null, "content" : null, "extensions" : null } }, "examples" : null, "requestBodies" : { "ExampleBody" : { "description" : null, "content" : { "application/json" : { "schema" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "object", "not" : null, "properties" : { "username" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "string", "not" : null, "properties" : null, "additionalProperties" : null, "description" : null, "format" : null, "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null }, "password" : { "title" : null, "multipleOf" : null, "maximum" : null, "exclusiveMaximum" : null, "minimum" : null, "exclusiveMinimum" : null, "maxLength" : null, "minLength" : null, "pattern" : null, "maxItems" : null, "minItems" : null, "uniqueItems" : null, "maxProperties" : null, "minProperties" : null, "required" : null, "type" : "string", "not" : null, "properties" : null, "additionalProperties" : null, "description" : null, "format" : null, "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null } }, "additionalProperties" : null, "description" : null, "format" : null, "$ref" : null, "nullable" : null, "readOnly" : null, "writeOnly" : null, "example" : null, "externalDocs" : null, "deprecated" : null, "xml" : null, "extensions" : null, "discriminator" : null, "default" : null, "enum" : null }, "examples" : null, "example" : null, "encoding" : null, "extensions" : null } }, "required" : null, "extensions" : null, "$ref" : null } }, "headers" : null, "securitySchemes" : null, "links" : null, "callbacks" : null, "extensions" : { } }, "extensions" : null }
Is this expected?
The text was updated successfully, but these errors were encountered: