swagger-parser
swagger-parser copied to clipboard
Swagger Spec to Java POJOs
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 -...
Default value of array type is not converted correctly when converting from swagger 2 to openapi 3,
### 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...
 here, wo should determine whether the pruduce list is empty, rather than null. ``` if (produces != null && pruduces.size() > 0) { mediaTypes.clear(); mediaTypes.addAll(produces); } ```