route.prefix_api
Route group prefix does not start with its API's prefix.
Area 7, HTTP; not declinable; the next step is usually the agent's.
A group's prefix starts with its API's, so each API's routes, OpenAPI document and record stay its own:
application { apis: { main: { prefix: /v1 } }}
use memos/types { MemoView }use memos/actions { AddMemo, add_memo }routes Memos { prefix: /memos POST / { authentication: RouteAuthentication.none input: AddMemo output: MemoView run: add_memo(input) }}
error Memos's prefix doesn't start with API main's
--> domains/memos/routes/memos.jadpo:5:13
|5 | prefix: /memos | ^^^^^^ outside `/v1`
- reason
- A group's prefix starts with its API's (
/v1formain), so each API's routes, OpenAPI document and record stay its own. - next
- Start the prefix with
/v1, or name the group's API withapi:(agent) - rule
- route.
prefix_ api - help
- https://jadpo.
dev/docs/errors/route. prefix_ api
Markdown for agents: /docs/errors/route.prefix_api.md.Built from Jadpo main at aee2e8f.