Azure / Azure/typespec-azure

[spector] add tests for `--namespace` flags

Open
#2,342 0 comments 0 reactions 1 assignee Claimed by @iscai-msft View on GitHub
lib:azure-http-specs
Dominant language
TypeScript
Stars
27
Forks
90
Avg merge
1d 22h
Merged PRs (30d)
156

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.