diff --git a/crates/crates_io_api_types/src/lib.rs b/crates/crates_io_api_types/src/lib.rs index 8e8e5a5e6c5..4fdf3eeae00 100644 --- a/crates/crates_io_api_types/src/lib.rs +++ b/crates/crates_io_api_types/src/lib.rs @@ -543,7 +543,7 @@ pub enum EncodableOwner { login: String, /// The URL to the user's GitHub profile. - #[schema(example = "https://github.com/ghost")] + #[schema(example = "https://github.com/ghost", deprecated)] url: String, /// The user's display name. diff --git a/packages/crates-io-api-client/schema.ts b/packages/crates-io-api-client/schema.ts index 5dc0998cb99..cfe8b3dcac2 100644 --- a/packages/crates-io-api-client/schema.ts +++ b/packages/crates-io-api-client/schema.ts @@ -1565,6 +1565,7 @@ export interface components { */ name: string | null; /** + * @deprecated * @description The URL to the user's GitHub profile. * @example https://github.com/ghost */ diff --git a/src/tests/snapshots/integration__openapi__openapi_internal_snapshot-2.snap b/src/tests/snapshots/integration__openapi__openapi_internal_snapshot-2.snap index bea546fabff..71663038df9 100644 --- a/src/tests/snapshots/integration__openapi__openapi_internal_snapshot-2.snap +++ b/src/tests/snapshots/integration__openapi__openapi_internal_snapshot-2.snap @@ -920,6 +920,7 @@ expression: response.json() ] }, "url": { + "deprecated": true, "description": "The URL to the user's GitHub profile.", "example": "https://github.com/ghost", "type": "string" diff --git a/src/tests/snapshots/integration__openapi__openapi_snapshot-2.snap b/src/tests/snapshots/integration__openapi__openapi_snapshot-2.snap index 055ad1a7778..8cf1677127c 100644 --- a/src/tests/snapshots/integration__openapi__openapi_snapshot-2.snap +++ b/src/tests/snapshots/integration__openapi__openapi_snapshot-2.snap @@ -920,6 +920,7 @@ expression: response.json() ] }, "url": { + "deprecated": true, "description": "The URL to the user's GitHub profile.", "example": "https://github.com/ghost", "type": "string"