swagger-core icon indicating copy to clipboard operation
swagger-core copied to clipboard

Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API

Results 365 swagger-core issues
Sort by recently updated
recently updated
newest added

I can specify the default value for an `@ArraySchema` with f.e. ``` @ArraySchema(arraySchema = @Schema(defaultValue = "123")) ``` The OAS3.0 states `default - The default value represents what would be...

The wiki page "Swagger 2.X Migration from 1.5" (https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---Migration-from-1.5) is just a placeholder, saying that it would be slowly filled up "in the next few weeks". That was written 9...

This is an issue we've been seeing for a while now and we haven't figured out what or when it broke since it is only impacting "packaged" versions of our...

Hi there, I am working with the annotations https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---Annotations How to create operations that refers to an implementation of some class like @Schema(implementation=....) offering the ID field in case of...

I'm facing this issue that also if the **_description_** attribute for the **_@ExampleObject_** [(doc)](https://javadoc.io/doc/io.swagger.core.v3/swagger-annotations/2.1.4/io/swagger/v3/oas/annotations/media/ExampleObject.html) annotation is empty, in the swagger online editor it is show, and it takes the name...

Hello, Is there any way to provide `allowableValues()` for annotation `Parameter `dynamically (e.g from property file or DB)? ``` @Operation(summary = "Retrieve a list of entities") @GetMapping public List get(@Parameter(schema...

This fixes issue #4466. - If there is an interface method annotated with @JsonValue, then Jackson will serialize any enums implementing the interface using the concrete method to generate the...

*Note*: This issue was posted in [springdoc-openapi](https://github.com/springdoc/springdoc-openapi/issues/2047) first. It was closed, since the issue seams to be located in swagger-core. **Describe the bug** - Inherited sub-classes are not mapped correctly...

I've just noticed that my fix for https://github.com/swagger-api/swagger-core/issues/4359 doesn't work for getters, only for fields.

The recursive hashCode and toString implementation can become very expensive on fully resolved OpenAPI objects. Attached is a sample openapi file of 200KB which bloats to 168MB of string data...