OpenAPIs tools

From ETSI Forge
Revision as of 14:46, 25 February 2019 by Carignani (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

API Design tools[edit | edit source]

swagger-ui-watcher[edit | edit source]

https://github.com/moon0326/swagger-ui-watcher

Restlet[edit | edit source]

  • (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)

Splitting and merging the specifications

JSON REFS[edit | edit source]

  • “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[edit | edit source]

  • 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.

Testing the APIs[edit | edit source]

Dredd[edit | edit source]

  • 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[edit | edit source]

Swagger-test[edit | edit source]

Oatts[edit | edit source]

Conversions among different formats[edit | edit source]

AsciiDoctor[edit | edit source]

Swagger2Markup[edit | edit source]

swagger2RAML[edit | edit source]

OpenApis and RAML two way converters[edit | edit source]

Bootprint-openapi[edit | edit source]

Validation[edit | edit source]

JSON schema validation[edit | edit source]

Continuous integration[edit | edit source]

Validating Swagger Specs with Jenkins[edit | edit source]

Detect breakage between versions of API[edit | edit source]

OpenAPIs and Jenkins[edit | edit source]