Skip to content

TerminateUnmatchedRequest should be bool? in Cors policy #181

@drjonnicholson

Description

@drjonnicholson

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions