Skip to content

docs: HTTP discovery docs drift after Rust migration #2873

@erayack

Description

@erayack

Description

The HTTP discovery documentation has drifted from the actual implementation following the Rust migration.

Primary Files Involved

  • Implementation Source:
    let mut doc = serde_json::json!({
    "cog_version": cog_version,
    "docs_url": "/docs",
    "openapi_url": "/openapi.json",
    "shutdown_url": "/shutdown",
    "healthcheck_url": "/health-check",
    "predictions_url": "/predictions",
    "predictions_idempotent_url": "/predictions/{prediction_id}",
    "predictions_cancel_url": "/predictions/{prediction_id}/cancel",
  • Documentation to Update:
    ### `GET /`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions