Files
codegenerator/codegenerator/templates/rust_cli
Artem Goncharov ae4937df75 Set header parameters in the cli
Certain API operations support/require additional header parameters to
be set with the query (i.e. DNS supports `x-auth-all-projects` and
`x-auth-sudo-project-id`). Such supported headers should be known from
the OpenAPI spec, so add them in the CLI operation and correspondingly
set them into the query.

In difference to the `python-designateclient` `x-auth-all-projects` will
not be set by default, it is wrong to assume so. Admin user is expected
to set this parameter in the CLI invocation explicitly.

Change-Id: I49b9c31dc47911e261cbdd880c3e6d7327e50f4b
Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
2025-07-24 15:56:19 +02:00
..
2024-04-02 14:27:00 +02:00
2024-03-06 10:07:54 +00:00
2025-07-24 15:56:19 +02:00
2025-04-17 14:41:11 +02:00
2024-03-06 10:07:54 +00:00
2025-04-17 14:41:11 +02:00
2025-04-17 14:41:11 +02:00
2025-04-17 14:41:11 +02:00
2024-04-02 14:27:00 +02:00