Skip to content

Commit 843bb6c

Browse files
committed
use master branch for openapi.yml file
1 parent 5689b47 commit 843bb6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helper.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# see https://github.com/swagger-api/swagger-codegen/releases for updating version below
1111
docker_image="swaggerapi/swagger-codegen-cli-v3:3.0.54"
1212
# where to grab the definition file
13-
openapi_yaml_url="https://raw.githubusercontent.com/elabftw/elabftw/hypernext/apidoc/v2/openapi.yaml"
13+
openapi_yaml_url="https://raw.githubusercontent.com/elabftw/elabftw/master/apidoc/v2/openapi.yaml"
1414
# folder with the generated python code
1515
lib="generated"
1616
html="html"
@@ -20,7 +20,7 @@ function cleanup {
2020
rm -rfv "$html"
2121
}
2222

23-
# generate the lib from remote hypernext spec
23+
# generate the lib from remote spec
2424
function generate {
2525
cleanup
2626
docker run --user "$(id -u)":"$(id -u)" --rm -v "${PWD}":/local "$docker_image" generate -i "$openapi_yaml_url" -l python -o /local/"$lib" -c /local/config.json --git-user-id elabftw --git-repo-id elabapi-python

0 commit comments

Comments
 (0)