Azure / autorest.python

Extension for AutoRest (https://github.com/Azure/autorest) that generates Python code
MIT License
76 stars 54 forks source link

[DPG] We should be able to handle package-pprint-name values without double quotations #2345

Closed catalinaperalta closed 5 months ago

catalinaperalta commented 6 months ago

Currently, service partners have to use double quotes if they have multiple words for their package-pprint-name value in tspconfig.yaml, for example:

    package-pprint-name: '"Azure Health Insights - Cancer Profiling"'

We should not put the burden on service partners to handle this correctly. The emitter should be able to pass in the appropriate value when package-pprint-name is defined like in the example below:

    package-pprint-name: "Azure Health Insights - Cancer Profiling"
catalinaperalta commented 6 months ago

Related conversation: https://github.com/Azure/azure-rest-api-specs-pr/pull/13119#discussion_r1434653821