swagger-core
swagger-core copied to clipboard
Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API
Hi there, I asked a question but on SO but it's probably not going to get much traction, wondering if you could help. https://stackoverflow.com/questions/71517212/what-does-the-hash-symbol-mean-in-openapi-swagger-specification-paths
I'm building an API with JaxRS on Sprig Boot. I'm using [http://cxf.apache.org/docs/swaggerfeature-swagger2feature.html](cxf-rt-rs-service-description-swagger) to generate a swagger file from the API Interfaces. When I add a `@Consumes` or `@Produces` annotation to...
JAX-RS 2.1 most notably adds support for async responses using `CompletionStage`. The latest version of swagger-core is unable to produce a useable open api spec with operations that return a...
My goal is to check every description attribute value, and if that value starts with "file://" attempt to load the file from the resources. I am doing this because some...
swagger-gradle-plugin does not load `io.swagger.v3.jaxrs2.ext.OpenAPIExtension` classes. The code in `io.swagger.v3.jaxrs2.ext.OpenAPIExtensions` uses `ServiceLoader.load(OpenAPIExtension.class)` to load extensions. The problem is that `ServiceLoader` uses `Thread.currentThread().getContextClassLoader()` when a `ClassLoader` is not specified which cannot...
I'm trying to add `@Schema` definitions on my path and query parameter models, but the `type` and `implementation` attributes are ignored and `object` is inferred instead. For example: ```java @Schema(implementation=String.class,...
The `JsonView` annotation is interpreted slightly wrong: fields which are not annotated with it are actually **not** serialized if a view is specified, they are only included in the default...
My swagger version is 2.9.2 My project is a Spring Cloud project. And i config custom format for some type, such as Enum,java8 time. **The result class as follows.** ```...