-
Notifications
You must be signed in to change notification settings - Fork 0
/
tspconfig.yaml
25 lines (24 loc) · 1.08 KB
/
tspconfig.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Typespec compiler configuration file
# See https://typespec.io/docs/handbook/configuration
# extends: ../tspconfig.yaml # Extend another config file
# emit: # Emitter name
# - "<emitter-name"
# options: # Emitter options
# <emitter-name>:
# "<option-name>": "<option-value>"
# environment-variables: # Environment variables which can be used to interpolate emitter options
# <variable-name>:
# default: "<variable-default>"
# parameters: # Parameters which can be used to interpolate emitter options
# <param-name>:
# default: "<param-default>"
# trace: # Trace areas to enable tracing
# - "<trace-name>"
# warn-as-error: true # Treat warnings as errors
# output-dir: "{project-root}/_generated" # Configure the base output directory for all emitters
warn-as-error: true
emit:
- "@typespec/openapi3"
options:
"@typespec/openapi3":
"file-type": "json"