Skip to content
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

Indentation error in generated Python code for a lengthy documentation line. #2916

Open
xiangyan99 opened this issue Nov 13, 2024 · 0 comments
Assignees

Comments

@xiangyan99
Copy link
Member

If the doc is long and cannot be split into multiple lines, the generated Python code has an indentation issue. e.g. in
https://github.com/Azure/azure-rest-api-specs/blob/d0cb8714487b8b579eda933fd3435ce8d5a69a6e/specification/search/Azure.Search/models-service.tsp

I have docs like
"/subscriptions/12345678-1234-1234-1234-1234567890ab/resourceGroups/rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId"

The generated code misses the spaces in the beginning.

@msyyc msyyc self-assigned this Nov 14, 2024
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

No branches or pull requests

2 participants