{ "swagger": "2.0", "info": { "description": "Configuration API", "version": "1.0.0", "title": "Configuration API", "contact": { "email": "you@your-company.com" }, "license": { "name": "Apache 2.0", "url": "http://www.apache.org/licenses/LICENSE-2.0.html" } }, "tags": [ { "name": "Configuration", "description": "Configuration" } ], "paths": { "/api/configuration/01/maintenance": { "get": { "tags": [ "Configuration" ], "summary": "Configuration Maintenance Bank 01", "operationId": "Configuration.Bank01.Maintenance", "description": "This api will return the maintenance details for bank 01", "produces": [ "application/json" ], "responses": { "200": { "description": "search results matching criteria", "schema": { "type": "array", "items": { "$ref": "#/definitions/MaintenanceResponse" } } }, "400": { "description": "bad input parameter" } } } }, "/api/configuration/02/maintenance": { "get": { "tags": [ "Configuration" ], "summary": "Configuration Maintenance Bank 02", "operationId": "Configuration.Bank02.Maintenance", "description": "This api will return the maintenance details for bank 02", "produces": [ "application/json" ], "responses": { "200": { "description": "search results matching criteria", "schema": { "type": "array", "items": { "$ref": "#/definitions/MaintenanceResponse" } } }, "400": { "description": "bad input parameter" } } } } }, "definitions": { "MaintenanceResponse": { "type": "object", "properties": { "maintenance": { "type": "boolean" }, "maintenanceMessage": { "type": "string" } } } }, "host": "virtserver.swaggerhub.com", "basePath": "/cpb/ConfigurationV2/1.0.0", "schemes": [ "https" ] }