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

When I used @JsonIgnoreProperties annotation to ignore some redundant properties from the super classes, it has completely no effect on Swagger. The consequence is the API document and the real...

Given a request body like so: ``` data class SampleRequest( @Schema(example = """{"name": "John", "lastname": "Doe"}""") val personOne: PersonDto?, @Schema(example = """{"name": "Jane", "lastname": "Smith"}""") val personTwo: PersonDto?, ) ```...

Related to this https://github.com/swagger-api/swagger-inflector/issues/371 and these PRs I suppose: - https://github.com/swagger-api/swagger-core/pull/3637 - https://github.com/swagger-api/swagger-parser/pull/1400 I'm using spring boot and I cannot set an example for a given field in a request...

This might be a bug, when generating openapi file, the plugin is trying to initialize log4j file which is to be included in the war but in anyway should not...

Hello, I recently discovered a bug in Swagger-Core affecting object property resolution. As far as I could debug, it is related to a short circuit in object traversal to prevent...

## Expected Behavior According to the OpenAPI specification I should be able to write an OpenAPI document that contains `null` values. See for reference: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#data-types https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#schemaNullable ## Current Behavior If...

The current implementation ignores the content of `schema` and `array` of the `@Parameter` annotation, when generating the schema for a parameter. So it's impossible to specify the allowed values for...

`Schema::getDefault()` today returns a `null` value if no default value is specified in the OpenAPI document. The OpenAPI standard allows to explicitly specify `null` when a property is nullable. However...

See [issues#4662](https://github.com/swagger-api/swagger-core/issues/4662)