`command-model generate-from-swagger` fails in providing list modnames

Open
#423 0 comments 0 reactions 1 assignee View on GitHub

@AllyW is already working on this.

Since Oct 28, 2024.

Assessment

This issue has not been assessed yet.

Description

when running command-model generate-from-swagger, for example aaz-dev command-model generate-from-swagger -a ./aaz --sm ./azure-rest-api-specs/specification/networkcloud -m networkcloud --rp Microsoft.NetworkCloud --swagger-tag package-2024-07-01, it'll break with following error:
File "/home/anna/clones/nc-interfaces/env/lib/python3.12/site-packages/schematics/transforms.py", line 174, in import_loop
raise DataError(errors, data)
schematics.exceptions.DataError: {"modNames": ["Couldn't interpret '['networkcloud']' as string."]}

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.