springdoc-openapi
springdoc-openapi copied to clipboard
Library for OpenAPI 3 with spring-boot
## Problem I have to add a `SecurityScheme` for a header we use for authentication which nature is neither of the options available in the `SecurityScheme.Type` enum. The header is...
**Describe the bug** A HTTP header in multipart/form-data is handled as form item instead of header **To Reproduce** - java: 17 - spring-boot: 2.7.3 - springdoc-openapi: 1.6.11 - actual OpenAPI...
**Describe the bug** When using method consuming MediaType.MULTIPART_FORM_DATA_VALUE, schemas for RequestPart objects are generated based on JsonView from method level, which should be related only to response schema, instead of...
A very naive first attempt at adding support for nested constraints annotations (#1486). No unit tests added yet (which test would be easiest to copy and adapt?) Am I on...
**Describe the bug** I am trying to dynamically build multiple `GroupedOpenApis` via `beanFactory`. Searching through the issues it was recommended to manually register the `MultipleOpenApiResource` bean, like ```java @Bean() MultipleOpenApiWebMvcResource...
1. `springdoc.default-flat-param-object: true` not working while paramobject has `@Valid` Or `@Validated` annotation 2. so I used `@ParamObject` annotation, but the List field generated as String, even add type = "array"...
HI : I config global-header-parameters ("now") in components, but it does not show in swagger ui 。  spring boot 2.6.11 springdoc 1.6.11 Any ideas on what I'm missing? Thank...
## Description - fix #1820 ## Additional Information - What I did was move the OpenAPI setting logic to only perform the first time after reverting. - I guess the...
**Describe the bug** I want to set a global parameter, but it seems that it doesn't work well **The official document is as follows**  But this option is not...
I have spring boot application with simple REST endpoint, lombok and spring-doc dependency. When I have definition of REST response object, which includes collection of another object, it's definition is...