File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff 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
2020OPENAPI_GENERATOR_IMAGE := $(OPENAPI_GENERATOR_NAME ) :$(OPENAPI_GENERATOR_TAG )
2121
2222define _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" \
Original file line number Diff line number Diff line change 11{
2- "openapi" : " 3.0.2 " ,
2+ "openapi" : " 3.1.0 " ,
33 "info" : {
44 "title" : " osparc.io public API" ,
55 "description" : " osparc-simcore public API specifications" ,
You can’t perform that action at this time.
0 commit comments