Skip to content

Add script to fix title/descriptions for service Swaggers #35182

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

matthchr
Copy link
Member

@matthchr matthchr commented Jun 9, 2025

While many tools consuming the Swagger specifications used to honor title + description for fields in the definitions section, they no longer do. When discussing this with the SDK teams, the consensus was that we should move away from title/description to just putting everything in description, as this is what typespec is eventually going to do as well.

This script automates the title + description -> description migration.

Copy link

openapi-pipeline-app bot commented Jun 9, 2025

Next Steps to Merge

✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.

Copy link

PR validation pipeline started successfully. If there is ApiView generated, it will be updated in this comment.

Copy link
Member

@mikeharder mikeharder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@matthchr: Can you provide more context on this change? We typically don't commit scripts like this, especially not written in Python (this repo uses JS).

@matthchr
Copy link
Member Author

Let me add you to the internal mail thread.

@matthchr
Copy link
Member Author

Added you to the internal mail thread. Also updated the PR description to be clearer.

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.

2 participants