openapi-generator-cli: add passthru.updateScript

This commit is contained in:
eveeifyeve
2025-11-09 14:59:38 +11:00
parent cbb30140cf
commit f2d23ab872

View File

@@ -5,6 +5,7 @@
fetchFromGitHub,
maven,
makeWrapper,
nix-update-script,
}:
let
@@ -47,9 +48,12 @@ let
runHook postInstall
'';
passthru.tests.example = callPackage ./example.nix {
passthru = {
updateScript = nix-update-script { };
tests.example = callPackage ./example.nix {
openapi-generator-cli = this;
};
};
meta = {
description = "Allows generation of API client libraries (SDK generation), server stubs and documentation automatically given an OpenAPI Spec";