UNPKG

rapipdf

Version:

RapiPdf - Generate PDF from Open API spec

29 lines 863 B
{ "swagger": "2.0", "info": { "title": "Spec split into multiple files", "description": "This is to test the spec that is split into multiple file. In this case the schema definitions are defined in seperate json " }, "consumes": [ "application/json"], "produces": [ "application/json"], "paths": { "/api/employee": { "get": { "tags": ["Employee Details"], "summary": "List of employees", "operationId": "empDetails", "responses": { "200": { "description": "The schema-defination of the response model is picked from a sperate `json` file", "schema": { "type": "array", "items": { "$ref": "../../../specs/test-specs/partial.json#/definitions/employee" } } } } } } } }