Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Aug 28, 2025

This PR removes outdated multiapi documentation and related files as requested in the issue. The multiapi functionality is no longer supported for new SDKs, so the documentation should be cleaned up to avoid confusion.

Changes Made

Removed Files:

  • doc/dev/mgmt/multiapi.md - Main multiapi documentation explaining concepts and rationale
  • doc/dev/private_package/python_multiapi_configuration.md - Configuration guide for multiapi packages
  • doc/dev/mgmt/swagger/multi_api/ directory - Example multiapi swagger configurations
  • scripts/multiapi-configuration-helper/ directory - Helper scripts for multiapi configuration
  • scripts/multi_api_readme_help.py - Script for generating multiapi readme suggestions

Updated Files:

  • doc/dev/mgmt/generation.md - Removed --multiapi flag from autorest example command
  • doc/dev/mgmt/swagger_conf.md - Removed "Multi API readmes" section and updated template references
  • doc/dev/mgmt/mgmt_release.md - Removed multiapi-specific changelog generation notes
  • doc/dev/private_package/get_private_package.md - Removed outdated multiapi reference sentence
  • sdk/appconfiguration/azure-mgmt-appconfiguration/CHANGELOG.md - Updated broken link to point to archived documentation for record-keeping
  • eng/.docsettings.yml - Removed reference to deleted multi_api readme

What Was Preserved

  • Functional multiapi configurations in SDK packages (e.g., ML service) that are still used for code generation
  • Historical changelog entries mentioning multiapi (preserved as historical records with links to archived documentation)

The cleanup removes 7 files/directories and updates 6 files to ensure no broken references remain while preserving functional configurations that are still in use.

Fixes #42748.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@Copilot Copilot AI changed the title [WIP] [doc] remove multiapi Remove multiapi documentation Aug 28, 2025
@Copilot Copilot AI requested a review from msyyc August 28, 2025 03:42
Copilot finished work on behalf of msyyc August 28, 2025 03:42
@msyyc msyyc marked this pull request as ready for review August 28, 2025 07:03
@Copilot Copilot AI review requested due to automatic review settings August 28, 2025 07:03
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes outdated multiapi documentation and related helper scripts since multiapi functionality is no longer supported for new Azure Python SDKs. The cleanup helps prevent confusion by removing obsolete guidance.

Key changes:

  • Removes 5 files containing multiapi documentation and example configurations
  • Removes 2 helper scripts for multiapi configuration
  • Updates 6 files to remove multiapi references and fix broken links

Reviewed Changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.

Show a summary per file
File Description
sdk/appconfiguration/azure-mgmt-appconfiguration/CHANGELOG.md Removes broken link to deleted multiapi documentation
scripts/multiapi-configuration-helper/python-multiapi-configuration-helper.py Deletes helper script for multiapi configuration
scripts/multiapi-configuration-helper/README.md Deletes documentation for multiapi configuration helper
scripts/multi_api_readme_help.py Deletes script for generating multiapi readme suggestions
eng/.docsettings.yml Removes reference to deleted multi_api readme file
doc/dev/private_package/python_multiapi_configuration.md Deletes multiapi configuration guide
doc/dev/private_package/get_private_package.md Updates multiapi reference to note it's no longer supported
doc/dev/mgmt/swagger_conf.md Removes multiapi template section and updates documentation
doc/dev/mgmt/swagger/multi_api/readme.python.md Deletes multiapi Python readme template
doc/dev/mgmt/swagger/multi_api/readme.md Deletes multiapi readme template
doc/dev/mgmt/multiapi.md Deletes main multiapi documentation
doc/dev/mgmt/mgmt_release.md Removes multiapi-specific changelog generation notes
doc/dev/mgmt/generation.md Removes --multiapi flag from autorest example

@@ -14,7 +14,7 @@ Make sure your target tag is defined in `readme.md` and **default tag is same wi

If there is no `Python multi-api` in `readme.python.md`(i.e. [datadog](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/datadog/resource-manager/readme.python.md)), skip this step.

If there is `Python multi-api` in `readme.python.md` (i.e. [network](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/network/resource-manager/readme.python.md#python-multi-api)), you need additional configuration: [Python Multiapi Configuration](https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/private_package/python_multiapi_configuration.md)
If there is `Python multi-api` in `readme.python.md` (i.e. [network](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/network/resource-manager/readme.python.md#python-multi-api)), this is no longer supported.
Copy link
Member

Choose a reason for hiding this comment

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

@copilot The linked document no longer mentions multi-API at all, so this full sentence can be removed.

Copy link
Member

Choose a reason for hiding this comment

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

@copilot The linked document no longer mentions multi-API at all, so this full sentence can be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done! I've removed the entire sentence about multi-API since the linked document no longer mentions it. The section now flows directly from step 2 to step 3 without the outdated reference. (629266a)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done! I've removed the entire sentence about multi-API since the linked document no longer mentions it. The section now flows directly from step 2 to step 3 without the outdated reference. (455ef94)

@@ -44,7 +44,7 @@

### Other Changes

- Changed to multiapi package(please refer to https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/mgmt/multiapi.md for more info)
Copy link
Member

Choose a reason for hiding this comment

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

@copilot It might be good to still link to this document for record-keeping purposes, so instead of removing the link we could point to the 20a21f4 commit (the latest one before the page was removed)

Copy link
Member

Choose a reason for hiding this comment

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

@copilot It might be good to still link to this document for record-keeping purposes, so instead of removing the link we could point to the 20a21f4 commit (the latest one before the page was removed)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great suggestion! I've restored the link to point to the specific commit (20a21f4) for record-keeping purposes. The changelog entry now links to the archived version of the documentation. (629266a)

Copilot finished work on behalf of msyyc August 29, 2025 00:46
Copilot finished work on behalf of msyyc August 29, 2025 00:51
@@ -12,9 +12,7 @@ Make sure your target tag is defined in `readme.md` and **default tag is same wi

## 2.Configure `readme.python.md`
Copy link
Member

Choose a reason for hiding this comment

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

Now that the section is empty, this heading can be removed and the subsequent steps can be renumbered accordingly

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.

[doc] remove multiapi
3 participants