Skip to content

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

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" ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions