apispec

When using the api-spec layout, this front matter defines the URL to use to generate the Redoc API docs.

apispec: "https://example.com/openapi.json"
layout: api-spec

If you don’t specify apispec with this layout, you must include a spec.yaml file in the same page bundle.

In this article...