| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -51,7 +51,7 @@ Supported [Integrations](https://openapi-core.readthedocs.io/en/latest/integrati | |||
| 51 | 51 | | [FastAPI](https://openapi-core.readthedocs.io/en/latest/integrations/fastapi/) | versions 0.11x, 0.12x, and 0.13x | Middleware (low-level via Starlette integration) | | |
| 52 | 52 | | [Flask](https://openapi-core.readthedocs.io/en/latest/integrations/flask/) | versions 2 and 3 | View decorator, class-based view, and low-level classes | | |
| 53 | 53 | | [Requests](https://openapi-core.readthedocs.io/en/latest/integrations/requests/) | default dependency set | Low-level request, webhook request, and response classes | | |
| 54 | - | [Starlette](https://openapi-core.readthedocs.io/en/latest/integrations/starlette/) | versions 0.4x and 0.5x | Middleware and low-level classes | | ||
| 54 | + | [Starlette](https://openapi-core.readthedocs.io/en/latest/integrations/starlette/) | versions 0.4x, 0.5x, and 1.x | Middleware and low-level classes | | ||
| 55 | 55 | | [Werkzeug](https://openapi-core.readthedocs.io/en/latest/integrations/werkzeug/) | default dependency set | Low-level request and response classes | | |
| 56 | 56 | ||
| 57 | 57 | ## Installation | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | # Starlette | |
| 2 | 2 | ||
| 3 | - This section describes integration with the [Starlette](https://www.starlette.io) ASGI framework. The integration supports Flask versions 0.4x and 0.5x. | ||
| 3 | + This section describes integration with the [Starlette](https://www.starlette.io) ASGI framework. The integration supports Starlette versions 0.4x, 0.5x, and 1.x. | ||
| 4 | 4 | ||
| 5 | 5 | ## Middleware | |
| 6 | 6 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -64,7 +64,7 @@ django = {version = ">=4.0", optional = true} | |||
| 64 | 64 | falcon = {version = ">=4.0", optional = true} | |
| 65 | 65 | flask = {version = ">=2.0", optional = true} | |
| 66 | 66 | aiohttp = {version = ">=3.0", optional = true} | |
| 67 | - starlette = {version = ">=0.40.0,<0.60.0", optional = true} | ||
| 67 | + starlette = {version = ">=0.40.0,<1.1.0", optional = true} | ||
| 68 | 68 | isodate = "*" | |
| 69 | 69 | more-itertools = "*" | |
| 70 | 70 | openapi-schema-validator = ">=0.7.0,<0.9.0" | |
@@ -181,6 +181,7 @@ env_list = [ | |||
| 181 | 181 | "contrib-requests-default", | |
| 182 | 182 | "contrib-starlette-04x", | |
| 183 | 183 | "contrib-starlette-05x", | |
| 184 | + "contrib-starlette-1x", | ||
| 184 | 185 | "contrib-werkzeug-default", | |
| 185 | 186 | ] | |
| 186 | 187 | isolated_build = true | |
@@ -243,5 +244,8 @@ set_env = { POETRY_EXTRA = "starlette", CONTRIB_PACKAGE = "starlette", CONTRIB_S | |||
| 243 | 244 | [tool.tox.env."contrib-starlette-05x"] | |
| 244 | 245 | set_env = { POETRY_EXTRA = "starlette", CONTRIB_PACKAGE = "starlette", CONTRIB_SPEC = ">=0.50.0,<0.60.0", CONTRIB_PATHS = "tests/integration/contrib/starlette" } | |
| 245 | 246 | ||
| 247 | + [tool.tox.env."contrib-starlette-1x"] | ||
| 248 | + set_env = { POETRY_EXTRA = "starlette", CONTRIB_PACKAGE = "starlette", CONTRIB_SPEC = ">=1.0.0,<2.0.0", CONTRIB_PATHS = "tests/integration/contrib/starlette" } | ||
| 249 | + | ||
| 246 | 250 | [tool.tox.env."contrib-werkzeug-default"] | |
| 247 | 251 | set_env = { CONTRIB_PACKAGE = "werkzeug", CONTRIB_SPEC = "", CONTRIB_PATHS = "tests/integration/contrib/werkzeug" } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments