3
0
corteza/pkg/options/HTTPClient.yaml
Denis Arh 44f7166d97 Options codegen improvements
- Add extra cli switches to generate docs from options
 - More automation/fallbacks/default values for options
2020-12-02 16:12:07 +01:00

22 lines
518 B
YAML

imports:
- time
docs:
title: HTTP Client
props:
- name: clientTSLInsecure
type: bool
env: HTTP_CLIENT_TSL_INSECURE
default: false
description: |
Allow insecure (invalid, expired TSL/SSL certificates) connections.
[IMPORTANT]
We strongly recommend keeping this value set to false except for local development or demos.
- name: httpClientTimeout
type: time.Duration
env: HTTP_CLIENT_TIMEOUT
default: 30 * time.Second
description: Default timeout for clients.