Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tcgc] add UsageFlags.Json #1129

Merged
merged 3 commits into from
Jul 9, 2024
Merged

[tcgc] add UsageFlags.Json #1129

merged 3 commits into from
Jul 9, 2024

Conversation

iscai-msft
Copy link
Contributor

fixes #896

@azure-sdk
Copy link
Collaborator

azure-sdk commented Jul 8, 2024

All changed packages have been documented.

  • @azure-tools/typespec-client-generator-core
Show changes

@azure-tools/typespec-client-generator-core - feature ✏️

add UsageFlags.Json. Will be set if a model is used with a JSON content type

@azure-sdk
Copy link
Collaborator

@haolingdong-msft
Copy link
Member

haolingdong-msft commented Jul 9, 2024

The change looks good to me.
Double confirm: the flag will be added to all the models used by operation whose content type is application/json, right?

@iscai-msft iscai-msft enabled auto-merge July 9, 2024 16:38
@iscai-msft iscai-msft added this pull request to the merge queue Jul 9, 2024
Merged via the queue into main with commit 93a301e Jul 9, 2024
21 checks passed
@iscai-msft iscai-msft deleted the json_usage branch July 9, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TCGC: Add Support for Json Usage Flag for a Given Model
4 participants