Config file with Port number.

Started implementing typespec for OpenAPI spec.
This commit is contained in:
Martin Berg Alstad
2024-06-07 14:37:47 +02:00
parent 9cb0fa0a59
commit 4fe388aca3
8 changed files with 1031 additions and 2 deletions

16
spec/tspconfig.yaml Normal file
View File

@ -0,0 +1,16 @@
# extends: ../tspconfig.yaml # Extend another config file
emit: # Emitter name
- "@typespec/openapi3"
# 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