microsoft / microsoft/typespec

Request to add feature for openapi3 emitter to produce a specified number/selection of openapi in a versioned file

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

Description

Based on suggestion by Brian in discussion 2374, I'm raising an issue for a new feature of versioning module. It would be great if for a versioned file, openapi emitter could produce a specified number/selection of openapi specs, not all specs every time.

### Discussed in https://github.com/microsoft/typespec/discussions/2374

Originally posted by **DMaro28** September 6, 2023
My company is using Typespec extensively and planning to further extend the usage to manage versioning. Some technical questions came up for the dev team:

- Are there limits on decorator numbers in a project? We expect tens of thousand in active usage.
- Is there an option to generate only the latest version (or couple of versions) of the openapi file when using versioning module?
- What's the expected timeline to attain stable version 1.0 of TypeSpec?

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.