mirror of
https://github.com/gcatanese/adyen-postman.git
synced 2026-03-10 08:01:18 +00:00
Generate from OpenAPI json specs
This commit is contained in:
4
.github/workflows/trigger-postman.yml
vendored
4
.github/workflows/trigger-postman.yml
vendored
@@ -19,11 +19,11 @@ jobs:
|
||||
repository: 'Adyen/adyen-openapi'
|
||||
path: 'adyen-openapi'
|
||||
fetch-depth: 0
|
||||
- name: Get changed files in the yaml folder
|
||||
- name: Get changed files in the json folder
|
||||
id: changed-files-specific
|
||||
uses: tj-actions/changed-files@v35
|
||||
with:
|
||||
files: yaml/*.yaml
|
||||
files: json/*.json
|
||||
path: 'adyen-openapi'
|
||||
- uses: JasonEtco/create-an-issue@v2
|
||||
if: ${{ steps.changed-files-specific.outputs.added_files != '' }}
|
||||
|
||||
@@ -10,7 +10,7 @@ DATE=$(date +"%Y-%m-%d")
|
||||
# We allow only non classic, non webhook APIs
|
||||
ALLOW_LIST="BalanceControlService|BalancePlatformService|BinLookupService|CheckoutService|DataProtectionService|DisputeService|GrantService|LegalEntityService|ManagementService|PayoutService|RecurringService|StoredValueService|TestCardService|TfmAPIService|TransferService"
|
||||
|
||||
for entry in "adyen-openapi/yaml"/*
|
||||
for entry in "adyen-openapi/json"/*
|
||||
do
|
||||
echo "Processing $entry"
|
||||
if echo "$entry" | grep -q -E "$ALLOW_LIST"; then
|
||||
|
||||
Reference in New Issue
Block a user