diff --git a/swagger/api-metadata.yaml b/swagger/api-metadata.yaml index abdbf5ba05ae33bbeefc71336137f737460b60c7..cfae26f6afcd8cb5a9da489c97eb0bbdb0bf18e8 100644 --- a/swagger/api-metadata.yaml +++ b/swagger/api-metadata.yaml @@ -149,11 +149,11 @@ components: type: string resumptionToken: type: string + parametersString: + type: string fromDate: type: string format: date-time - parametersString: - type: string untilDate: type: string format: date-time diff --git a/swagger/api-query.yaml b/swagger/api-query.yaml index 7772e6ecbeafdfb8579d993e86e6a8d527e46c0d..a215efed2ff48a042cba6cbe17c2a38b2e2de861 100644 --- a/swagger/api-query.yaml +++ b/swagger/api-query.yaml @@ -21,7 +21,7 @@ paths: tags: - table-history-endpoint summary: Find all history - operationId: getAll + operationId: getAll_1 parameters: - name: id in: path @@ -98,7 +98,7 @@ paths: tags: - table-history-endpoint summary: Find all history - operationId: getAll_1 + operationId: getAll parameters: - name: id in: path @@ -176,7 +176,7 @@ paths: tags: - table-data-endpoint summary: Find data - operationId: getAll_2 + operationId: getAll_3 parameters: - name: id in: path @@ -513,7 +513,7 @@ paths: tags: - table-data-endpoint summary: Find data - operationId: getAll_3 + operationId: getAll_2 parameters: - name: id in: path diff --git a/swagger/api/api_metadata/models/oai_list_identifiers_parameters.py b/swagger/api/api_metadata/models/oai_list_identifiers_parameters.py index 4ed5d2ccb5930e91f7ab902e582327cefd534dce..9d3169865c8f2d53e3b6afe09f14843cb36ea3ac 100644 --- a/swagger/api/api_metadata/models/oai_list_identifiers_parameters.py +++ b/swagger/api/api_metadata/models/oai_list_identifiers_parameters.py @@ -33,8 +33,8 @@ class OaiListIdentifiersParameters(object): 'until': 'str', 'set': 'str', 'resumption_token': 'str', - 'from_date': 'datetime', 'parameters_string': 'str', + 'from_date': 'datetime', 'until_date': 'datetime' } @@ -44,20 +44,20 @@ class OaiListIdentifiersParameters(object): 'until': 'until', 'set': 'set', 'resumption_token': 'resumptionToken', - 'from_date': 'fromDate', 'parameters_string': 'parametersString', + 'from_date': 'fromDate', 'until_date': 'untilDate' } - def __init__(self, metadata_prefix=None, _from=None, until=None, set=None, resumption_token=None, from_date=None, parameters_string=None, until_date=None): # noqa: E501 + def __init__(self, metadata_prefix=None, _from=None, until=None, set=None, resumption_token=None, parameters_string=None, from_date=None, until_date=None): # noqa: E501 """OaiListIdentifiersParameters - a model defined in Swagger""" # noqa: E501 self._metadata_prefix = None self.__from = None self._until = None self._set = None self._resumption_token = None - self._from_date = None self._parameters_string = None + self._from_date = None self._until_date = None self.discriminator = None if metadata_prefix is not None: @@ -70,10 +70,10 @@ class OaiListIdentifiersParameters(object): self.set = set if resumption_token is not None: self.resumption_token = resumption_token - if from_date is not None: - self.from_date = from_date if parameters_string is not None: self.parameters_string = parameters_string + if from_date is not None: + self.from_date = from_date if until_date is not None: self.until_date = until_date @@ -182,27 +182,6 @@ class OaiListIdentifiersParameters(object): self._resumption_token = resumption_token - @property - def from_date(self): - """Gets the from_date of this OaiListIdentifiersParameters. # noqa: E501 - - - :return: The from_date of this OaiListIdentifiersParameters. # noqa: E501 - :rtype: datetime - """ - return self._from_date - - @from_date.setter - def from_date(self, from_date): - """Sets the from_date of this OaiListIdentifiersParameters. - - - :param from_date: The from_date of this OaiListIdentifiersParameters. # noqa: E501 - :type: datetime - """ - - self._from_date = from_date - @property def parameters_string(self): """Gets the parameters_string of this OaiListIdentifiersParameters. # noqa: E501 @@ -224,6 +203,27 @@ class OaiListIdentifiersParameters(object): self._parameters_string = parameters_string + @property + def from_date(self): + """Gets the from_date of this OaiListIdentifiersParameters. # noqa: E501 + + + :return: The from_date of this OaiListIdentifiersParameters. # noqa: E501 + :rtype: datetime + """ + return self._from_date + + @from_date.setter + def from_date(self, from_date): + """Sets the from_date of this OaiListIdentifiersParameters. + + + :param from_date: The from_date of this OaiListIdentifiersParameters. # noqa: E501 + :type: datetime + """ + + self._from_date = from_date + @property def until_date(self): """Gets the until_date of this OaiListIdentifiersParameters. # noqa: E501 diff --git a/swagger/api/api_query/api/table_data_endpoint_api.py b/swagger/api/api_query/api/table_data_endpoint_api.py index d320ecf7d55b32502bc9664e192d60f6ffbd7548..9a1f80cbba159486d61f51bfcbf453c078cb7d4b 100644 --- a/swagger/api/api_query/api/table_data_endpoint_api.py +++ b/swagger/api/api_query/api/table_data_endpoint_api.py @@ -267,7 +267,7 @@ class TableDataEndpointApi(object): auth_settings = ['bearerAuth'] # noqa: E501 return self.api_client.call_api( - '/api/container/{id}/database/{databaseId}/table/{tableId}/data', 'GET', + '/api/container/{id}/database/{databaseId}/table/{tableId}/data', 'HEAD', path_params, query_params, header_params, @@ -396,7 +396,7 @@ class TableDataEndpointApi(object): auth_settings = ['bearerAuth'] # noqa: E501 return self.api_client.call_api( - '/api/container/{id}/database/{databaseId}/table/{tableId}/data', 'HEAD', + '/api/container/{id}/database/{databaseId}/table/{tableId}/data', 'GET', path_params, query_params, header_params, diff --git a/swagger/api/api_query/api/table_history_endpoint_api.py b/swagger/api/api_query/api/table_history_endpoint_api.py index 024816773f5d4328cc00116d9c298b48cd860fc9..f013bf0c6aede1359efe4f36e48a29c1d18215c9 100644 --- a/swagger/api/api_query/api/table_history_endpoint_api.py +++ b/swagger/api/api_query/api/table_history_endpoint_api.py @@ -126,7 +126,7 @@ class TableHistoryEndpointApi(object): auth_settings = ['bearerAuth'] # noqa: E501 return self.api_client.call_api( - '/api/container/{id}/database/{databaseId}/table/{tableId}/history', 'GET', + '/api/container/{id}/database/{databaseId}/table/{tableId}/history', 'HEAD', path_params, query_params, header_params, @@ -235,7 +235,7 @@ class TableHistoryEndpointApi(object): auth_settings = ['bearerAuth'] # noqa: E501 return self.api_client.call_api( - '/api/container/{id}/database/{databaseId}/table/{tableId}/history', 'HEAD', + '/api/container/{id}/database/{databaseId}/table/{tableId}/history', 'GET', path_params, query_params, header_params, diff --git a/swagger/metadata/api.yaml b/swagger/metadata/api.yaml index abdbf5ba05ae33bbeefc71336137f737460b60c7..cfae26f6afcd8cb5a9da489c97eb0bbdb0bf18e8 100644 --- a/swagger/metadata/api.yaml +++ b/swagger/metadata/api.yaml @@ -149,11 +149,11 @@ components: type: string resumptionToken: type: string + parametersString: + type: string fromDate: type: string format: date-time - parametersString: - type: string untilDate: type: string format: date-time diff --git a/swagger/query/api.yaml b/swagger/query/api.yaml index 7772e6ecbeafdfb8579d993e86e6a8d527e46c0d..a215efed2ff48a042cba6cbe17c2a38b2e2de861 100644 --- a/swagger/query/api.yaml +++ b/swagger/query/api.yaml @@ -21,7 +21,7 @@ paths: tags: - table-history-endpoint summary: Find all history - operationId: getAll + operationId: getAll_1 parameters: - name: id in: path @@ -98,7 +98,7 @@ paths: tags: - table-history-endpoint summary: Find all history - operationId: getAll_1 + operationId: getAll parameters: - name: id in: path @@ -176,7 +176,7 @@ paths: tags: - table-data-endpoint summary: Find data - operationId: getAll_2 + operationId: getAll_3 parameters: - name: id in: path @@ -513,7 +513,7 @@ paths: tags: - table-data-endpoint summary: Find data - operationId: getAll_3 + operationId: getAll_2 parameters: - name: id in: path