Skip to content

Commit c2e9ef0

Browse files
author
Zafer Genckaya
committed
Update Opsgenie OAS file generation script to be aligned with the master of opsgenie-oas project
1 parent f2a2103 commit c2e9ef0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

opsgenie-oas.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"swagger": "2.0",
33
"info": {
4-
"title": "OpsGenie REST API",
5-
"description": "OpsGenie OpenAPI Specification",
4+
"title": "Opsgenie REST API",
5+
"description": "Opsgenie OpenAPI Specification",
66
"version": "2.0.0"
77
},
88
"host": "api.opsgenie.com",
@@ -3134,7 +3134,7 @@
31343134
"account"
31353135
],
31363136
"summary": "Get Account Info",
3137-
"description": "Used to search and retrieve account information in OpsGenie",
3137+
"description": "Used to search and retrieve account information in Opsgenie",
31383138
"operationId": "getInfo",
31393139
"externalDocs": {
31403140
"description": "For more information",

scripts/oas/generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ done
1111
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
1212

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

0 commit comments

Comments
 (0)