EnumMustRespectType

October 10, 2022 ยท View on GitHub

Category

SDK Error

Applies to

ARM and Data Plane OpenAPI(swagger) specs

Output Message

Enum values should respect the type.

Description

This rule is to check if the enum values conform to the type.

CreatedAt

November 10, 2021

LastModifiedAt

November 10, 2021

Why this rule is important

It will lead to code generation failure in SDK generation pipeline.

How to fix the violation

Just change the enum value to the right type.

Contents

  1. 1Category
  2. 2Applies to
  3. 3Output Message
  4. 4Description
  5. 5CreatedAt
  6. 6LastModifiedAt
  7. 7Why this rule is important
  8. 8How to fix the violation