Decorators
TypeSpec.HttpClient.CSharp
Section titled “TypeSpec.HttpClient.CSharp”@dynamicModel
Section titled “@dynamicModel”Marks a model or namespace as dynamic, indicating it should generate dynamic model code. Can be applied to Model or Namespace types.
@TypeSpec.HttpClient.CSharp.dynamicModelTarget
Section titled “Target”Model | Namespace
Parameters
Section titled “Parameters”None
Examples
Section titled “Examples”@dynamicModelmodel Pet {  name: string;  kind: string;}
@dynamicModelnamespace PetStore {  model Dog extends Pet {    breed: string;  }}