Skip to content

Commit 3afe0b9

Browse files
authored
⬆️ Upgrades dependencies of api-server (ITISFoundation#5597)
1 parent 8af9e3e commit 3afe0b9

File tree

5 files changed

+202
-538
lines changed

5 files changed

+202
-538
lines changed

services/api-server/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ 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+
2832
# validates OAS file: $@
2933
docker run --rm \
3034
--volume "$(CURDIR):/local" \
@@ -63,6 +67,7 @@ endef
6367

6468
.PHONY: openapi-diff-dev.json
6569
openapi-dev-diff.json: openapi.json openapi-dev.json ## Diffs against newer openapi-dev.json and checks backwards compatibility
70+
6671
$(call _openapi_diff_inputs)
6772

6873
openapi-client-diff.json: openapi-client.json openapi.json ## Diffs against older openapi-client.json and checks backwards compatibility

0 commit comments

Comments
 (0)