Skip to content

Commit 22a438e

Browse files
author
Pierre-Alain SIMON
committed
MINOR: specification: move confused field display name to description
1 parent ec0961a commit 22a438e

File tree

9 files changed

+27
-27
lines changed

9 files changed

+27
-27
lines changed

models/backend_base.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/defaults_base.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/mailers_section_base.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

models/ring_base.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/build/haproxy_spec.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2923,8 +2923,8 @@ definitions:
29232923
- safe
29242924
type: string
29252925
http_send_name_header:
2926+
description: Add the server name to a request
29262927
type: string
2927-
x-display-name: Add the server name to a request
29282928
x-nullable: true
29292929
http_use_proxy_header:
29302930
enum:
@@ -3004,8 +3004,8 @@ definitions:
30043004
type: string
30053005
x-display-name: Log ASAP
30063006
max_keep_alive_queue:
3007+
description: Maximum server queue size for maintaining keep-alive connections
30073008
type: integer
3008-
x-display-name: Maximum server queue size for maintaining keep-alive connections
30093009
x-nullable: true
30103010
maxconn:
30113011
type: integer
@@ -3069,8 +3069,8 @@ definitions:
30693069
type: integer
30703070
x-nullable: true
30713071
retry_on:
3072+
description: Specify when to attempt to automatically retry a failed request
30723073
type: string
3073-
x-display-name: Specify when to attempt to automatically retry a failed request
30743074
server_fin_timeout:
30753075
minimum: 0
30763076
type: integer
@@ -3963,8 +3963,8 @@ definitions:
39633963
mode:
39643964
value: http
39653965
http_send_name_header:
3966+
description: The header string to use to send the server name
39663967
type: string
3967-
x-display-name: The header string to use to send the server name
39683968
x-nullable: true
39693969
httpchk_params:
39703970
$ref: '#/definitions/httpchk_params'
@@ -4241,9 +4241,10 @@ definitions:
42414241
description: HAProxy ring configuration
42424242
properties:
42434243
description:
4244+
description: The description is an optional description string of the ring
42444245
type: string
4245-
x-display-name: The description is an optional description string of the ring
42464246
format:
4247+
description: Format used to store events into the ring buffer
42474248
enum:
42484249
- iso
42494250
- local
@@ -4254,10 +4255,9 @@ definitions:
42544255
- priority
42554256
- timed
42564257
type: string
4257-
x-display-name: Format used to store events into the ring buffer
42584258
maxlen:
4259+
description: The maximum length of an event message stored into the ring
42594260
type: integer
4260-
x-display-name: The maximum length of an event message stored into the ring
42614261
x-nullable: true
42624262
metadata:
42634263
additionalProperties:
@@ -4267,9 +4267,9 @@ definitions:
42674267
type: string
42684268
x-nullable: false
42694269
size:
4270+
description: Optional size in bytes for the ring-buffer
42704271
minimum: 0
42714272
type: integer
4272-
x-display-name: Optional size in bytes for the ring-buffer
42734273
x-nullable: true
42744274
x-size: true
42754275
timeout_connect:
@@ -4498,10 +4498,10 @@ definitions:
44984498
type: string
44994499
x-nullable: false
45004500
timeout:
4501+
description: Timeout to send an email in milliseconds
45014502
minimum: 0
45024503
type: integer
45034504
x-default-unit: ms
4504-
x-display-name: Timeout to send an email in milliseconds
45054505
x-duration: true
45064506
x-nullable: true
45074507
required:

specification/models/configuration/backend.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ backend_base:
500500
http_send_name_header:
501501
type: string
502502
x-nullable: true
503-
x-display-name: The header string to use to send the server name
503+
description: The header string to use to send the server name
504504
max_keep_alive_queue:
505505
type: integer
506506
x-nullable: true

specification/models/configuration/defaults.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,14 +473,14 @@ defaults_base:
473473
http_send_name_header:
474474
type: string
475475
x-nullable: true
476-
x-display-name: Add the server name to a request
476+
description: Add the server name to a request
477477
max_keep_alive_queue:
478478
type: integer
479479
x-nullable: true
480-
x-display-name: Maximum server queue size for maintaining keep-alive connections
480+
description: Maximum server queue size for maintaining keep-alive connections
481481
retry_on:
482482
type: string
483-
x-display-name: Specify when to attempt to automatically retry a failed request
483+
description: Specify when to attempt to automatically retry a failed request
484484
source:
485485
$ref: "#/definitions/source"
486486
metadata:

specification/models/configuration/mailers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ mailers_section_base:
2525
type: integer
2626
minimum: 0
2727
x-nullable: true
28-
x-display-name: Timeout to send an email in milliseconds
28+
description: Timeout to send an email in milliseconds
2929
x-duration: true
3030
x-default-unit: ms
3131
metadata:

specification/models/configuration/ring.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ ring_base:
2323
x-nullable: false
2424
description:
2525
type: string
26-
x-display-name: The description is an optional description string of the ring
26+
description: The description is an optional description string of the ring
2727
format:
2828
type: string
29-
x-display-name: Format used to store events into the ring buffer
29+
description: Format used to store events into the ring buffer
3030
enum: [iso, local, raw, rfc3164, rfc5424, short, priority, timed]
3131
maxlen:
3232
type: integer
3333
x-nullable: true
34-
x-display-name: The maximum length of an event message stored into the ring
34+
description: The maximum length of an event message stored into the ring
3535
size:
3636
type: integer
3737
minimum: 0
3838
x-nullable: true
39-
x-display-name: Optional size in bytes for the ring-buffer
39+
description: Optional size in bytes for the ring-buffer
4040
x-size: true
4141
timeout_connect:
4242
type: integer

0 commit comments

Comments
 (0)