Azure / Azure/aaz-dev-tools

[CLI] The aaz dev server, on import of a new spec in a workspace, will create the examples without the required quotes.

Open
#556 1 comment 0 reactions 1 assignee Claimed by @Sebby37 View on GitHub
act-codegen-extensibility-squad
Dominant language
Python
Stars
27
Forks
77
Avg merge
2d 10h
Merged PRs (30d)
3

Description

## Summary
When working on the health models extension generation I noticed this issue:

Original example:
https://github.com/Azure/azure-rest-api-specs/blob/9ee5902c9557817bc4a859ebc13f757515aac5d7/specification/cloudhealth/CloudHealth.Management/examples/2025-05-01-preview/Entities_CreateOrUpdate.json#L12

Image

has a display name with space in it.

After importing into aaz-dev:

Image
the example doesn't have the required quotes around the `--displayName` parameter.

## Steps to reproduce
1. Create a new workspace
2. Import e.g. the cloudhealth api sepcs
3. Check the imported example

## Expected behavior
Ideally it would add the quotes in that situation
```
az ... --display-name "My entity" ...
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.