From 5a03dd1942bb29bc63d41c96cea49b7bcadec6f3 Mon Sep 17 00:00:00 2001 From: Oleksii Karpenko Date: Mon, 8 Jul 2024 13:12:51 +0300 Subject: [PATCH] fix: Add build script to fix doc build dependency --- build.rs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 build.rs diff --git a/build.rs b/build.rs new file mode 100644 index 0000000..985901c --- /dev/null +++ b/build.rs @@ -0,0 +1,5 @@ +fn main() { + if std::env::var("DOCS_RS").is_ok() { + std::env::set_var("K8S_OPENAPI_ENABLED_VERSION", "1.26"); + } +}