Skip to content

Commit 8c824cd

Browse files
authored
Merge pull request #17 from CyberSource/cybersource-python-mar1
Feb 28 release
2 parents 1b06b3c + d14a897 commit 8c824cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

generator/cybersource_python_sdk_gen.bat

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ powershell -Command " rename-item -Path ..\docs\Ptsv2paymentsProcessingInformati
7777

7878
powershell -Command " rename-item -Path ..\docs\Tmsv1instrumentidentifiersProcessingInformationAuthorizationOptionsInitiatorMerchantInitiatedTransaction.md -newname Tmsv1instrumentidentifiersMerchantInitiatedTransaction.md"
7979

80-
80+
REM To include application/json in supported formats
81+
powershell -Command "(Get-Content ..\CyberSource\models\reporting_v3_report_definitions_get200_response_report_definitions.py) | ForEach-Object { $_ -replace 'allowed_values = \[\"application/xml\", \"text/csv\"\]', 'allowed_values = [\"application/xml\", \"text/csv\",\"application/json\"]'} | Set-Content ..\CyberSource\models\reporting_v3_report_definitions_get200_response_report_definitions.py"
8182

8283
REM To change the Accept type and Content type
8384
powershell -Command "(Get-Content ..\CyberSource\apis\capture_api.py) | ForEach-Object { $_ -replace 'select_header_accept\(\[''application/json', 'select_header_accept([''application/hal+json'} | Set-Content ..\CyberSource\apis\capture_api.py"

0 commit comments

Comments
 (0)