Versioning model property descriptors #6020
-
I have a Typespec project that is creating my OpenAPI schemas and I am trying to change the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
we do not support versioning decorators today. A quite nasty workaround is to create a new property with the decorator and rename the old one. @minValue(123)
@added(v2)
prop: int32;
@removed(v2)
@renamedFrom(v2, "prop")
oldProp: int32;
|
Beta Was this translation helpful? Give feedback.
we do not support versioning decorators today.
A quite nasty workaround is to create a new property with the decorator and rename the old one.