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

Let's take an example of two simple classes: ``` public class GeoPointDto { @Schema(description = "Longitude of geo point ( -180, 180 >") private double lon; @Schema(description = "Latitude of...

I would like to use https://mvnrepository.com/artifact/io.swagger/swagger-jersey2-jaxrs/1.6.2 in our project. However we got some dependency issues which seems to be due to wrong backward compatibility of swagger parts. swagger-jersey2-jaxrs v1.6.2 requires...

Currently, the project "swagger-core-jakarta" depends on "jakarta.xml.bind:jakarta.xml.bind-api:3.0.0" which depends on "com.sun.activation:jakarta.activation:2.0.0". Latest version of jakarta.xml.bind-api is `4.0.0` which depends on the new module from jakarta: `jakarta.activation:jakarta.activation-api:2.1.2`. Spring Framework (org.springframework.boot:spring-boot-starter-mail:3.1.5) via...

As part of my SpringBoot application that uses the `springdoc-openapi` library (using `swagger-core` under the hood) to generate OpenAPI specs, I would like automatically generate `.nullable(true)` for "non"-required properties. This...

It is happing in openAPI version 3.1 I think it's related to miss a construct method to add type of "object". ```diff diff --git a/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/ComposedSchema.java b/modules/swagger-models/src/main/java/io/swagger/v3/oas/models/media/ComposedSchema.java index deea38906..5e4d37134 100644 ---...

Upgrading to 2.2.11 gives me this error: `com/fasterxml/jackson/core/exc/StreamConstraintsException` I guess it's due to the new limitations introduced to jackson 2.15 : https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.15#processing-limits Does someone has any advice on this ?...

If there are a couple controllers that look like: ```java @JsonSubTypes(@JsonSubTypes.Type(value = SubClass.class)) @io.swagger.v3.oas.annotations.media.Schema(discriminatorProperty = "type_", discriminatorMapping = { @DiscriminatorMapping(value = "SubClass", schema = SubClass.class)}) public class SuperClass { public...

Hello Team, Requesting you to please check this issue and help. Performing schema validation with oneOf, discriminator and mapping property in oas3.0. Error: { "fault": { "faultstring": "OASValidation MAM-EXT-SpecValidation with...

To generate the appropriate mapping for a discriminator of a parent class, we are required to add the discriminatorMapping property to @Schema, which is almost always redundant if the class...

Feature
Workaround available
P2
:thumbsup: Top Issue!

If you using: `import io.swagger.v3.oas.annotations.parameters.RequestBody;` for make a documentation in RequestBody and when it takes an object/string is fine but if you provide a list or array of strings it...