Skip to content

TerminateUnmatchedRequest should be bool? in Cors policy #181

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions