Azure / Azure/typespec-azure

tsp: can we remove the paged response envelope

Open
#4,952 1 comment 0 reactions 1 assignee Claimed by @jhendrixMSFT View on GitHub
emitter:go feature
Dominant language
TypeScript
Stars
27
Forks
90
Avg merge
1d 22h
Merged PRs (30d)
156

Description

> Migrated from https://github.com/Azure/autorest.go/issues/1123

---

Example: https://github.com/Azure/autorest.go/blob/main/packages/autorest.go/test/autorest/paginggroup/zz_models.go#L11-L14

This is an artifact of OpenAPI. With tsp, we can conceivably remove this. It would not be a breaking change for greenfield projects. The question is, for brownfield, what's the impact? If brownfield is 100% converting OpenAPI to tsp then presumably these intermediate models will be preserved.

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.