Skip to content

Commit

Permalink
✨ regenerate with v7.7.0 openapi generator: now allows for custom Acc…
Browse files Browse the repository at this point in the history
…ept headers
  • Loading branch information
ff137 committed Jul 11, 2024
1 parent 05d42c2 commit 8344b0d
Showing 1 changed file with 44 additions and 33 deletions.
77 changes: 44 additions & 33 deletions aries_cloudcontroller/api/ledger_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,10 @@ def _accept_taa_serialize(
_body_params = body

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# set the HTTP header `Content-Type`
if _content_type:
Expand Down Expand Up @@ -217,9 +218,10 @@ def _fetch_taa_serialize(
# process the body parameter

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]
Expand Down Expand Up @@ -305,9 +307,10 @@ def _get_config_serialize(
# process the body parameter

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]
Expand Down Expand Up @@ -414,9 +417,10 @@ def _get_did_endpoint_serialize(
# process the body parameter

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]
Expand Down Expand Up @@ -511,9 +515,10 @@ def _get_did_nym_role_serialize(
# process the body parameter

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]
Expand Down Expand Up @@ -608,9 +613,10 @@ def _get_did_verkey_serialize(
# process the body parameter

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]
Expand Down Expand Up @@ -696,9 +702,10 @@ def _get_write_ledger_serialize(
# process the body parameter

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]
Expand Down Expand Up @@ -784,9 +791,10 @@ def _get_write_ledgers_serialize(
# process the body parameter

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]
Expand Down Expand Up @@ -933,9 +941,10 @@ def _register_nym_serialize(
# process the body parameter

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]
Expand Down Expand Up @@ -1021,9 +1030,10 @@ def _rotate_public_did_keypair_serialize(
# process the body parameter

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]
Expand Down Expand Up @@ -1116,9 +1126,10 @@ def _set_write_ledger_serialize(
# process the body parameter

# set the HTTP header `Accept`
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)
if "Accept" not in _header_params:
_header_params["Accept"] = self.api_client.select_header_accept(
["application/json"]
)

# authentication setting
_auth_settings: List[str] = ["AuthorizationHeader"]
Expand Down

0 comments on commit 8344b0d

Please sign in to comment.