Skip to content

Commit

Permalink
chore(deps): Update open api generator in python sdk client to 7.4.0
Browse files Browse the repository at this point in the history
Signed-off-by: Yatin Gupta <yatingupta7777@gmail.com>
  • Loading branch information
YatinGupta777 committed Apr 1, 2024
1 parent 2e5fb3b commit f6b6dfc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ jobs:
ls /usr/local/include/google/protobuf/
- name: Pull OpenAPI Generator CLI Docker image
run: |
docker pull openapitools/openapi-generator-cli:v5.4.0 &
docker pull openapitools/openapi-generator-cli:v7.4.0 &
docker pull openapitools/openapi-generator-cli:v5.2.1 &
- name: Create symlinks
run: |
Expand Down
2 changes: 1 addition & 1 deletion sdks/python/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ else
sed 's/io.k8s.apimachinery.pkg.apis.meta.v1.//' \
> $(WD)/swagger.json
cp ../../LICENSE $(WD)/LICENSE
$(DOCKER) openapitools/openapi-generator-cli:v5.4.0 \
$(DOCKER) openapitools/openapi-generator-cli:v7.4.0 \
generate \
--input-spec /wd/swagger.json \
--generator-name python \
Expand Down
8 changes: 4 additions & 4 deletions sdks/python/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
perSystem = { pkgs, lib, config, ... }:
let

openapi_generator_cli_5_4_0 = pkgs.openapi-generator-cli.overrideAttrs (oldAttrs: rec {
openapi_generator_cli_7_4_0 = pkgs.openapi-generator-cli.overrideAttrs (oldAttrs: rec {
pname = "openapi-generator-cli";
version = "5.4.0"; # update this when updating sdk Makefile
version = "7.4.0"; # update this when updating sdk Makefile
jarfilename = "${pname}-${version}.jar";
src = pkgs.fetchurl {
url = "mirror://maven/org/openapitools/${pname}/${version}/${jarfilename}";
Expand Down Expand Up @@ -54,7 +54,7 @@
pname = "argo-client-python-${version}";

nativeBuildInputs = [
openapi_generator_cli_5_4_0
openapi_generator_cli_7_4_0
pkgs.gnused
pythonEnv
];
Expand Down Expand Up @@ -85,7 +85,7 @@
devShells = {
default = pkgs.mkShell {
packages = with pkgs; [
openapi_generator_cli_5_4_0
openapi_generator_cli_7_4_0
openjdk8-bootstrap
gnused
];
Expand Down

0 comments on commit f6b6dfc

Please sign in to comment.