Skip to main content

OPENAPI_SOURCE

Constant OPENAPI_SOURCE 

Source
pub const OPENAPI_SOURCE: &str = "snapshot";
Expand description

How the OpenAPI document was obtained when these types were generated: "live" when fetched live from the running canopy deployment, "snapshot" for an offline or docs.rs build against the committed openapi.snapshot.json.

This build: read from the committed openapi.snapshot.json because the live spec was unavailable (an offline or docs.rs build), so these types may lag canopy.