Repository navigation
Commit 1e8a204
docs: serve api-catalog by enabling download-spec (#890)
* docs: serve api-catalog by enabling download-spec
The docs site advertises </.well-known/api-catalog>; rel="api-catalog"
in its Link header, but that path returns 404 because no OpenAPI
download is configured.
Adding "download-spec" to contextual.options makes Mintlify publish the
RFC 9727 linkset at /.well-known/api-catalog, linking each OpenAPI spec
declared in docs.json (including the OpenHands Cloud spec) so agents can
discover the API.
Co-authored-by: openhands <openhands@all-hands.dev>
* docs: exclude legacy V0 spec from api-catalog
The legacy V0_openapi.json is unreferenced in docs.json but Mintlify
auto-uploads every OpenAPI spec in the repo, so enabling download-spec
advertised it in the /.well-known/api-catalog linkset alongside the two
current specs. Add a .mintignore entry to exclude it from publishing.
Co-authored-by: openhands <openhands@all-hands.dev>
---------
Co-authored-by: openhands <openhands@all-hands.dev>
Co-authored-by: enyst <engel.nyst@gmail.com>1 parent f39a24e commit 1e8a204
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
| 705 | + | |
705 | 706 | | |
706 | 707 | | |
707 | 708 | | |
| |||
0 commit comments