UNPKG

api-spec-converter

Version:

Convert API descriptions between popular formats such as OpenAPI(fka Swagger), RAML, API Blueprint, WADL, etc.

34 lines (33 loc) 949 B
{ "info": { "title": "Nodejs", "version": "1.0.0" }, "openapi": "3.0.0", "paths": { "/articles": { "get": { "operationId": "ArticleController.getAll", "responses": { "200": { "content": { "application/json": { "schema": { "$ref": "./external_ref.json" } } }, "description": "Successful response" }, "default": { "$ref": "./external_ref_fragment.json#/responses/Error" } }, "summary": "Get all", "tags": [ "Article" ] } } } }