[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 View on GitHub

@Sebby37 is already working on this.

Since Jul 3, 2026.

Assessment

This issue has not been assessed yet.

Description

act-codegen-extensibility-squad

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" ...
Dominant language
Python
Stars
27
Forks
77
Avg merge
1d 20h
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/aaz-dev-tools

All issues in Azure/aaz-dev-tools

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.