Octri

specs import

Fetches a spec from a public address and ingests it as a new version, the same as specs push does with a file. It follows the pipeline to the end unless you pass --no-wait.

The address must be reachable from Octri's servers, so a URL behind your VPN or a login won't work. For a spec in a GitHub repository, connect the repository instead, so it stays in sync.

bash
octri specs import <url> [--no-wait]

Arguments

<url>stringrequired

The spec's address. --url <url> works too.

Flags

--no-waitboolean

Return once the import is accepted.

Examples

Import a published spec

bash
octri specs import https://api.acme.com/openapi.json