microsoft / microsoft/typespec

@typespec/json-schema does not support versioning

Open
#2,051 3 comments 2 reactions 0 assignees View on GitHub
design:needed
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

When using the new @typespec/json-schema package together with the @typespec/versioning package the json schemes outputted will not output versioned models. This is unfortunate since it is really easy to generate models in a variety of languages.

I think this is more of a feature request then an actual issue, but it might point to something more structural.
As the the versioning library is more of an middle-ware that should do some sort of multiplexing with the emitter. In other words, I find it odd that the emitters have to know about the versioning library.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.