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
Implements option 2.1 discussed on the Issue: logs errors for all mappers, giving more importance to the preferred one. I wrote a test to confirm the behaviour, but it produces...
I'm using `swagger-annotations-2.2.0`. I have an API like this (`VERSION A/B`: one of these lines is commented out): ```kotlin @RestController @RequestMapping("/v1/examples") @Tag( name = "Examples", description = "CRUD for Examples"...
Awaiting restored support for @JsonProperty/@JsonValue in enums (#3553), I tried to work around the issue using `@Schema` and `allowableValues`, but it turns out this only **adds** to the set of...
This PR is part of commit https://github.com/swagger-api/swagger-core/commit/2ecbdb5479a1efd72f2d4bdef525a55fc76b4b36 to fix this issue https://github.com/swagger-api/swagger-core/issues/1445. It was fixed in swagger 2.0.6+ but not included in swagger 1.5 branch.
Hello, I'm a new user of swagger-core and I didn't find a way to apply my custom deserializer object in my `Example Value` and `Schema` fields in swagger-ui. Currently, the...
Currently, all 3.x.x versions of OpenAPI Specification define [Header object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#headerObject) as : > The Header Object follows the structure of the **Parameter Object** with the following changes: > > 1....
Currently swagger-core is jackson-only, many users want to support GSON. Need to see how feasible this is, but it would be nice if user-selectable.
Would like to be able to produce the following yaml snippet using annotations but not sure how to create nestable entries: ``` x-amazon-apigateway-integration: type: aws_proxy httpMethod: POST uri: Fn::Sub: "arn:aws:apigateway:${AWS::Region}:lambda:path/2015-03-31/functions/${GetProductsFunction.Arn}/invocations"...
An attempt to properly map `byte[]` to the `ByteArraySchema` or `BinarySchema` depending on the format specified (if any). The idea here is to introduce the support in `PrimitiveType` of types...
### Summary Ran into this issue while working with springdocs-openapi https://github.com/springdoc/springdoc-openapi/issues/1525 Null vendor exensions are allowed via the OpenAPI spec detailed [here](https://swagger.io/docs/specification/openapi-extensions/) > The extension value can be a primitive,...