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

```kt class Foo @Schema(required = false, defaultValue = "") var bar: String = "" } ```

Note how much smaller the sources and javadoc jars are in https://repo1.maven.org/maven2/io/swagger/core/v3/swagger-jaxrs2-jakarta/2.1.12/ to those in https://repo1.maven.org/maven2/io/swagger/core/v3/swagger-jaxrs2/2.1.12/

Hi, I was migrating a Spring-Boot app from SpringFox to SpringDoc and noticed that the example value of the Schema annotation for Integer fields is ignored and defaults to 0....

**Is your feature request related to a problem? Please describe.** I have below use case 1. using replaceWithSchema at configuration ``` kotlin init { SpringDocUtils .getConfig() .replaceWithSchema( UserId::class.java, Schema().apply {...

Is there a way to set tag names for all operations at class level, as it could be done with `@Api(tags = "...", value = "...")`? I found related issue...

I found we response enum in VO as string enum. Is there any approach to response int enum? related issue: https://github.com/springdoc/springdoc-openapi/issues/709

After having trouble using WRITE_ONLY I looked in the code and saw the following in class [AnnotationsUtils](https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-core/src/main/java/io/swagger/v3/core/util/AnnotationsUtils.java#L499): ``` // process after readOnly and writeOnly if (schema.accessMode().equals(io.swagger.v3.oas.annotations.media.Schema.AccessMode.READ_ONLY)) { schemaObject.setReadOnly(true); schemaObject.setWriteOnly(null); }...

Now i have the this situation: BillDetailView is the base class,and KkbRelatedBillDetailView/RemunerationBillDetailView are two son classes. i want sync this api model to yapi. ` @ApiModel( discriminator = "settlementType", description...

Sometimes it is not possible to use annotatios (for example subtypes should be in different modules). By default `ModelConverters` uses `new ModelResolver(Json.mapper())`. `ModelResolver` uses `mapper.getSerializationConfig().getAnnotationIntrospector().findSubtypes(parentClass)`. Jackson implementation of `mapper.getSerializationConfig().getAnnotationIntrospector().findSubtypes()` returns...

Currently I am unable to use both `spring-boot 5.1.0.M1` (with `JAX-RS` setup) and `swagger-core 2.0.3` / `swagger-jaxrs2 2.0.3` because swagger declares dependencies for such libraries like `snakeyaml` which (! think...