Skip to content

Commit

Permalink
BUILD/MINOR: spec: fix yamllint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mjuraga committed Dec 22, 2023
1 parent be6bd87 commit fc818fb
Show file tree
Hide file tree
Showing 30 changed files with 45 additions and 17 deletions.
32 changes: 16 additions & 16 deletions specification/models/configuration/bind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ bind:
- $ref: '#/definitions/bind_params'
- type: object
properties:
address:
type: string
pattern: '^[^\s]+$'
example: 127.0.0.1
port:
maximum: 65535
minimum: 1
type: integer
x-nullable: true
example: 80
port-range-end:
maximum: 65535
minimum: 1
type: integer
x-nullable: true
example: 81
address:
type: string
pattern: '^[^\s]+$'
example: 127.0.0.1
port:
maximum: 65535
minimum: 1
type: integer
x-nullable: true
example: 80
port-range-end:
maximum: 65535
minimum: 1
type: integer
x-nullable: true
example: 81
additionalProperties: false
default_bind:
title: Default Bind
Expand Down
1 change: 1 addition & 0 deletions specification/models/configuration/bind_params.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
bind_params:
type: object
properties:
Expand Down
1 change: 1 addition & 0 deletions specification/models/configuration/errorfiles.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
errorfiles:
type: object
properties:
Expand Down
1 change: 1 addition & 0 deletions specification/models/configuration/server_params.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
server_params:
type: object
properties:
Expand Down
1 change: 1 addition & 0 deletions specification/models/configuration/table.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
table:
type: object
properties:
Expand Down
1 change: 1 addition & 0 deletions specification/models/runtime/acl_file.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
acl_file:
title: ACL File
description: ACL File
Expand Down
1 change: 1 addition & 0 deletions specification/models/runtime/acl_file_entry.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
acl_file_entry:
title: One ACL File Entry
description: One ACL File Entry
Expand Down
1 change: 1 addition & 0 deletions specification/models/runtime/map_entry.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
map_entry:
title: One Map Entry
description: One Map Entry
Expand Down
1 change: 1 addition & 0 deletions specification/models/runtime/process_info.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
process_infos:
title: HAProxy Information
description: General HAProxy process information
Expand Down
1 change: 1 addition & 0 deletions specification/models/runtime/process_info_item.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
process_info_item:
type: object
properties:
Expand Down
1 change: 1 addition & 0 deletions specification/models/runtime/server.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
server:
title: Runtime Server
description: Runtime transient server properties
Expand Down
1 change: 1 addition & 0 deletions specification/models/runtime/ssl_cert_entry.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
ssl_cert_entry:
title: One SSL Certificate Entry
description: One SSL/TLS certificate
Expand Down
1 change: 1 addition & 0 deletions specification/models/runtime/table.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
table:
title: Stick Table
description: Stick Table Information
Expand Down
1 change: 1 addition & 0 deletions specification/models/runtime/table_entry.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
table_entry:
title: Stick Table Entry
description: One entry in stick table
Expand Down
1 change: 1 addition & 0 deletions specification/models/storage/general_file.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
general_file:
title: General use file
description: General use file
Expand Down
1 change: 1 addition & 0 deletions specification/models/storage/map.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
map:
title: Map File
description: Map File
Expand Down
1 change: 1 addition & 0 deletions specification/models/storage/ssl_certificate.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
ssl_certificate:
title: SSL File
description: A file containing one or more SSL/TLS certificates and keys
Expand Down
2 changes: 1 addition & 1 deletion specification/paths/configuration/http_errors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,4 @@ http_errors_section_one:
'404':
$ref: '#/responses/NotFound'
'default':
$ref: '#/responses/DefaultError'
$ref: '#/responses/DefaultError'
1 change: 1 addition & 0 deletions specification/paths/configuration/table.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
tables:
get:
summary: Return an array of tables
Expand Down
1 change: 1 addition & 0 deletions specification/paths/runtime/acls.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
acls:
get:
tags:
Expand Down
1 change: 1 addition & 0 deletions specification/paths/runtime/acls_entries.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
acls_entries_one:
get:
tags:
Expand Down
1 change: 1 addition & 0 deletions specification/paths/runtime/maps.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
maps:
get: # show map
summary: Return runtime map files
Expand Down
1 change: 1 addition & 0 deletions specification/paths/runtime/maps_entries.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
maps_entries:
get: # show map [map]
summary: Return one map runtime entries
Expand Down
1 change: 1 addition & 0 deletions specification/paths/runtime/process_info.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
process_info:
get:
tags:
Expand Down
1 change: 1 addition & 0 deletions specification/paths/runtime/servers.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
servers:
get:
summary: Return an array of runtime servers' settings
Expand Down
1 change: 1 addition & 0 deletions specification/paths/runtime/stick_table_entries.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
stick_table_entries:
post:
summary: Set Entry to Stick Table
Expand Down
1 change: 1 addition & 0 deletions specification/paths/runtime/stick_tables.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
stick_tables:
get:
summary: Return Stick Tables
Expand Down
1 change: 1 addition & 0 deletions specification/paths/storage/general_files.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
general_files:
get:
summary: Return a list of all managed general use files
Expand Down
1 change: 1 addition & 0 deletions specification/paths/storage/maps.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
maps:
get:
summary: Return a list of all managed map files
Expand Down
1 change: 1 addition & 0 deletions specification/paths/storage/ssl_certificates.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
ssl_certificates:
get:
summary: Return all available SSL certificates on disk
Expand Down

0 comments on commit fc818fb

Please sign in to comment.