Add special .page.yaml file (I named the one below example.page.yaml -- the name must end in .page.yaml (so I could have named it anything.page.yaml but I could not name it anything.yaml.)
Add to sidebars.yaml (this isn't technically required, but if you want it to display in the sidebar then it would be required).
Prerequisites:
Having your API(s) in the API registry.
Note: if your API registry definition is private, to run the developer portal in your local environment, you will need to use the openapi-cli login command prior to yarn start to run the portal.
Three steps:
siteConfig.yaml
(how to find your snapshot URL).page.yaml
file (I named the one belowexample.page.yaml
-- the name must end in.page.yaml
(so I could have named itanything.page.yaml
but I could not name itanything.yaml
.)sidebars.yaml
(this isn't technically required, but if you want it to display in the sidebar then it would be required).Prerequisites:
Having your API(s) in the API registry.
Note: if your API registry definition is private, to run the developer portal in your local environment, you will need to use the openapi-cli login command prior to
yarn start
to run the portal.