Fix move quoting
This commit is contained in:
@@ -18,6 +18,7 @@ from typing_extensions import Annotated
|
||||
|
||||
from pydantic import StrictStr
|
||||
from board_mate_client.models.game_dto import GameDto
|
||||
from board_mate_client.models.move_dto import MoveDto
|
||||
from board_mate_client.models.response_body_game_dto import ResponseBodyGameDto
|
||||
from board_mate_client.models.response_body_string import ResponseBodyString
|
||||
|
||||
@@ -43,7 +44,7 @@ class DefaultApi:
|
||||
def add_move(
|
||||
self,
|
||||
game_id: StrictStr,
|
||||
body: StrictStr,
|
||||
move_dto: MoveDto,
|
||||
_request_timeout: Union[
|
||||
None,
|
||||
Annotated[StrictFloat, Field(gt=0)],
|
||||
@@ -62,8 +63,8 @@ class DefaultApi:
|
||||
|
||||
:param game_id: (required)
|
||||
:type game_id: str
|
||||
:param body: (required)
|
||||
:type body: str
|
||||
:param move_dto: (required)
|
||||
:type move_dto: MoveDto
|
||||
:param _request_timeout: timeout setting for this request. If one
|
||||
number provided, it will be total request
|
||||
timeout. It can also be a pair (tuple) of
|
||||
@@ -88,7 +89,7 @@ class DefaultApi:
|
||||
|
||||
_param = self._add_move_serialize(
|
||||
game_id=game_id,
|
||||
body=body,
|
||||
move_dto=move_dto,
|
||||
_request_auth=_request_auth,
|
||||
_content_type=_content_type,
|
||||
_headers=_headers,
|
||||
@@ -113,7 +114,7 @@ class DefaultApi:
|
||||
def add_move_with_http_info(
|
||||
self,
|
||||
game_id: StrictStr,
|
||||
body: StrictStr,
|
||||
move_dto: MoveDto,
|
||||
_request_timeout: Union[
|
||||
None,
|
||||
Annotated[StrictFloat, Field(gt=0)],
|
||||
@@ -132,8 +133,8 @@ class DefaultApi:
|
||||
|
||||
:param game_id: (required)
|
||||
:type game_id: str
|
||||
:param body: (required)
|
||||
:type body: str
|
||||
:param move_dto: (required)
|
||||
:type move_dto: MoveDto
|
||||
:param _request_timeout: timeout setting for this request. If one
|
||||
number provided, it will be total request
|
||||
timeout. It can also be a pair (tuple) of
|
||||
@@ -158,7 +159,7 @@ class DefaultApi:
|
||||
|
||||
_param = self._add_move_serialize(
|
||||
game_id=game_id,
|
||||
body=body,
|
||||
move_dto=move_dto,
|
||||
_request_auth=_request_auth,
|
||||
_content_type=_content_type,
|
||||
_headers=_headers,
|
||||
@@ -183,7 +184,7 @@ class DefaultApi:
|
||||
def add_move_without_preload_content(
|
||||
self,
|
||||
game_id: StrictStr,
|
||||
body: StrictStr,
|
||||
move_dto: MoveDto,
|
||||
_request_timeout: Union[
|
||||
None,
|
||||
Annotated[StrictFloat, Field(gt=0)],
|
||||
@@ -202,8 +203,8 @@ class DefaultApi:
|
||||
|
||||
:param game_id: (required)
|
||||
:type game_id: str
|
||||
:param body: (required)
|
||||
:type body: str
|
||||
:param move_dto: (required)
|
||||
:type move_dto: MoveDto
|
||||
:param _request_timeout: timeout setting for this request. If one
|
||||
number provided, it will be total request
|
||||
timeout. It can also be a pair (tuple) of
|
||||
@@ -228,7 +229,7 @@ class DefaultApi:
|
||||
|
||||
_param = self._add_move_serialize(
|
||||
game_id=game_id,
|
||||
body=body,
|
||||
move_dto=move_dto,
|
||||
_request_auth=_request_auth,
|
||||
_content_type=_content_type,
|
||||
_headers=_headers,
|
||||
@@ -248,7 +249,7 @@ class DefaultApi:
|
||||
def _add_move_serialize(
|
||||
self,
|
||||
game_id,
|
||||
body,
|
||||
move_dto,
|
||||
_request_auth,
|
||||
_content_type,
|
||||
_headers,
|
||||
@@ -274,8 +275,8 @@ class DefaultApi:
|
||||
# process the header parameters
|
||||
# process the form parameters
|
||||
# process the body parameter
|
||||
if body is not None:
|
||||
_body_params = body
|
||||
if move_dto is not None:
|
||||
_body_params = move_dto
|
||||
|
||||
|
||||
# set the HTTP header `Accept`
|
||||
|
||||
Reference in New Issue
Block a user