Skip to content

Upgrade tcgc to ignore error model generation in MPG if it is not referenced#2934

Merged
MaryGao merged 6 commits intoAzure:mainfrom
v-jiaodi:test1128
Dec 5, 2024
Merged

Upgrade tcgc to ignore error model generation in MPG if it is not referenced#2934
MaryGao merged 6 commits intoAzure:mainfrom
v-jiaodi:test1128

Conversation

@v-jiaodi
Copy link
Copy Markdown
Member

@v-jiaodi v-jiaodi commented Nov 29, 2024

fixes #2917

@MaryGao MaryGao marked this pull request as ready for review December 4, 2024 03:11
@MaryGao MaryGao changed the title Upgrade tcgc and add ut case for error models in MPG if it is not referenced Upgrade tcgc to ignore error model generation in MPG if it is not referenced Dec 4, 2024
@MaryGao MaryGao merged commit a94e7ee into Azure:main Dec 5, 2024
@qiaozha
Copy link
Copy Markdown
Member

qiaozha commented Dec 5, 2024

@MaryGao have we reviewed the breaking between HLC and Modular for this?

@MaryGao
Copy link
Copy Markdown
Member

MaryGao commented Dec 5, 2024

@qiaozha The pr is to remove the orphan error models which we agreed to not generate them as a decision during MPG release. But let me know if we need to revisit this decision.

But in modular we are lack of ability to serialize the non-success error responses but we can do this in HLC. I will create another issue to track this. Personally I prefer to mitigate this not accept.

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.

Do not generate error response model in MPG if it is not referenced

3 participants