[APIM-4.1.0] addAPISpecificOperationPolicy REST API doesn't work with yaml policy files. #1708
Labels
Affected/APIM-4.x.x
Affected/APIM-4.1.0
Area/CommonPolicies
Issues with common policies that are shipped with API manager
Type/Bug
Description
The API[1] is not working with Yaml format policy file(policySpecFile). Only the json type is supported.
[1] https://apim.docs.wso2.com/en/4.1.0/reference/product-apis/publisher-apis/publisher-v3/publisher-v3/#tag/API-Operation-Policies/operation/addAPISpecificOperationPolicy
Thanks,
Chaminda
Steps to Reproduce
Try the mentioned rest API providing a yaml file as the policySpecFile parameter.
Affected Component
APIM
Version
4.1.0
Environment Details (with versions)
N/A
Relevant Log Output
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered: