-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.yaml
46 lines (37 loc) · 1.21 KB
/
config.example.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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# yaml-language-server: $schema=https://raw.githubusercontent.com/hasura/ndc-http/refs/heads/main/ndc-http-schema/jsonschema/convert-config.schema.json
# -- File path needs to be converted.
file: ""
# -- The location where the ndc schema file will be generated.
# Print to stdout if empty
output: ""
# -- The API specification of the file, is one of oas3 (openapi3), oas2 (openapi2)
# @enum: oas2, oas3
spec: oas3
# -- Add a prefix to the function and procedure names
# prefix: ""
# -- Trim the prefix in URL, e.g. /v1
# trimPrefix: ""
# -- The environment variable prefix for security values, e.g. PET_STORE
# envPrefix: ""
# -- Patch files to be applied into the input file
# patchBefore:
# - path: ""
# strategy: merge # @enum: merge, json6902
#
# patchAfter:
# - path: ""
# strategy: merge # @enum: merge, json6902
# -- Return the pure NDC schema only
pure: false
# -- Require strict validation on empty types
strict: false
# -- Alias names for HTTP method. Used for prefix renaming, e.g. getUsers, postUser
# methodAlias:
# get: get
# post: post
# put: put
# patch: patch
# delete: delete
# -- Allowed content types. All content types are allowed by default
# allowedContentTypes:
# - application/json