{"repo":"swagger-api/swagger-parser","free":true,"listed":false,"github":"https://github.com/swagger-api/swagger-parser","clone":"git clone https://github.com/swagger-api/swagger-parser.git","description":"Swagger Spec to Java POJOs","language":"Java","stars":864,"topics":["swagger","swagger-parser","java","openapi-specification","rest","rest-api","openapi3","openapi","open-source","swagger-oss"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"Swagger Parser NOTE: If you're looking for swagger-parser 1.X and OpenAPI 2.0, please refer to v1 branch NOTE: Since version 2.1.0 Swagger Parser supports OpenAPI 3.1; see this page for details Table of contents - Overview - Table of Contents - Usage - Adding to your project - Prerequisites - Authentication - Options - Resolve - ResolveFully - Flatten - ResolveCombinators - Extensions - OpenAPI 3.1 Support - License Overview This is the Swagger Parser project, which parses OpenAPI definitions in JSON or YAML format into swagger-core representation as Java POJO, returning any validation warnings/errors. It also provides a simple framework to add additional converters from different formats into the Swagger objects, making the entire toolchain available. Usage Using the Swagger Parser is simple. Once included in your project, you can read a OpenAPI Specification from any location: or from a string: If you are providing a Swagger/OpenAPI 2.0 document to the parser , e.g.: the Swagger/OpenAPI 2.0 document will be first converted into a comparable OpenAPI 3.0 one. You can also directly use OpenAPIV3Parser which only handles OpenAPI 3.0 documents, and provides a convenience method to get directly the parsed OpenAPI object: Adding to your project You can include this library from Sonatype OSS for SNAPSHOTS, or Maven central for releases. In your dependencies: Prerequisites You need the following installed and available in your $PATH: Java 11 Apache maven 3.x After cloning the projec","default_branch":null,"files":null,"tree":[],"storefront":"/r/swagger-api","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/swagger-api/swagger-parser/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}