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

While debugging an issue on Javalin's OpenAPI plugin ( https://github.com/tipsy/javalin/issues/1032 ) I found following behavior inside swagger-core at the following line: https://github.com/swagger-api/swagger-core/blob/v2.1.2/modules/swagger-core/src/main/java/io/swagger/v3/core/jackson/ModelResolver.java#L1306 My scenario is as follows: - Assume you...

I'm using the newest version of swagger-jersey2-jaxrs ``` // https://mvnrepository.com/artifact/io.swagger/swagger-jersey2-jaxrs implementation group: 'io.swagger', name: 'swagger-jersey2-jaxrs', version: '1.6.11' ``` and see that the Example value is null While on an older...

请看图 ![image](https://github.com/swagger-api/swagger-core/assets/12273936/e07dfda6-bc31-4579-ace9-b5ec1b0c07c4) 一个通用的请求参数对象,因为泛型的不同而产生的不同描述,这是很好的, 但是,当我在一个接口中定义不同的验证分组,如下 ![image](https://github.com/swagger-api/swagger-core/assets/12273936/587977e2-3718-4345-9adb-ec977859c18a) 这样在文档显示中并不能体现出来,想要实现如下效果 例如 /api/a1 p1=required,p2=not required /api/a2 p1=not required,p2=required 由于io.swagger.v3.oas.models.media.Schema.required是List 并不满足现在我所设想的这种方式,希望后面版本可以支持这种

While validation annotations of generic parameters are now supported for Optionals and Array-like structures (see https://github.com/swagger-api/swagger-core/pull/4373) that is not the case for Map structures. Example: `@NotNull private final Map vintages;`...

First off, thank you very much for doing all this hard work and maintaining Swagger. I ran into a peculiar problem with 2.2.0, which, by the look of it seems...

I am using swagger plugin to generate classes from api spec (yaml) file. The generated model classes contains Jackson annotations. I would like to have JSON-B annotations instead of Jackson...

we are using the latest version of swashbuckle. I have this class ``` public class ListModel { public ModelType Model { get; } = ModelType.List; public string ContinuationToken { get;...

I have a CXF/JAX-RS service that uses OpenAPIFeature to publish an OpenAPIv3 descriptor. As it's basically a duplicate of a SOAP Web Service, it does not have any annotation placed...

This ``` @ArraySchema(arraySchema = @Schema(description = "Status of the receipt", name = "status", example = "paid")) private List statuses; ``` results in a parameter of type array with name **statuses**....

hi, i am using following dependencies ``` io.springfox springfox-swagger2 2.7.0 io.springfox springfox-swagger-ui 2.7.0 io.swagger swagger-jersey2-jaxrs 1.5.17 ``` when i am making a get request with postman as follows: http://localhost:8081/hai/api/v1/findDonatorOldProjects/100000000000000614 i...