Skip to content

Commit

Permalink
BUG/MINOR: http-request: fix enum for default-errorfile in return action
Browse files Browse the repository at this point in the history
  • Loading branch information
mjuraga committed Feb 14, 2024
1 parent c8aff4c commit b462418
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions models/http_error_rule.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions models/http_request_rule.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions models/http_response_rule.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions specification/build/haproxy_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3951,7 +3951,7 @@ definitions:
- lf-string
return_content_format:
enum:
- default-errorfile
- default-errorfiles
- errorfile
- errorfiles
- file
Expand Down Expand Up @@ -4534,7 +4534,7 @@ definitions:
- lf-string
return_content_format:
enum:
- default-errorfile
- default-errorfiles
- errorfile
- errorfiles
- file
Expand Down Expand Up @@ -5079,7 +5079,7 @@ definitions:
- lf-string
return_content_format:
enum:
- default-errorfile
- default-errorfiles
- errorfile
- errorfiles
- file
Expand Down
2 changes: 1 addition & 1 deletion specification/models/configuration/http/error.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ http_error_rule:
x-nullable: true
return_content_format:
type: string
enum: [default-errorfile, errorfile, errorfiles, file, lf-file, string, lf-string]
enum: [default-errorfiles, errorfile, errorfiles, file, lf-file, string, lf-string]
x-dependency:
type:
value: status
Expand Down
2 changes: 1 addition & 1 deletion specification/models/configuration/http/request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ http_request_rule:
x-nullable: true
return_content_format:
type: string
enum: [default-errorfile, errorfile, errorfiles, file, lf-file, string, lf-string]
enum: [default-errorfiles, errorfile, errorfiles, file, lf-file, string, lf-string]
x-dependency:
type:
value: [deny, tarpit, return]
Expand Down
2 changes: 1 addition & 1 deletion specification/models/configuration/http/response.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ http_response_rule:
x-nullable: true
return_content_format:
type: string
enum: [default-errorfile, errorfile, errorfiles, file, lf-file, string, lf-string]
enum: [default-errorfiles, errorfile, errorfiles, file, lf-file, string, lf-string]
x-dependency:
type:
value: [deny, return]
Expand Down

0 comments on commit b462418

Please sign in to comment.