forked from pnp/copilot-pro-dev-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtspconfig.yaml
More file actions
15 lines (15 loc) · 733 Bytes
/
tspconfig.yaml
File metadata and controls
15 lines (15 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
emit:
- "@typespec/openapi3"
- "@microsoft/typespec-m365-copilot"
options:
# If you want to change the default output directory for the OpenAPI emitter, please make sure to update the outputDir in the typeSpec/compile action in m365agents.yaml as well.
# You need to set the emitter-output-dir to ${outputDir}/specs.
"@typespec/openapi3":
emitter-output-dir: "{project-root}/appPackage/.generated/specs"
file-type: json
# You need to set the emitter-output-dir to the same as outputDir.
# You also need to set the output-file to declarativeAgent.json.
"@microsoft/typespec-m365-copilot":
emitter-output-dir: "{project-root}/appPackage/.generated"
output-file: declarativeAgent.json
file-type: json