diff --git a/src/controllers/session.rs b/src/controllers/session.rs index 3aa7e76f225..7c95e29a7c7 100644 --- a/src/controllers/session.rs +++ b/src/controllers/session.rs @@ -76,8 +76,8 @@ pub struct AuthorizeQuery { /// /// ## Query Parameters /// -/// - `code` – temporary code received from the GitHub API **(Required)** -/// - `state` – state parameter received from the GitHub API **(Required)** +/// - `code` - temporary code received from the GitHub API **(Required)** +/// - `state` - state parameter received from the GitHub API **(Required)** #[utoipa::path( get, path = "/api/private/session/authorize", diff --git a/src/snapshots/crates_io__openapi__tests__openapi_snapshot-2.snap b/src/snapshots/crates_io__openapi__tests__openapi_snapshot-2.snap index 6c7e90967b9..861164c4f8f 100644 --- a/src/snapshots/crates_io__openapi__tests__openapi_snapshot-2.snap +++ b/src/snapshots/crates_io__openapi__tests__openapi_snapshot-2.snap @@ -1422,7 +1422,7 @@ expression: response.json() }, "/api/private/session/authorize": { "get": { - "description": "This route is called from the GitHub API OAuth flow after the user accepted or rejected\nthe data access permissions. It will check the `state` parameter and then call the GitHub API\nto exchange the temporary `code` for an API token. The API token is returned together with\nthe corresponding user information.\n\nsee \n\n## Query Parameters\n\n- `code` – temporary code received from the GitHub API **(Required)**\n- `state` – state parameter received from the GitHub API **(Required)**", + "description": "This route is called from the GitHub API OAuth flow after the user accepted or rejected\nthe data access permissions. It will check the `state` parameter and then call the GitHub API\nto exchange the temporary `code` for an API token. The API token is returned together with\nthe corresponding user information.\n\nsee \n\n## Query Parameters\n\n- `code` - temporary code received from the GitHub API **(Required)**\n- `state` - state parameter received from the GitHub API **(Required)**", "operationId": "authorize_session", "responses": { "200": {