The schema for the appsec Rate Policy Actions API is incorrect. #8
Labels
bug
Something isn't working
STG
Security team needed
under investigation
Internal investigation of the issue in progress
Issue type
Which API?
/appsec/v1/configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/rate-policies
a.k.a. get rate policy actions.
Issue
ratePolicies
, but it should beratePolicyActions
.id
field is set tostring
, but it should beinteger
.Context
We're building an application using client code generated from the API spec with openapi-generator. We're having to patch around errors in the Akamai API specs to get some of the API calls working.
Bugs: Steps to reproduce
https://github.com/akamai/akamai-apis/blob/main/apis/appsec/v1/schemas/rate-policy-actions.yaml#L11
https://github.com/akamai/akamai-apis/blob/main/apis/appsec/v1/schemas/rate-policy-actions.yaml#L24
https://github.com/akamai/akamai-apis/blob/main/apis/appsec/v1/examples/rate-policy-actions.json#L2
Possible solution
I'll raise a PR.
Additional information
The text was updated successfully, but these errors were encountered: