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

[spector] add tests for --namespace flags #2342

Open
iscai-msft opened this issue Mar 10, 2025 · 0 comments
Open

[spector] add tests for --namespace flags #2342

iscai-msft opened this issue Mar 10, 2025 · 0 comments
Assignees
Labels
lib:azure-http-specs For issues/prs related to the @azure-tools/typespec-azure-http-specs package

Comments

@iscai-msft
Copy link
Contributor

  1. --namespace is the not set and no @clientNamespace used
  2. @clientNamespace is used for the root namespace in the spec, but no --namespace in tspconfig
  3. Only --namespace is used and no @clientNamespace used
  4. --namespace is used but the spec has one root namespace that is renamed with @clientNamespace
  5. --namespace is used and @clientNamespace is specified for a single model
  6. --namespace is used and @clientNamespace is specified for a sub-namespace containing a client and some models. Outside this sub-namespaces, there can be other clients and models.
@iscai-msft iscai-msft added the lib:azure-http-specs For issues/prs related to the @azure-tools/typespec-azure-http-specs package label Mar 10, 2025
@iscai-msft iscai-msft self-assigned this Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lib:azure-http-specs For issues/prs related to the @azure-tools/typespec-azure-http-specs package
Projects
None yet
Development

No branches or pull requests

1 participant