You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(python): allow default version to be overridden (#4206)
Adds PythonPackage.DefaultVersion which is populated during migration,
if and only if it is not the same as the final part of the first API
path, and then uses this override in repo metadata generation.
Additionally, the toAPIs code in the migration tool now sorts the APIs
by path before returning the list. This means that migration can process
the APIs in the same order they'll be saved at the end.
Fixes#3146
Copy file name to clipboardExpand all lines: doc/config-schema.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,7 @@ This document describes the schema for the librarian.yaml.
157
157
|`name_pretty_override`| string | Allows the "name_pretty" field in .repo-metadata.json to be overridden, to reduce diffs while migrating. TODO(https://github.com/googleapis/librarian/issues/4175): remove this field. |
158
158
|`product_documentation_override`| string | Allows the "product_documentation" field in .repo-metadata.json to be overridden, to reduce diffs while migrating. TODO(https://github.com/googleapis/librarian/issues/4175): remove this field. |
159
159
|`metadata_name_override`| string | Allows the name in .repo-metadata.json (which is also used as part of the client documentation URI) to be overridden. By default it's the package name, but older packages use the API short name instead. |
160
+
|`default_version`| string | Is the default version of the API to use. When omitted, the version in the first API path is used. |
DescriptionOverride: "The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan.",
0 commit comments