Link to API endpoints with api: syntax
Link to API endpoints by HTTP method and path using the api: link syntax, instead of hardcoding URL slugs. Fern resolves these links to the correct endpoint URL at build time.
This works in Markdown pages, OpenAPI description fields, and Fern Definition docs fields.
Learn more about linking to API endpoints.