Skip to content

Commit

Permalink
Update Opsgenie OAS file generation script to be aligned with the mas…
Browse files Browse the repository at this point in the history
…ter of opsgenie-oas project
  • Loading branch information
Zafer Genckaya committed Oct 25, 2019
1 parent f2a2103 commit c2e9ef0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions opsgenie-oas.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"swagger": "2.0",
"info": {
"title": "OpsGenie REST API",
"description": "OpsGenie OpenAPI Specification",
"title": "Opsgenie REST API",
"description": "Opsgenie OpenAPI Specification",
"version": "2.0.0"
},
"host": "api.opsgenie.com",
Expand Down Expand Up @@ -3134,7 +3134,7 @@
"account"
],
"summary": "Get Account Info",
"description": "Used to search and retrieve account information in OpsGenie",
"description": "Used to search and retrieve account information in Opsgenie",
"operationId": "getInfo",
"externalDocs": {
"description": "For more information",
Expand Down
2 changes: 1 addition & 1 deletion scripts/oas/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ done
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

cd "${OPSGENIE_OAS}"
node "${OPSGENIE_OAS}/multi-file-swagger/index.js" -- "${OPSGENIE_OAS}/swagger.yaml" > "${DIR}/../../opsgenie-oas.json" -- alert incident heartbeat account
node "${OPSGENIE_OAS}/multi-file-swagger/index.js" "${OPSGENIE_OAS}/swagger.yaml" alert incident heartbeat account > "${DIR}/../../opsgenie-oas.json"
cd "${DIR}"

0 comments on commit c2e9ef0

Please sign in to comment.