From 41491f5334f70493c474602d0d4b1e004d0f229d Mon Sep 17 00:00:00 2001 From: DICE_Lab <92897003+syshenyu@users.noreply.github.com> Date: Sun, 24 Sep 2023 00:25:12 +0800 Subject: [PATCH] feat: Add `binary` to `OpenAPIFormat` (#2330) :construction: Try add `binary format` for openapi --- litestar/openapi/spec/enums.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litestar/openapi/spec/enums.py b/litestar/openapi/spec/enums.py index 3b7bb96093..da9adeabd1 100644 --- a/litestar/openapi/spec/enums.py +++ b/litestar/openapi/spec/enums.py @@ -26,6 +26,7 @@ class OpenAPIFormat(str, Enum): IRI_REFERENCE = "iri-reference" # noqa: PIE796 UUID = "uuid" REGEX = "regex" + BINARY = "binary" class OpenAPIType(str, Enum):