generate_openapi_spec
Generate OpenAPI 3.0 specification from service definition
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"service": "<service>",
"resources": "<resources>"
},
"name": "generate_openapi_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Resource fields as name:type (string, text, integer, number, decimal, boolean, uuid, date, json, email, char(N), enum(a,b,c)). A list applies to every resource; an object maps resource → list, e.g. {"orders": ["customer_id:uuid", "total_cents:integer"]} | |
| naming | No | JSON property naming for every property, including id timestamps (default snake_case) | |
| license | No | info.license, e.g. {"name": "Apache-2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0"} (default MIT with its url) | |
| service | Yes | Service name | |
| version | No | API version, e.g. 1.0.0 or v2 (default: 1.0.0) | |
| withAuth | No | Require Bearer JWT auth (default: true) | |
| resources | Yes | Resource names, singular or plural (e.g. order, customers, line-items) |