microsoft / microsoft/typespec

Support nested schema of emitter options for doc generation and cli

Open
#6,478 0 comments 0 reactions 0 assignees View on GitHub
design:needed triaged:core tspd
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

Current doc generated for emitter options does not support nested schema. See [example](https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/2393/docs/libraries/typespec-client-generator-core/reference/emitter/#license). `license` could only show up as an object, but it has detailed nested schema defined [here](https://github.com/Azure/typespec-azure/blob/cc97a33c58ac71a02ea084a41be3877617925c67/packages/typespec-client-generator-core/src/lib.ts#L57). Also, it seems we could not pass a nested config with typespec cli.

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.