ValidFormats

October 10, 2022 ยท View on GitHub

Category

SDK Error

Applies to

ARM and Data plane OpenAPI(swagger) specs

Output Message

'{0}' is not a known format.

Description

Only valid types are allowed for properties.

Why the rule is important

Invalid formats can cause errors during code generation or result in erroneous generated code.

How to fix the violation

Ensure format defined for property is valid. Please refer here for allowed types in OpenAPI.

Contents

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