Automatic endpoint
Every deployed function exposes its OpenAPI spec at:X-Jelou-Token required.
Public vs protected
| Config | security in spec |
|---|---|
Default (no public) | [{ "jelouToken": [] }] |
config: { public: true } | [] (no security) |
Every function automatically generates an OpenAPI 3.1 spec accessible at /openapi.json.
https://<slug>.fn.jelou.ai/openapi.json
X-Jelou-Token required.
| Config | security in spec |
|---|---|
Default (no public) | [{ "jelouToken": [] }] |
config: { public: true } | [] (no security) |
jelou dev
curl http://localhost:3000/openapi.json | jq .
.describe() annotations become description fields in the spec, improving your auto-generated API docs.Was this page helpful?