springdoc-openapi
springdoc-openapi copied to clipboard
Library for OpenAPI 3 with spring-boot
Swagger UI Missing "Choose File" Button for File Upload with springdoc.api-docs.version=openapi_3_1
When using springdoc.api-docs.version=openapi_3_1, the Swagger UI does not display the "Choose File" button for file upload endpoints. Instead, it shows a text area for inputting the Request Body. This issue...
### Background When a route is invoked, it might succeed or fail. In case of failure, our business logic uses different error codes to identify the error range. For example:...
Hi there!! Currently I have an endpoint that requires file upload as parameter using MultipartFile: ``` @Operation( summary = "Import Workbaskets", description = "This endpoint imports a list of Workbasket...
HI 🙋🏻♀️ The code was previously hardcoding the length of the string [ `#/components/schemas/` ] (21) directly in the code. It has now been modified to use the length of...
When defining `content` in the @ApiResponse the default schema is no longer defined in the OpenApi spec. If we annotate our endpoint using the following: ``` @ApiResponse(responseCode = "200", description...
**Describe the bug** When configuring `springdoc.api-docs.version=openapi_3_1`, SwaggerUI does not display custom extensions defined in the OpenAPI specification. The extensions are visible in the OpenAPI JSON or YAML output but do...
**Describe the bug** When I use @JsonSubTypes with @Schema(oneOf = {..}), the model schema shows infinite nested oneOf and allOf. When I remove @JsonSubTypes from the parent model, everything works...
Updated the response code for login failures from 403 Frobidden to 401 UnAuthorized to more accurately reflect the correct HTTP status code for authentication failures. Changes include: - Response code...
SpringSecurityLoginEndpointCustomiser -> SpringSecurityLoginEndpointCustomizer
The current Javadoc integration with springdoc is great, but it would be amazing if it would resolve the @throws javadoc tag to be @ApiResponse annotation. Is this a feature that...