no-unknown
@azure-tools/typespec-azure-core/no-unknownAzure services must not have properties of type unknown. All properties should have well-defined types to ensure proper serialization and client SDK generation.
โ Incorrect
Section titled โโ Incorrectโmodel Widget { name: unknown;}โ Correct
Section titled โโ CorrectโUse a specific type:
model Widget { name: string;}Or use Record<string> for arbitrary key-value data:
model Widget { metadata: Record<string>;}