Skip to content

Incorrect casing for enum values - resource type Microsoft.ApiManagement/service/templates #17340

Open
@anthony-c-martin

Description

@anthony-c-martin

The TemplateNameParameter enum is defined in camelCase, but according to this issue report, the service only accepts the values in PascalCase: Azure/azure-resource-manager-schemas#2176

Here's where the enum is defined:

"TemplateNameParameter": {
"name": "templateName",
"in": "path",
"required": true,
"type": "string",
"enum": [
"applicationApprovedNotificationMessage",
"accountClosedDeveloper",
"quotaLimitApproachingDeveloperNotificationMessage",
"newDeveloperNotificationMessage",
"emailChangeIdentityDefault",
"inviteUserNotificationMessage",
"newCommentNotificationMessage",
"confirmSignUpIdentityDefault",
"newIssueNotificationMessage",
"purchaseDeveloperNotificationMessage",
"passwordResetIdentityDefault",
"passwordResetByAdminNotificationMessage",
"rejectDeveloperNotificationMessage",
"requestDeveloperNotificationMessage"
],
"x-ms-enum": {
"name": "TemplateName",
"modelAsString": true
},
"description": "Email Template Name Identifier.",
"x-ms-parameter-location": "method"
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions