From 11f50b550d1b11af89589744ace95881fc73d750 Mon Sep 17 00:00:00 2001 From: McCabe Coats Date: Tue, 24 Oct 2023 14:07:37 -0600 Subject: [PATCH] Use latest openapi-generator version Use the latest `openapi-generator-cli` version when generating the library to help resolve current bugs and mitigate future bugs. --- .github/workflows/generate.yml | 1 - .github/workflows/generate_publish_release.yml | 1 - openapitools.json | 5 +---- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 878d5f8..a821c02 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -30,7 +30,6 @@ jobs: - name: Install openapi-generator-cli run: | npm install @openapitools/openapi-generator-cli -g - openapi-generator-cli version-manager set 5.4.0 - run: | openapi-generator-cli generate \ -i https://raw.githubusercontent.com/mxenabled/openapi/master/openapi/mx_platform_api.yml \ diff --git a/.github/workflows/generate_publish_release.yml b/.github/workflows/generate_publish_release.yml index f4ddf63..362c394 100644 --- a/.github/workflows/generate_publish_release.yml +++ b/.github/workflows/generate_publish_release.yml @@ -21,7 +21,6 @@ jobs: - name: Install openapi-generator-cli run: | npm install @openapitools/openapi-generator-cli -g - openapi-generator-cli version-manager set 5.4.0 - run: | openapi-generator-cli generate \ -i https://raw.githubusercontent.com/mxenabled/openapi/master/openapi/mx_platform_api.yml \ diff --git a/openapitools.json b/openapitools.json index 7f483d1..4ad8194 100644 --- a/openapitools.json +++ b/openapitools.json @@ -1,7 +1,4 @@ { "$schema": "node_modules/@openapitools/openapi-generator-cli/config.schema.json", - "spaces": 2, - "generator-cli": { - "version": "5.4.0" - } + "spaces": 2 }