Skip to content

Conversation

dolauli
Copy link
Contributor

@dolauli dolauli commented Sep 26, 2025

This pull request updates the logic for generating model schemas in PowerShell by improving how property names are determined and allowing for client-specific naming overrides. The changes ensure that if a client name override is specified for a property, it will be used as the property's name in the generated schema.

Enhancements to property naming in model schema generation:

  • Added retrieval of a client name override for each property using getClientNameOverride, specifically for PowerShell, in the getSchemaForModel function.
  • Updated the property creation logic to use the client name as the property's name if it is specified, ensuring client-specific naming is respected in the schema.

@dolauli dolauli merged commit 7d0f5ad into Azure:main Sep 26, 2025
103 checks passed
@dolauli dolauli deleted the tsp-brown branch September 26, 2025 08:39
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.

1 participant