Skip to content

Commit aa37a25

Browse files
upgrade service
1 parent 7be9541 commit aa37a25

File tree

71 files changed

+1986
-1351
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+1986
-1351
lines changed

services/api-server/Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ reqs: ## compiles pip requirements (.in -> .txt)
1515

1616

1717
# specification of the used openapi-generator-cli (see also https://github.com/ITISFoundation/openapi-generator)
18-
OPENAPI_GENERATOR_NAME := itisfoundation/openapi-generator-cli-openapi-generator-v4.2.3
19-
OPENAPI_GENERATOR_TAG := v0
18+
OPENAPI_GENERATOR_NAME := openapitools/openapi-generator-cli
19+
OPENAPI_GENERATOR_TAG := latest
2020
OPENAPI_GENERATOR_IMAGE := $(OPENAPI_GENERATOR_NAME):$(OPENAPI_GENERATOR_TAG)
2121

2222
define _create_and_validate_openapi
@@ -25,10 +25,6 @@ define _create_and_validate_openapi
2525
export API_SERVER_DEV_FEATURES_ENABLED=$1; \
2626
python3 -c "import json; from $(APP_PACKAGE_NAME).main import *; print( json.dumps(the_app.openapi(), indent=2) )" > $@
2727

28-
# patching version until tools adapted
29-
@sed -i 's/"openapi": "3.1.0",/"openapi": "3.0.2",/g' $@
30-
31-
3228
# validates OAS file: $@
3329
docker run --rm \
3430
--volume "$(CURDIR):/local" \

0 commit comments

Comments
 (0)