saasify-to-openapi
Version:
Converts Saasify deployments to OpenAPI specs.
59 lines (58 loc) • 1.5 kB
JSON
{
"project": {
"name": "hello-world-required-query-param"
},
"id": "hello-world-required-query-param_360e148006098c95",
"enabled": true,
"version": "1",
"url": "http://localhost:5000/1/call/hello-world-required-query-param_360e148006098c95",
"user": "5c5a35cc1cd684a8f5fc93fa",
"createdAt": "2019-04-09T17:07:14.546Z",
"updatedAt": "2019-04-09T17:07:14.546Z",
"services": [
{
"route": "/",
"timeout": 0,
"enabled": true,
"httpMethod": "get",
"src": "index.ts",
"name": "helloWorld",
"definition": {
"config": {
"defaultExport": true,
"language": "typescript"
},
"params": {
"context": false,
"order": ["name"],
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"additionalProperties": false,
"required": ["name"],
"$schema": "http://json-schema.org/draft-07/schema#"
}
},
"returns": {
"async": false,
"schema": {
"type": "object",
"properties": {
"result": {
"type": "string"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}
},
"version": "1.0.9",
"title": "index"
}
}
]
}