swagger-parser
swagger-parser copied to clipboard
Swagger Spec to Java POJOs
##### Description When an inline schema has empty title, the resulted model has an empty name causing schema to not properly be resolved. ##### swagger-parser version Version 2.1.22 ##### OpenAPI...
Fixes issue #2113 + some fixes so test run also on Windows
Fix cross-path reference parameter ref resolve #2116
Fix issue #2118 with assigning empty model name when title empty for inline schema
##### Description When parsing the Parameters section from an operation, cross-path reference parameters are ignored. This is not consistent with other elements which are properly included in the final OpenAPI...
I am using swagger parser to parse various openapi specifications. OAS2.0 and 3.0 specifications works fine. However, OAS3.1 specification fails to parse. ``` io.swagger.parser.v3 swagger-parser 2.1.22 ``` Code sample ```...
**Input** Given the following OpenAPI specs: openapi.yaml ```yaml openapi: 3.0.2 info: title: But version: 1.0.0 paths: '/resource': $ref: operation.yaml#/paths/~1resource ``` operation.yaml ```yaml openapi: 3.0.2 info: title: But version: 1.0.0 paths:...
https://github.com/swagger-api/swagger-parser/commit/9a5cd1990b06374c75999288824dca83a2cef4e3 introduced the behavior that properties without type defined are implied of type object. I don't think this statement is true. The absence of type means it is any type...
Mozilla Rhino is vulnerable to XML external entities (XXE) due to an insecure XML parsing in the toXml function. Applications that use this function to accept untrusted input could be...
Hello, When using OpenAPI Specification where the operations of an endpoint are being referenced using another file, the examples are parsed as strings rather than objects in the absence of...