Difference between revisions of "Oas tools"
From ETSI Forge
(Created page with "__TOC__ = A list of tools to work with OpenAPIs = == swagger2RAML == * A swagger2RAML converter tool: https://github.com/8x8Cloud/swagger2raml == JSON schema validation ==...") |
(No difference)
|
Revision as of 17:11, 11 July 2017
Contents
- 1 A list of tools to work with OpenAPIs
- 1.1 swagger2RAML
- 1.2 JSON schema validation
- 1.3 Restlet
- 1.4 JSON REFS
- 1.5 Swagger-yaml
- 1.6 Dredd
- 1.7 Postman
- 1.8 Bootprint-openapi
- 1.9 Swagger-test
- 1.10 OpenApis and RAML
- 1.11 Oatts
- 1.12 Validating Swagger Specs with Jenkins
- 1.13 Detect breakage between versions of API
- 1.14 OpenAPIs and Jenkins
- 1.15 AsciiDoctor
- 1.16 Swagger2Markup
A list of tools to work with OpenAPIs
swagger2RAML
- A swagger2RAML converter tool: https://github.com/8x8Cloud/swagger2raml
JSON schema validation
- http://json-schema.org/implementations.html
- validating JSON against a JSON schema: An online example can be found at: http://www.jsonschemavalidator.net/. It’s worth noting that the online swagger editor (http://editor.swagger.io) doesn’t validate JSON examples contained within a definition file, since that’s deemed out of scope.
- https://tools.ietf.org/html/draft-newton-json-content-rules-08
Restlet
- (https://restlet.com/)
- Proprietary tools to manage RestFul APIs and Microservises
- Tools:
- Studio: Online tool to graphically design APIs (paid service)
- Client: Google Chrome extension to run tests against a HTTP API
- Cloud: Deploy online API (paid service)
JSON REFS
- “json-refs is a simple library for interacting with JSON References and JSON Pointers. While the main purpose of this library is to provide JSON References features, since JSON References are a combination of Object structure and a JSON Pointer, this library also provides some features for JSON Pointers as well.”
- It will provide JSON resolution also inside YAML files and can output JSON, it is therefore useful to merge different JSON and YAML files into a larger file
- Run on NodeJS
- https://github.com/whitlockjc/json-refs
- Install
- $ npm I –g json-refs
- Usage
- $ cd folder/with/yaml/tree
- $ json-refs resolve –y anything.split.yaml > anything.merged.yaml
Swagger-yaml
- https://github.com/idlerun/swagger-yaml
- an alternate structure for defining a Swagger API which splits the definition into separate files which are combined by a NodeJS script prior to processing by the Swagger Generator.
Dredd
- http://dredd.readthedocs.io/en/latest/
- HTTP API Testing Framework, Dredd is a language-agnostic command-line tool for validating API description document against backend implementation of the API, Dredd reads your API description and step by step validates whether your API implementation replies with responses as they are described in the documentation.
- Supports OpenAPI and API blueprint files
Postman
- https://www.getpostman.com/
- Automatic HTTP API test suites from JSON files
Bootprint-openapi
- https://github.com/bootprint/bootprint-openapi
- https://bootprint.knappi.org/
- Converts a openapi-definition into a static html page
- Nodejs
- https://www.npmjs.com/package/bootprint-swagger
Swagger-test
- https://www.npmjs.com/package/swagger-test
- Specification-driven REST API testing
OpenApis and RAML
Oatts
Validating Swagger Specs with Jenkins
- https://drewish.com/2017/03/23/validate-swagger-docs-in-jenkins/
- It uses some bash scripting to send the JSON off to the the Swagger Validator Badge.
Detect breakage between versions of API
- http://swagger.io/using-swagger-to-detect-breaking-api-changes/
- Using Swagger to detect breaking API changes
- https://github.com/civisanalytics/swagger-diff
- https://github.com/zallek/swagger-diff
- https://www.npmjs.com/package/swagger-diff
OpenAPIs and Jenkins
AsciiDoctor
- Written in Ruby, Gem available
- http://asciidoctor.org/docs/
- Converts AsciiDoc to many formats, including PDF
Swagger2Markup
- https://github.com/Swagger2Markup/swagger2markup
- Converts openapis into asciidoc or markdown