Skip to content

Commit

Permalink
Add description
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfischer-ch committed Feb 17, 2025
1 parent cfef10a commit ccdad77
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ provider "aria" {
- `access_token` (String, Sensitive) The access token to use for making API requests. May also be provided via ARIA_ACCESS_TOKEN environment variable.
- `host` (String) The URI to Aria. May also be provided via ARIA_HOST environment variable.
- `insecure` (Boolean) Whether server should be accessed without verifying the TLS certificate. May also be provided via ARIA_INSECURE environment variable.
- `ko_api_calls_log_level` (String)
- `ok_api_calls_log_level` (String)
- `ko_api_calls_log_level` (String) Successful API calls log level. One of `INFO`, `DEBUG` (default) or `TRACE`.
- `ok_api_calls_log_level` (String) Successful API calls log level. One of `INFO`, `DEBUG` or `TRACE` (default).
- `refresh_token` (String, Sensitive) The refresh token to use for making API requests. May also be provided via ARIA_REFRESH_TOKEN environment variable.
4 changes: 4 additions & 0 deletions internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,16 @@ func (self *AriaProvider) Schema(
Optional: true,
},
"ok_api_calls_log_level": schema.StringAttribute{
MarkdownDescription: "Successful API calls log level. " +
"One of `INFO`, `DEBUG` or `TRACE` (default).",
Optional: true,
Validators: []validator.String{
stringvalidator.OneOf([]string{"INFO", "DEBUG", "TRACE"}...),
},
},
"ko_api_calls_log_level": schema.StringAttribute{
MarkdownDescription: "Successful API calls log level. " +
"One of `INFO`, `DEBUG` (default) or `TRACE`.",
Optional: true,
Validators: []validator.String{
stringvalidator.OneOf([]string{"INFO", "DEBUG", "TRACE"}...),
Expand Down

0 comments on commit ccdad77

Please sign in to comment.