swagger-parser icon indicating copy to clipboard operation
swagger-parser copied to clipboard

Swagger Spec to Java POJOs

Results 261 swagger-parser issues
Sort by recently updated
recently updated
newest added

Create OSGi bundle artifacts instead of plain JAR similar to swagger-core. It is required to use Swagger parser as dependency of Swagger request validator inside Apache Karaf OSGi container installed...

As per swagger docs - https://swagger.io/docs/specification/api-host-and-base-path/ > If the servers array is not provided or is empty, the server URL defaults to / While parsing a swagger json with -...

### Q&A - OS: [macOS] - Browser: [chrome] - Version: [108.0.5359.124 (Official Build) (arm64)] - Method of installation: [docker] - Swagger-Editor version: ["4.14.0"] - Swagger/OpenAPI version: [Swagger 2.0 -> OpenAPI...

Reference resolution fails. Seems to be caused by using the same name in both openapi.yaml components/schemas and the filename of the referenced schema file. Please see details and example in...

Swagger Parser does not detect or validate swagger 2.0 definitions with missing response schema definitions. The following code snippet has been used to validate the swagger definition and it fails...

The Discriminator class contains some information to inform how deserialization should occur, given the property name and the mapping to subclasses I would expect to be able to dispatch appropriately....

When providing a discriminator for subtypes you can provide a reference to the target type for each discriminator value (see https://swagger.io/docs/specification/data-models/inheritance-and-polymorphism/) I would expect this to be correctly resolved to...

![image](https://user-images.githubusercontent.com/74398769/207766363-9123b87a-1ad7-40ba-9272-6d7bf052174d.png) here, wo should determine whether the pruduce list is empty, rather than null. ``` if (produces != null && pruduces.size() > 0) { mediaTypes.clear(); mediaTypes.addAll(produces); } ```