swagger-parser
swagger-parser copied to clipboard
Swagger Spec to Java POJOs
Hi! In our quarkus project we call `OpenApiInteractionValidator.createForSpecificationUrl("/META-INF/openapi.yaml")...` however, deep down in `io.swagger.v3.parser.util.ClasspathHelper` there's a call `ClasspathHelper.class.getResourceAsStream(file);` which gives a null InputStream. However, when debugging on that step and running...
I noticed this problem a while ago. I did report it to the [penapi-generator/issues/14327](https://github.com/OpenAPITools/openapi-generator/issues/14327) . At the time it wasn't a big issue and I suspected it was a problem...
Consider the following swagger 2.0 file (simplified version of petstore) ``` swagger: '2.0' info: description: 'This is a sample server Petstore server. You can find out more about Swagger at...
Hi, I have some $ref references in my OpenApi specification that work fine on Linux, but fail on Windows. The problem seems to be in `ExternalRefProcessor#processRefToExternalSchema` (https://github.com/swagger-api/swagger-parser/blob/master/modules/swagger-parser-v3/src/main/java/io/swagger/v3/parser/processors/ExternalRefProcessor.java#L127) within the following...
Hi So when using a discriminator I get a stack overflow. You can only see this when running in verbose. Swagger Version: 2.2.3 Java Version: 1.8 I generate Java API...
This PR is to fix [issue 1886](https://github.com/swagger-api/swagger-parser/issues/1886) When parsing openapi definitions the results are different on Linux and Windows systems. It has been documented with the test: `OpenAPIV3ParserTest#testIssue1886`. On Linux...
Hi Team, I'm using `OpenAPIV3Parser` to get openAPI specifications for the parser version 2.1.13. I am wondering if it is possible to validate the AllOf schema in a way that...
The default value of an enum changes depending on whether it is defined in the main input file or in a referenced file. Although I'm new to swagger-parser, this seems...
## Bug The local refs to another schema inside a path definition is not resolved using `ResolverFully`. This types of refs are discouraged, but they can be done according to...
The last **[json-schema-validator release](https://github.com/java-json-tools/json-schema-validator/releases)** is from **2020** ( looks like it's no longer maintained :thinking: ). - **CVE-2020-8908** vulnerability is now present on the project's **_Google/Guava_** dependency (**_28.2-android_**). :dart: IMHO,...