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"); + } +}