Skip to content

Commit

Permalink
Pin fastapi to <0.99 to use openapi <3.1 (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeshannon authored Nov 2, 2023
1 parent 4ead63b commit db8b681
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/user/reference/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ components:
type: object
info:
title: BlueAPI Control
version: 0.0.3
openapi: 3.1.0
version: 0.0.4
openapi: 3.0.2
paths:
/devices:
get:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies = [
"aiohttp",
"PyYAML",
"click<8.1.4",
"fastapi[all]<0.100",
"fastapi[all]<0.99",
"uvicorn",
"requests",
"dls-bluesky-core @ git+https://github.com/DiamondLightSource/dls-bluesky-core.git", #requires ophyd-async
Expand Down
2 changes: 1 addition & 1 deletion src/blueapi/service/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
WorkerTask,
)

REST_API_VERSION = "0.0.3"
REST_API_VERSION = "0.0.4"


@asynccontextmanager
Expand Down

0 comments on commit db8b681

Please sign in to comment.