Skip to content

Versioning the type/format of a property #7361

Answered by timotheeguerin
fzkhan asked this question in OpenAPI3
Discussion options

You must be logged in to vote

You can use @typeChangedFrom decorator from the versioning library https://typespec.io/docs/libraries/versioning/guide/.

Note however that using this will increase the complexity of your spec significantly specially if you start making non additive changes.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by fzkhan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants