Skip to content

Commit 0f250ae

Browse files
committed
Update version and status code
1 parent d234314 commit 0f250ae

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/reference/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ info:
355355
name: Apache 2.0
356356
url: https://www.apache.org/licenses/LICENSE-2.0.html
357357
title: BlueAPI Control
358-
version: 1.0.3
358+
version: 1.1.0
359359
openapi: 3.1.0
360360
paths:
361361
/config/oidc:

src/blueapi/service/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
from .runner import WorkerDispatcher
5858

5959
#: API version to publish in OpenAPI schema
60-
REST_API_VERSION = "1.0.3"
60+
REST_API_VERSION = "1.1.0"
6161

6262
LICENSE_INFO: dict[str, str] = {
6363
"name": "Apache 2.0",
@@ -535,7 +535,7 @@ def health_probe() -> HealthProbeResponse:
535535
return HealthProbeResponse(status=Health.OK)
536536

537537

538-
@secure_router.get("/logout", status_code=status.HTTP_200_OK, include_in_schema=False)
538+
@secure_router.get("/logout", include_in_schema=False)
539539
def logout(runner: Annotated[WorkerDispatcher, Depends(_runner)]) -> RedirectResponse:
540540
"""Redirect to logout url"""
541541
config = runner.run(interface.get_oidc_config)

0 commit comments

Comments
 (0)