Azure / Azure/azure-api-management-policy-toolkit
`TerminateUnmatchedRequest` should be `bool?` in Cors policy
Open
bug
- Dominant language
- C#
- Stars
- 94
- Forks
- 36
- Avg merge
- 2d 6m
- Merged PRs (30d)
- 6
Description
### Report
Noticed that `TerminateUnmatchedRequest` is of type `string?`
### Expected Behavior
That it's type `bool?`
### Actual Behavior
`string?` type allows setting true / false, but also other values that are not compliant with published documentation https://learn.microsoft.com/en-us/azure/api-management/cors-policy
### Steps to Reproduce the Problem
N/A
### Component
Authoring library
### Version
main
### Contact Details
_No response_
### Additional Information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.