Skip to main content

SERVED_OPERATIONS

Constant SERVED_OPERATIONS 

Source
pub const SERVED_OPERATIONS: &[(&str, &str)];
Expand description

Every (METHOD, path) the daemon serves, in the path-template form the published OpenAPI document uses (gonzalo#198).

This is the list the schema artifact is checked against, in both directions: a route added here but not to docs/api/openapi.json fails a test, and so does one documented but not served. It exists because a generated client is only as good as the description it was generated from, and a description nothing checks drifts silently.