swagger-parser
swagger-parser copied to clipboard
Swagger Spec to Java POJOs
Bumps org.apache.commons:commons-lang3 from 3.13.0 to 3.14.0. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands...
The Parser ignore the `readOnly` attribute on the property `Order.customer` ``` openapi: "3.0.1" info: title: test version: "1.0" paths: /ping: get: operationId: ping responses: 200: description: OK /order: get: operationId:...
``` openapi: 3.0.3 info: title: My Title description: Mydescription version: 0.0.1 paths: /nodes/{uuid}/rights: $ref: "traceability/nodes.yaml#/paths/~1nodes~1{uuid}~1rights" ``` ``` openapi: 3.0.3 info: title: nodes.yaml version: 0.0.1 paths: /nodes/{uuid}/rights: get: operationId: listNodeRights tags:...
Consider the following schemas: TestCase.yaml: ``` components: schemas: TestCase_TestCase: anyOf: - $ref: ./TestCase.v1.yaml#/components/schemas/TestCase_v1_TestCase TestCase_Foo: properties: FooTypes: items: $ref: ./TestCase.yaml#/components/schemas/TestCase_FooType type: array type: object TestCase_FooType: enum: - All - OEM type:...
ParseOptions.setResolve(true) eliminates (replaces) operation response refs but not requestBody refs or schema refs swagger-parser version 2.1.1 sample spec: In the parsed results, the /user/logout response does not include the ref...
Right now these are the storage of some json schema numeric constraints for this library's Java parsing: BigDecimal maximum/minimum BigDecimal exclusiveMaximum/exclusiveMinimum Integer minLength/maxLength Integer minProperties/maxProperties Integer minItems/maxItems BigDecimal multipleOf And...
When parsing this spec: ``` # OAS document that uses 3.1 features: # 'null' type # type array openapi: 3.1.0 info: version: 1.0.0 title: Example license: name: MIT identifier: MIT...
Out project reports the following CVE when we use latest `io.swagger.parser.v3:swagger-parser:2.1.18` https://nvd.nist.gov/vuln/detail/CVE-2022-1471 Is it possible to move to SnakeYaml v2 to resolve this CVE?
### Generated classes are duplicated in the following situation: If object A is referenced as a response in API_endpoint1, And object B iis referenced as a response API_endpoint2, where B...
In the schema below from https://github.com/APIs-guru/openapi-directory/blob/main/APIs/powerdns.local/0.0.13/swagger.yaml: ``` swagger: "2.0" schemes: - http - https host: sedra.bethmardutho.org basePath: /api info: contact: email: [email protected] description: |- The SEDRA API is documented in...