{ "swagger": "2.0", "info": { "description": "Sample API showing how to use an Express application in the API Mediation Layer ecosystem", "version": "1.0.0", "title": "Helloworld in Express" }, "basePath": "/api/v1", "tags": [ { "name": "hello", "description": "Hello World!", "externalDocs": { "description": "Find out more", "url": "https://en.wikipedia.org/wiki/%22Hello,_World!%22_program" } } ], "schemes": [ "https" ], "paths": { "/hello": { "get": { "tags": [ "hello" ], "summary": "Retrieve a Hello world greeting", "description": "A **\"Hello, World!\" program** is a [computer program](https://en.wikipedia.org/wiki/Computer_program) that outputs or displays \"Hello, World!\" to a user. Being a very simple program in most [programming languages](https://en.wikipedia.org/wiki/Programming_language), it is often used to illustrate the basic [syntax](https://en.wikipedia.org/wiki/Syntax) of a programming language for a working program, and as such is often the very first program people write", "operationId": "hello", "produces": [ "application/json" ], "responses": { "200": { "description": "successful operation", "schema": { "$ref": "#/definitions/Greeting" } } } } } }, "definitions": { "Greeting": { "type": "object", "properties": { "greeting": { "type": "string", "example": "Hello world!" } } } }, "externalDocs": { "description": "Find out more about Hello World!", "url": "https://en.wikipedia.org/wiki/%22Hello,_World!%22_program" } }