From ETSI Forge
- 1 API Design tools
- 2 Testing the APIs
- 3 Conversions among different formats
- 4 Validation
- 5 Continuous integration
API Design tools
- Proprietary tools to manage RestFul APIs and Microservises
- 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)
Splitting and merging the specifications
- “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
$ npm I –g json-refs
$ cd folder/with/yaml/tree $ json-refs resolve –y anything.split.yaml > anything.merged.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.
Testing the APIs
- 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
- Specification-driven REST API testing
- Generate basic unit test scaffolding for your OpenAPI specification.
Conversions among different formats
- Written in Ruby, Gem available
- Converts AsciiDoc to many formats, including PDF
- Converts openapis into asciidoc or markdown
- A swagger2RAML converter tool: https://github.com/8x8Cloud/swagger2raml
OpenApis and RAML two way converters
- Converts a openapi-definition into a static html page
JSON schema validation
- 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.
Validating Swagger Specs with Jenkins
- It uses some bash scripting to send the JSON off to the the Swagger Validator Badge.
Detect breakage between versions of API
- Using Swagger to detect breaking API changes