Jadpo is experimental and not ready for production. These docs follow the compiler's main branch as of 30 Oct 2026. What's built · Install 0.1.0
jadpo
Reference: HTTP

HTTP · rule

api.serve_openapi_invalid

API serve_openapi is not true or false.

Area 7, HTTP; not declinable; the next step is usually the agent's.

An API serves its OpenAPI document unless its entry turns it off with false:

example
application {    apis: {        admin: {            prefix: /admin            serve_openapi: "no"        }    }}
text
error: `"no"` isn't `true` or `false` --> app.jadpo:5:28  |5 |             serve_openapi: "no"  |                            ^^^^ not a `Bool`  reason: `serve_openapi:` says whether the API serves its OpenAPI document at `<prefix>/openapi.json`: `false` turns it off, and `true`, the default, can be left out.  next: Write `serve_openapi: false`, or leave `serve_openapi:` out (agent)  rule: api.serve_openapi_invalid  help: https://jadpo.dev/docs/errors/api.serve_openapi_invalidcheck failed: 1 error, 1 file

Markdown for agents: /docs/errors/api.serve_openapi_invalid.md.Built from Jadpo main at a707efb.