Azure / Azure/azure-api-management-policy-toolkit

`TerminateUnmatchedRequest` should be `bool?` in Cors policy

Open
#181 0 comments 0 reactions 1 assignee Claimed by @Mielek View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.