Skip to content

Commit

Permalink
+- Upgrade Swaggy C to 4.5.0
Browse files Browse the repository at this point in the history
+- Upgrade OpenAPI Generator to 7.6.0
  • Loading branch information
cliffano committed Feb 1, 2025
1 parent 277d791 commit 168b94d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Changed
- Upgrade Swaggy C to 4.5.0
- Upgrade OpenAPI Generator to 7.6.0

## 3.0.1 - 2024-03-16
### Fixed
- Fix GH Actions publish entrypoints
Expand Down
21 changes: 15 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
################################################################

# The version of Swaggy C
SWAGGY_C_VERSION = 4.3.0
SWAGGY_C_VERSION = 4.5.0

# The version of OpenAPI Generator (https://openapi-generator.tech/) used for generating the API clients
OPENAPI_GENERATOR_VERSION = 7.4.0
OPENAPI_GENERATOR_VERSION = 7.6.0

# LANGS_ALL lists the languages supported by the given OPENAPI_GENERATOR_VERSION
LANGS_ALL = ada ada-server android apache2 apex asciidoc aspnetcore avro-schema bash crystal c clojure cwiki cpp-qt-client cpp-qt-qhttpengine-server cpp-pistache-server cpp-restbed-server cpp-restbed-server-deprecated cpp-restsdk cpp-tiny cpp-tizen cpp-ue4 csharp csharp-functions dart dart-dio eiffel elixir elm erlang-client erlang-proper erlang-server fsharp-functions fsharp-giraffe-server go go-echo-server go-server go-gin-server graphql-schema graphql-nodejs-express-server groovy kotlin kotlin-server kotlin-spring kotlin-vertx ktorm-schema haskell-http-client haskell haskell-yesod java jaxrs-cxf-client java-helidon-client java-helidon-server java-inflector java-micronaut-client java-micronaut-server java-msf4j java-pkmst java-play-framework java-undertow-server java-vertx java-vertx-web java-camel jaxrs-cxf jaxrs-cxf-extended jaxrs-cxf-cdi jaxrs-jersey jaxrs-resteasy jaxrs-resteasy-eap jaxrs-spec javascript javascript-apollo-deprecated javascript-flowtyped javascript-closure-angular java-wiremock jetbrains-http-client jmeter julia-client julia-server k6 lua markdown mysql-schema n4js nim nodejs-express-server objc ocaml openapi openapi-yaml plantuml perl php php-nextgen php-laravel php-lumen php-slim4 php-symfony php-mezzio-ph php-dt postman-collection powershell protobuf-schema python python-pydantic-v1 python-fastapi python-flask python-aiohttp python-blueplanet r ruby ruby-on-rails ruby-sinatra rust rust-server scalatra scala-akka scala-pekko scala-akka-http-server scala-finch scala-gatling scala-http4s-server scala-lagom-server scala-play-server scala-sttp scala-sttp4 scalaz spring dynamic-html html html2 swift5 swift-combine typescript typescript-angular typescript-aurelia typescript-axios typescript-fetch typescript-inversify typescript-jquery typescript-nestjs typescript-node typescript-redux-query typescript-rxjs wsdl-schema xojo-client zapier rust-axum
Expand Down Expand Up @@ -48,12 +48,20 @@ SCM_GIT_USER ?= $(shell yq .scm.git_user swaggy-c.yml)
SCM_GIT_REPO ?= $(shell yq .scm.git_repo swaggy-c.yml)

# APP_BASE_DIR is the absolute path where the application base directory is located, for example:
# - MacOS user workspace directory: /Users/some-user/some-path/some-app
# - GitHub Actions directory: /home/runner/work/some-app/some-app
# - MacOS user workspace as a local directory: /Users/some-user/some-path/some-app
# This is used when no environment variable is specified.
# - GitHub Actions workspace directory: /home/runner/work/some-app/some-app
# This is used when GITHUB_ACTIONS environment variable is specified.
# - Custom directory to overwrite the other directories: /any/path/to/some-app
# This is used when CUSTOM environment variable is specified.
ifdef GITHUB_ACTIONS
APP_BASE_DIR=$(shell yq .base_dir.github_actions swaggy-c.yml)
else
APP_BASE_DIR=$(shell yq .base_dir.local swaggy-c.yml)
ifdef CUSTOM
APP_BASE_DIR=$(shell yq .base_dir.custom swaggy-c.yml)
else
APP_BASE_DIR=$(shell yq .base_dir.local swaggy-c.yml)
endif
endif

$(info ################################################################)
Expand Down Expand Up @@ -161,7 +169,7 @@ build-javascript:

build-python:
sudo apt-get install -y python-setuptools
pip install twine wheel
pip install twine wheel pytest
cd clients/python/generated/ && \
pip install -r requirements.txt && \
python3 setup.py sdist bdist_wheel && \
Expand All @@ -186,6 +194,7 @@ test-javascript: build-javascript
test-python: build-python
cd clients/python/generated/ && \
twine check dist/*
pytest -v test/python/*.py --capture=no

test-ruby: build-ruby

Expand Down

0 comments on commit 168b94d

Please sign in to comment.