Gwen Lg
|
21db7a4d4b
|
chore: remove various useless code
- call expect directly on Result
lint message: called `ok().expect()` on a `Result` value
help: you can call `expect()` directly on the `Result`
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#ok_expect
- use assign operation instead of manual implementation
lint message: manual implementation of an assign operation
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#assign_op_pattern
- remove useless call to format
lint message: useless use of `format!`
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#useless_format
- remove useless `?Sized`
lint message: `?Sized` bound is ignored because of a `Sized` requirement
note: ...because `Deserialize` has the bound `Sized`
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#needless_maybe_sized
- use is_some instead of pattern maching with Some(_)
lint message: redundant pattern matching, consider using `is_some()`
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#redundant_pattern_matching
- remove unneeded unit return type
lint message: unneeded unit return type
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#unused_unit
- remove redundant closure
lint message: redundant closure
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#redundant_closure
- use derive Default instead of manual implementation
lint message: this `impl` can be derived
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#derivable_impls
- remove unneeded `return` statement
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#needless_return
- remove empty string from println call
lint message: empty string literal in `println!`
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#println_empty_string
- remove clone() on type than implement Copy
lint message: using `clone` on type `Option<ChecksumValue>` which implements the `Copy` trait
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#clone_on_copy
- remove useless let binding
lint message: this let-binding has unit value
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#let_unit_value
- remove useless len comparison to zero, already test of empty
lint message: length comparison to zero
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#len_zero
- remove useless `as_deref` call
lint message: derefed type is same as origin
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#needless_option_as_deref
- remove useless conversion of the same type
lint message: useless conversion to the same type: `replication_mode::ReplicationFactor`
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#useless_conversion
- remove useless bool_comparison
lint message: equality checks against false can be replaced by a negation
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#bool_comparison
- remove useless to_string
lint message: unnecessary use of `to_string`
help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#unnecessary_to_owned
Signed-off-by: Gwen Lg <me@gwenlg.fr>
|
2026-01-29 20:49:28 +01:00 |
|
Gwen Lg
|
e331f88c85
|
chore: fix typos in rust code comment or error message
|
2026-01-29 14:53:27 +01:00 |
|
Alex Auvolat
|
582b168b6a
|
bump version to v2.2.0
|
2026-01-24 12:32:22 +01:00 |
|
Alex Auvolat
|
cf2f058f60
|
openapi: work around issue for flattenned untagged enum (fix #1249)
|
2026-01-06 10:11:12 +01:00 |
|
Alex Auvolat
|
b43f309ec7
|
bump version to v2.1.0
|
2025-09-15 15:50:02 +02:00 |
|
Alex Auvolat
|
7a256b2ebb
|
openapi: fix query parameters (fix #1160)
|
2025-09-14 17:27:37 +02:00 |
|
Milas Bowman
|
4deb57815a
|
fix(api): use query params, not path params for Update & Delete Bucket
|
2025-08-23 13:02:03 -04:00 |
|
Xavier Stouder
|
9a31b9c077
|
api: change endpoint name and allow it to be called even if not in current token scope
|
2025-07-03 21:59:23 +02:00 |
|
Xavier Stouder
|
58a96dc687
|
api: correct openapi def
|
2025-07-03 21:59:22 +02:00 |
|
Xavier Stouder
|
7bbb3ff9cf
|
api: add instrospect endpoint
Fixes #1091
|
2025-07-01 23:14:09 +02:00 |
|
Alex Auvolat
|
42baa29e50
|
openapi spec: add missing datatypes for path parameters
|
2025-06-14 17:25:37 +02:00 |
|
Alex Auvolat
|
5e7307cbf3
|
admin api: add comments for InspectObject
|
2025-04-06 14:21:54 +02:00 |
|
Alex Auvolat
|
fd0e23e984
|
admin api: implement InspectObject (fix #892)
|
2025-04-06 13:23:39 +02:00 |
|
Alex Auvolat
|
0b12debf6c
|
admin api: generate params from struct
|
2025-03-12 11:07:12 +01:00 |
|
Alex Auvolat
|
795b4a41b7
|
admin api: add special endpoints to openapi spec
|
2025-03-12 10:52:58 +01:00 |
|
Alex Auvolat
|
9511b20153
|
admin api: add openapi spec for admin token management functions
|
2025-03-11 15:38:38 +01:00 |
|
Alex Auvolat
|
0951b5db75
|
admin api: implement ClusterLayoutSkipDeadNodes and use it in CLI
|
2025-03-06 18:49:56 +01:00 |
|
Alex Auvolat
|
3d94eb8d4b
|
admin api: implement GetClusterLayoutHistory and use it in CLI
|
2025-03-06 18:33:05 +01:00 |
|
Alex Auvolat
|
913e6da41b
|
admin api: implement PreviewClusterLayoutChanges
|
2025-03-06 17:27:23 +01:00 |
|
Alex Auvolat
|
6b19d7628e
|
admin api: small fixes and reordering
|
2025-03-06 14:21:25 +01:00 |
|
Alex Auvolat
|
411f1d495c
|
admin api: add all missing endpoints to openapi spec
|
2025-03-06 14:01:39 +01:00 |
|
Alex Auvolat
|
ba68506c36
|
admin api: generate openapi spec using utoipa (wip)
|
2025-03-06 12:26:14 +01:00 |
|