Azure / Azure/typespec-azure

Add common-types PATCH schema generation to typespec-autorest

Open
#1,636 0 comments 0 reactions 0 assignees View on GitHub
emitter:autorest feature lib:azure-resource-manager
Dominant language
TypeScript
Stars
27
Forks
90
Avg merge
1d 22h
Merged PRs (30d)
156

Description

- Add new decorator to designate Update common-types schema to typespec-autorest
- specify schema name and file placement
- Make it default behavior to reference common-types update schemas for PATCH requests in typespec-autorest
- Add config switch for generation of common-types update schema
- Add config switch to preserve current behaviors

Contributor guide

Open the contributing guide

Research direction

Start by locating the typespec-autorest PATCH schema generation entry points, existing common-types handling, and configuration or decorator definitions. Determine how schema names and file placement are currently represented; done means the new decorator, default PATCH references, and both configuration switches are implemented without losing the current behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend-api-design, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.