Skip to content

Commit

Permalink
chore(orchestrator): add missing dev dependencies (janus-idp#1754)
Browse files Browse the repository at this point in the history
Add missing dev dependencies

Signed-off-by: Gloria Ciavarrini <gciavarrini@redhat.com>
  • Loading branch information
gciavarrini committed Jun 2, 2024
1 parent a003cd7 commit b39bc17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion plugins/orchestrator-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
},
"devDependencies": {
"@backstage/cli": "0.26.4",
"@hey-api/openapi-ts": "0.34.5"
"@hey-api/openapi-ts": "0.34.5",
"@openapitools/openapi-generator-cli": "2.7.0",
"js-yaml-cli": "0.6.0"
}
}
2 changes: 1 addition & 1 deletion plugins/orchestrator-common/scripts/openapi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ openapi_generate() {
awk '/\/{\(.*?\)}\/g/ {print $0 " // NOSONAR"} !/\/{\(.*?\)}\/g/ {print}' "${REQ_FILE}" > ${TMPFILE} && mv ${TMPFILE} "${REQ_FILE}"

# Docs generation
npx --yes @openapitools/openapi-generator-cli@v2.13.1 generate -g asciidoc -i ./src/openapi/openapi.yaml -o ./src/generated/docs/index.adoc
npx --yes @openapitools/openapi-generator-cli@v2.7.0 generate -g asciidoc -i ./src/openapi/openapi.yaml -o ./src/generated/docs/index.adoc

npx --yes --package=js-yaml-cli@0.6.0 -- yaml2json -f ${OPENAPI_SPEC_FILE}

Expand Down

0 comments on commit b39bc17

Please sign in to comment.