Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2d8ad295d4 | |||
| 5bebb2d2da |
@@ -2,7 +2,8 @@
|
|||||||
# Requires secrets (configured once RapidAPI listings are live):
|
# Requires secrets (configured once RapidAPI listings are live):
|
||||||
# RAPIDAPI_PLATFORM_KEY, RAPIDAPI_ZIP_API_ID, RAPIDAPI_ZIP_VERSION_ID,
|
# RAPIDAPI_PLATFORM_KEY, RAPIDAPI_ZIP_API_ID, RAPIDAPI_ZIP_VERSION_ID,
|
||||||
# RAPIDAPI_HOLIDAYS_API_ID, RAPIDAPI_HOLIDAYS_VERSION_ID,
|
# RAPIDAPI_HOLIDAYS_API_ID, RAPIDAPI_HOLIDAYS_VERSION_ID,
|
||||||
# RAPIDAPI_AQI_API_ID, RAPIDAPI_AQI_VERSION_ID
|
# RAPIDAPI_AQI_API_ID, RAPIDAPI_AQI_VERSION_ID,
|
||||||
|
# RAPIDAPI_VIN_API_ID, RAPIDAPI_VIN_VERSION_ID
|
||||||
#
|
#
|
||||||
# If RAPIDAPI_PLATFORM_KEY is not set the publish step exits 0 with a skip message.
|
# If RAPIDAPI_PLATFORM_KEY is not set the publish step exits 0 with a skip message.
|
||||||
|
|
||||||
@@ -55,4 +56,6 @@ jobs:
|
|||||||
RAPIDAPI_HOLIDAYS_VERSION_ID: ${{ secrets.RAPIDAPI_HOLIDAYS_VERSION_ID }}
|
RAPIDAPI_HOLIDAYS_VERSION_ID: ${{ secrets.RAPIDAPI_HOLIDAYS_VERSION_ID }}
|
||||||
RAPIDAPI_AQI_API_ID: ${{ secrets.RAPIDAPI_AQI_API_ID }}
|
RAPIDAPI_AQI_API_ID: ${{ secrets.RAPIDAPI_AQI_API_ID }}
|
||||||
RAPIDAPI_AQI_VERSION_ID: ${{ secrets.RAPIDAPI_AQI_VERSION_ID }}
|
RAPIDAPI_AQI_VERSION_ID: ${{ secrets.RAPIDAPI_AQI_VERSION_ID }}
|
||||||
|
RAPIDAPI_VIN_API_ID: ${{ secrets.RAPIDAPI_VIN_API_ID }}
|
||||||
|
RAPIDAPI_VIN_VERSION_ID: ${{ secrets.RAPIDAPI_VIN_VERSION_ID }}
|
||||||
run: node scripts/publish-openapi.js
|
run: node scripts/publish-openapi.js
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
* RAPIDAPI_HOLIDAYS_VERSION_ID
|
* RAPIDAPI_HOLIDAYS_VERSION_ID
|
||||||
* RAPIDAPI_AQI_API_ID
|
* RAPIDAPI_AQI_API_ID
|
||||||
* RAPIDAPI_AQI_VERSION_ID
|
* RAPIDAPI_AQI_VERSION_ID
|
||||||
|
* RAPIDAPI_VIN_API_ID
|
||||||
|
* RAPIDAPI_VIN_VERSION_ID
|
||||||
*
|
*
|
||||||
* Usage: node scripts/publish-openapi.js
|
* Usage: node scripts/publish-openapi.js
|
||||||
*/
|
*/
|
||||||
@@ -45,6 +47,12 @@ const APIS = [
|
|||||||
apiId: process.env.RAPIDAPI_AQI_API_ID,
|
apiId: process.env.RAPIDAPI_AQI_API_ID,
|
||||||
versionId: process.env.RAPIDAPI_AQI_VERSION_ID,
|
versionId: process.env.RAPIDAPI_AQI_VERSION_ID,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'vin-decoder',
|
||||||
|
specPath: path.join(__dirname, '..', 'apis', 'vin-decoder', 'openapi.yaml'),
|
||||||
|
apiId: process.env.RAPIDAPI_VIN_API_ID,
|
||||||
|
versionId: process.env.RAPIDAPI_VIN_VERSION_ID,
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user