swagger-parser
swagger-parser copied to clipboard
Swagger Spec to Java POJOs
Hi, I am using swagger request validator library (version 2.22.0) in my project with below yaml configurations. ``` info: title: Sample API version: 1.0.0 openapi: 3.0.0 paths: /demo/{groupIdentifier}: get: description:...
Multiple parameters with the same name but different locations (for instance, `in: query` vs `in: header`) are wrongly handled by the parser if: * the parameters are described using JSON...
This is a very minor issue but I think the debug logging in ResolverFully.resolveSchemaProperty may be incorrect. It currently logs (at debug level) "avoiding infinite loop" if it _doesn't_ find...
I've been struggling to understand how resolving refs works and I've created a basic example to try and reproduce what I _think_ should happen when setting `resolve` to true. Below...
Hello, I am using 2.1.22 to parse the MS Graph API at the url here: https://raw.githubusercontent.com/microsoftgraph/msgraph-metadata/master/openapi/v1.0/openapi.yaml The result is no openApi object or messages.
Hi, I am trying this code and parsing https://forge.3gpp.org/rep/sa5/MnS/-/blob/Integration_Rel16_SA5_155_YAML/OpenAPI/TS28532_FaultMnS.yaml ParseOptions parseOptions = new ParseOptions(); parseOptions.setResolve(true); // implicit parseOptions.setResolveFully(true); String openApiSpec = schemaReference.getUrl(); // Replace with the actual path to your...
Currently, if an OpenAPI spec contains multiple relative refs to the same file, but those refs are located in different files and use different relative paths to reach the one...
Hi, I'm using the following version of the swagger-parser-v3 to resolve my api. io.swagger.parser.v3 swagger-parser-v3 2.1.22 When referencing schemas in oneOf's inline schema definitions properties, the resolved yaml file doesn't...
Update swagger-compat-spec-parser to use json-schema-validator v2.2.8 to address CVSS 3.0 level 5.4 security threat which originates from libphonenumber dependency. Note that json-schema-validator has had a change of groudId from com.github.fge...
Simple version bump.