Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 589 Bytes

valid-formats.md

File metadata and controls

25 lines (13 loc) · 589 Bytes

ValidFormats

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.