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

### Problem When `Schema#implementation` is defined on a property, all information specified through `@Schema` is propagated to the schema created for the type defined in `Schema#implementation`. However this information should...

Bug
P2
3.1 spec support

This PR changes the scan for validatiom constraint annotations. It scans the annotations recursively instead of simple scan of the processed class. This allows the user to define a custom...

The javax/jakarta annotations contain a `groups` property that can be used to enable different combinations of validation on a model depending on which group is currently active - https://jakarta.ee/learn/docs/jakartaee-tutorial/current/beanvalidation/bean-validation-advanced/bean-validation-advanced.html#_grouping_constraints. When...

These tests are failing NonDex since they're directly comparing JSON Strings which can have different key order when run multiple times. Click on to see more details on the error...

Hello, While I was making an API document, I struggled to set value of fields to 'null' in json request body. I used @Schema annotation because I was in spring...

Awaiting Feedback

Hello, I thought there could be better way to set null in request example. I got hint from @CsvValues of Junit, which can set nullValues easily with the annotation attributes....

Introduce a method that can be overriden, or another mechanism, to allow for model name customization. An example would be to have a suffix "Enum" for all enum models resolved...

`@SchemaProperty(name = "create", array = @ArraySchema(schema = @Schema(implementation = String.class)))` renders as: ``` "create": { "type": "array", "items": { "type": "string" } } ``` `@SchemaProperty(name = "create", schema = @Schema(implementation...

Please refer to the attached sample maven project and result swagger.json. [swagger.json](https://github.com/user-attachments/files/17688344/swagger.json) [sample-webapp.zip](https://github.com/user-attachments/files/17688345/sample-webapp.zip) **Description** Class ExtendedResource extends AbstractResource (which implements ResourceInterface). Class ExtendedResource defines 3 REST commands, on the same...

**The problem** Swagger creates its own `ObjectMapper` instance for serializing schemas. In the process of resolving a model, this object mapper is used to find the properties of the target...