OpenAPI (AKA Swagger)
{
"swagger": "2.0",
"info": {
"contact": {
"name": "Ortus Solutions",
"email": "[email protected]",
"url": "http://forgebox.io"
},
"termsOfService": "https://www.forgebox.io/policies/terms",
"version": "2.0",
"license": {
"name": "Trademark/Copyright",
"url": "https://www.forgebox.io/policies/terms"
},
"title": "ForgeBox IO",
"description": "This is the API which powers ForgeBox"
},
"host": "forgebox.io",
"basePath": "/api/v1",,
"x-entryPoint": {
"development": "http://localhost:9095",
"production": "https://forgebox.io",
"staging": "http://forgebox.stg.ortussolutions.com"
},
"schemes": "https",
"consumes": [
"application/json",
"multipart/form-data",
"application/x-www-form-urlencoded"
],
"produces": [
"application/json"
],
"paths": {
"/echo": {
"x-resourceId": "c2de46855ecc5e676a20e368f4e70297",
"get": {
"x-coldbox-handler": "Main",
"parameters": {
"x-resourceId": "166e64f6c3677d0c513901242a3e702d"
},
"produces": [
"application/json"
],
"x-resourceId": "aeaa242ea76932bd878ddfb1c1f2d881",
"responses": {
"x-resourceId": "a9f0a3a63fe6b5bd954760c6ac09e85c"
},
"operationId": "Main.echo",
"description": "Simple API echo command"
}
}
},
"securityDefinitions": {
"x-app-token": {
"in": "header",
"name": "x-app-token",
"type": "basic",
"description": "The secret application token"
}
},
"x-extensionDetection": true,
"x-throwOnInvalidExtension": false
}YAML Support
Last updated