swagger-core
swagger-core copied to clipboard
Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API
Hi! I found a problem with adding multiple security requirements via annotations. I see that there is an old, closed ticket [#1261](https://github.com/swagger-api/swagger-core/issues/1261), which was concerning this issue. Although the ticket...
When an API returns a generic response type swagger-core: 1. The swagger-core generated object name is not linked to the API definition response. 2. Does not provide a means to...
### Bug Description In some parts of my API I have Maps that use `enums` as keys, such as `uploadedLanguages` example below: ``` @Schema(name = "DocumentUploads", description = "Model that...
In my request model, I have a field like ``` @NotNull @Schema(description = "blahblah", example = "19680228", type = "Date", format = "String", pattern = "([0-9]{4})(?:[0-9]{2})([0-9]{2})", required = true, nullable...
I'm using reference types (i.e. AtomicReference) in my domain objects to model the three-state semantic of set (value is available), not set (no value available or not of interest) and...
Is there any way to integrate swagger-core with our AWS Lambda code? We expose methods via AWS API Gateway proxy+ style integration since we don't want to build separate docs...
Here is an explicit example where all 3 enum values are still rendered in the swagger output. Using the latest swagger core version with Java 8. ```` public enum Foo...
With method signature ```java @PostMapping(value = "/scan", produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.MULTIPART_FORM_DATA_VALUE) @ApiResponses(value = { @ApiResponse(responseCode = "200", description = "Success"), @ApiResponse(responseCode = "400", description = "Something went wrong")})...
Support default value annotation on ApiModelProperty