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