Skip to content

Commit

Permalink
docs: update docs via ./lint.sh --mode=fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ologbonowiwi committed Mar 12, 2024
1 parent ea7ffde commit fa83698
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions generated/.tailcallrc.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,6 @@ directive @server(
"""
queryValidation: Boolean
"""
The `responseHeaders` are key-value pairs included in every server response. Useful
for setting headers like `Access-Control-Allow-Origin` for cross-origin requests
or additional headers for downstream services.
"""
responseHeaders: [KeyValue]
"""
`responseValidation` Tailcall automatically validates responses from upstream services
using inferred schema. @default `false`.
"""
Expand Down Expand Up @@ -577,6 +571,12 @@ input Headers {
value is the least of the values received from upstream services. @default `false`.
"""
cacheControl: Boolean
"""
`headers` are key-value pairs included in every server response. Useful for setting
headers like `Access-Control-Allow-Origin` for cross-origin requests or additional
headers for downstream services.
"""
custom: [KeyValue]
}
"""
The @http operator indicates that a field or node is backed by a REST API.For instance,
Expand Down
14 changes: 7 additions & 7 deletions generated/.tailcallrc.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1215,6 +1215,13 @@
"boolean",
"null"
]
},
"custom": {
"description": "`headers` are key-value pairs included in every server response. Useful for setting headers like `Access-Control-Allow-Origin` for cross-origin requests or additional headers for downstream services.",
"type": "array",
"items": {
"$ref": "#/definitions/KeyValue"
}
}
}
},
Expand Down Expand Up @@ -1588,13 +1595,6 @@
"null"
]
},
"responseHeaders": {
"description": "The `responseHeaders` are key-value pairs included in every server response. Useful for setting headers like `Access-Control-Allow-Origin` for cross-origin requests or additional headers for downstream services.",
"type": "array",
"items": {
"$ref": "#/definitions/KeyValue"
}
},
"responseValidation": {
"description": "`responseValidation` Tailcall automatically validates responses from upstream services using inferred schema. @default `false`.",
"type": [
Expand Down

0 comments on commit fa83698

Please sign in to comment.