summaryrefslogtreecommitdiffstats
path: root/python_openapi_client
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-09-18 17:49:30 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-09-18 17:49:30 -0700
commita8fec1c8d34292d0ea74690d545db519c1ee8be6 (patch)
treedf6ac208da1e856e8bf76c7fe5ad978325b7aa66 /python_openapi_client
parentedc000220baee1f91811345aba87bdab2d259c61 (diff)
downloadfatcat-a8fec1c8d34292d0ea74690d545db519c1ee8be6.tar.gz
fatcat-a8fec1c8d34292d0ea74690d545db519c1ee8be6.zip
codegen python lib v0.3.1
Diffstat (limited to 'python_openapi_client')
-rw-r--r--python_openapi_client/README.md4
-rw-r--r--python_openapi_client/fatcat_openapi_client/__init__.py3
-rw-r--r--python_openapi_client/fatcat_openapi_client/api/default_api.py105
-rw-r--r--python_openapi_client/fatcat_openapi_client/api_client.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/configuration.py4
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/__init__.py3
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/auth_oidc.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/auth_oidc_result.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/auth_token_result.py113
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/changelog_entry.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/container_auto_batch.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/container_entity.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/creator_auto_batch.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/creator_entity.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/editgroup.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/editgroup_annotation.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/editgroup_edits.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/editor.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/entity_edit.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/entity_history_entry.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/error_response.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/file_auto_batch.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/file_entity.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/file_url.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/fileset_auto_batch.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/fileset_entity.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/fileset_file.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/fileset_url.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/release_abstract.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/release_auto_batch.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/release_contrib.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/release_entity.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/release_ref.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/success.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/webcapture_auto_batch.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/webcapture_cdx_line.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/webcapture_entity.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/webcapture_url.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/work_auto_batch.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/models/work_entity.py2
-rw-r--r--python_openapi_client/fatcat_openapi_client/rest.py2
-rw-r--r--python_openapi_client/tests/codegen/test_auth_oidc.py2
-rw-r--r--python_openapi_client/tests/codegen/test_auth_oidc_result.py2
-rw-r--r--python_openapi_client/tests/codegen/test_auth_token_result.py40
-rw-r--r--python_openapi_client/tests/codegen/test_changelog_entry.py2
-rw-r--r--python_openapi_client/tests/codegen/test_container_auto_batch.py2
-rw-r--r--python_openapi_client/tests/codegen/test_container_entity.py2
-rw-r--r--python_openapi_client/tests/codegen/test_creator_auto_batch.py2
-rw-r--r--python_openapi_client/tests/codegen/test_creator_entity.py2
-rw-r--r--python_openapi_client/tests/codegen/test_default_api.py8
-rw-r--r--python_openapi_client/tests/codegen/test_editgroup.py2
-rw-r--r--python_openapi_client/tests/codegen/test_editgroup_annotation.py2
-rw-r--r--python_openapi_client/tests/codegen/test_editgroup_edits.py2
-rw-r--r--python_openapi_client/tests/codegen/test_editor.py2
-rw-r--r--python_openapi_client/tests/codegen/test_entity_edit.py2
-rw-r--r--python_openapi_client/tests/codegen/test_entity_history_entry.py2
-rw-r--r--python_openapi_client/tests/codegen/test_error_response.py2
-rw-r--r--python_openapi_client/tests/codegen/test_file_auto_batch.py2
-rw-r--r--python_openapi_client/tests/codegen/test_file_entity.py2
-rw-r--r--python_openapi_client/tests/codegen/test_file_url.py2
-rw-r--r--python_openapi_client/tests/codegen/test_fileset_auto_batch.py2
-rw-r--r--python_openapi_client/tests/codegen/test_fileset_entity.py2
-rw-r--r--python_openapi_client/tests/codegen/test_fileset_file.py2
-rw-r--r--python_openapi_client/tests/codegen/test_fileset_url.py2
-rw-r--r--python_openapi_client/tests/codegen/test_release_abstract.py2
-rw-r--r--python_openapi_client/tests/codegen/test_release_auto_batch.py2
-rw-r--r--python_openapi_client/tests/codegen/test_release_contrib.py2
-rw-r--r--python_openapi_client/tests/codegen/test_release_entity.py2
-rw-r--r--python_openapi_client/tests/codegen/test_release_ext_ids.py2
-rw-r--r--python_openapi_client/tests/codegen/test_release_ref.py2
-rw-r--r--python_openapi_client/tests/codegen/test_success.py2
-rw-r--r--python_openapi_client/tests/codegen/test_webcapture_auto_batch.py2
-rw-r--r--python_openapi_client/tests/codegen/test_webcapture_cdx_line.py2
-rw-r--r--python_openapi_client/tests/codegen/test_webcapture_entity.py2
-rw-r--r--python_openapi_client/tests/codegen/test_webcapture_url.py2
-rw-r--r--python_openapi_client/tests/codegen/test_work_auto_batch.py2
-rw-r--r--python_openapi_client/tests/codegen/test_work_entity.py2
78 files changed, 343 insertions, 77 deletions
diff --git a/python_openapi_client/README.md b/python_openapi_client/README.md
index 8c9a5180..f2b4ead9 100644
--- a/python_openapi_client/README.md
+++ b/python_openapi_client/README.md
@@ -3,7 +3,7 @@ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities
This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
-- API version: 0.3.0
+- API version: 0.3.1
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen
For more information, please visit [https://fatcat.wiki](https://fatcat.wiki)
@@ -77,6 +77,7 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**accept_editgroup**](docs/DefaultApi.md#accept_editgroup) | **POST** /editgroup/{editgroup_id}/accept |
*DefaultApi* | [**auth_check**](docs/DefaultApi.md#auth_check) | **GET** /auth/check |
*DefaultApi* | [**auth_oidc**](docs/DefaultApi.md#auth_oidc) | **POST** /auth/oidc |
+*DefaultApi* | [**create_auth_token**](docs/DefaultApi.md#create_auth_token) | **POST** /auth/token/{editor_id} |
*DefaultApi* | [**create_container**](docs/DefaultApi.md#create_container) | **POST** /editgroup/{editgroup_id}/container |
*DefaultApi* | [**create_container_auto_batch**](docs/DefaultApi.md#create_container_auto_batch) | **POST** /editgroup/auto/container/batch |
*DefaultApi* | [**create_creator**](docs/DefaultApi.md#create_creator) | **POST** /editgroup/{editgroup_id}/creator |
@@ -174,6 +175,7 @@ Class | Method | HTTP request | Description
- [AuthOidc](docs/AuthOidc.md)
- [AuthOidcResult](docs/AuthOidcResult.md)
+ - [AuthTokenResult](docs/AuthTokenResult.md)
- [ChangelogEntry](docs/ChangelogEntry.md)
- [ContainerAutoBatch](docs/ContainerAutoBatch.md)
- [ContainerEntity](docs/ContainerEntity.md)
diff --git a/python_openapi_client/fatcat_openapi_client/__init__.py b/python_openapi_client/fatcat_openapi_client/__init__.py
index c679ffb6..64cf32a8 100644
--- a/python_openapi_client/fatcat_openapi_client/__init__.py
+++ b/python_openapi_client/fatcat_openapi_client/__init__.py
@@ -7,7 +7,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
@@ -24,6 +24,7 @@ from fatcat_openapi_client.configuration import Configuration
# import models into sdk package
from fatcat_openapi_client.models.auth_oidc import AuthOidc
from fatcat_openapi_client.models.auth_oidc_result import AuthOidcResult
+from fatcat_openapi_client.models.auth_token_result import AuthTokenResult
from fatcat_openapi_client.models.changelog_entry import ChangelogEntry
from fatcat_openapi_client.models.container_auto_batch import ContainerAutoBatch
from fatcat_openapi_client.models.container_entity import ContainerEntity
diff --git a/python_openapi_client/fatcat_openapi_client/api/default_api.py b/python_openapi_client/fatcat_openapi_client/api/default_api.py
index 188c725d..cfa485ec 100644
--- a/python_openapi_client/fatcat_openapi_client/api/default_api.py
+++ b/python_openapi_client/fatcat_openapi_client/api/default_api.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
@@ -334,6 +334,109 @@ class DefaultApi(object):
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)
+ def create_auth_token(self, editor_id, **kwargs): # noqa: E501
+ """create_auth_token # noqa: E501
+
+ Generate a new auth token for a given editor (internal method). This method is used by the web interface to generate API tokens for users. It can not be called by editors (human or bot) to generate new tokens for themselves, at least at this time. # noqa: E501
+ This method makes a synchronous HTTP request by default. To make an
+ asynchronous HTTP request, please pass async=True
+ >>> thread = api.create_auth_token(editor_id, async=True)
+ >>> result = thread.get()
+
+ :param async bool
+ :param str editor_id: (required)
+ :param int duration_seconds: How long API token should be valid for (in seconds)
+ :return: AuthTokenResult
+ If the method is called asynchronously,
+ returns the request thread.
+ """
+ kwargs['_return_http_data_only'] = True
+ if kwargs.get('async'):
+ return self.create_auth_token_with_http_info(editor_id, **kwargs) # noqa: E501
+ else:
+ (data) = self.create_auth_token_with_http_info(editor_id, **kwargs) # noqa: E501
+ return data
+
+ def create_auth_token_with_http_info(self, editor_id, **kwargs): # noqa: E501
+ """create_auth_token # noqa: E501
+
+ Generate a new auth token for a given editor (internal method). This method is used by the web interface to generate API tokens for users. It can not be called by editors (human or bot) to generate new tokens for themselves, at least at this time. # noqa: E501
+ This method makes a synchronous HTTP request by default. To make an
+ asynchronous HTTP request, please pass async=True
+ >>> thread = api.create_auth_token_with_http_info(editor_id, async=True)
+ >>> result = thread.get()
+
+ :param async bool
+ :param str editor_id: (required)
+ :param int duration_seconds: How long API token should be valid for (in seconds)
+ :return: AuthTokenResult
+ If the method is called asynchronously,
+ returns the request thread.
+ """
+
+ all_params = ['editor_id', 'duration_seconds'] # noqa: E501
+ all_params.append('async')
+ all_params.append('_return_http_data_only')
+ all_params.append('_preload_content')
+ all_params.append('_request_timeout')
+
+ params = locals()
+ for key, val in six.iteritems(params['kwargs']):
+ if key not in all_params:
+ raise TypeError(
+ "Got an unexpected keyword argument '%s'"
+ " to method create_auth_token" % key
+ )
+ params[key] = val
+ del params['kwargs']
+ # verify the required parameter 'editor_id' is set
+ if ('editor_id' not in params or
+ params['editor_id'] is None):
+ raise ValueError("Missing the required parameter `editor_id` when calling `create_auth_token`") # noqa: E501
+
+ collection_formats = {}
+
+ path_params = {}
+ if 'editor_id' in params:
+ path_params['editor_id'] = params['editor_id'] # noqa: E501
+
+ query_params = []
+ if 'duration_seconds' in params:
+ query_params.append(('duration_seconds', params['duration_seconds'])) # noqa: E501
+
+ header_params = {}
+
+ form_params = []
+ local_var_files = {}
+
+ body_params = None
+ # HTTP header `Accept`
+ header_params['Accept'] = self.api_client.select_header_accept(
+ ['application/json']) # noqa: E501
+
+ # HTTP header `Content-Type`
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
+ ['application/json']) # noqa: E501
+
+ # Authentication setting
+ auth_settings = ['Bearer'] # noqa: E501
+
+ return self.api_client.call_api(
+ '/auth/token/{editor_id}', 'POST',
+ path_params,
+ query_params,
+ header_params,
+ body=body_params,
+ post_params=form_params,
+ files=local_var_files,
+ response_type='AuthTokenResult', # noqa: E501
+ auth_settings=auth_settings,
+ async=params.get('async'),
+ _return_http_data_only=params.get('_return_http_data_only'),
+ _preload_content=params.get('_preload_content', True),
+ _request_timeout=params.get('_request_timeout'),
+ collection_formats=collection_formats)
+
def create_container(self, editgroup_id, entity, **kwargs): # noqa: E501
"""create_container # noqa: E501
diff --git a/python_openapi_client/fatcat_openapi_client/api_client.py b/python_openapi_client/fatcat_openapi_client/api_client.py
index 155cce0f..6ece8a9a 100644
--- a/python_openapi_client/fatcat_openapi_client/api_client.py
+++ b/python_openapi_client/fatcat_openapi_client/api_client.py
@@ -4,7 +4,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/configuration.py b/python_openapi_client/fatcat_openapi_client/configuration.py
index 76262ca0..a62f555e 100644
--- a/python_openapi_client/fatcat_openapi_client/configuration.py
+++ b/python_openapi_client/fatcat_openapi_client/configuration.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
@@ -242,6 +242,6 @@ class Configuration(object):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
- "Version of the API: 0.3.0\n"\
+ "Version of the API: 0.3.1\n"\
"SDK Package Version: 1.0.0".\
format(env=sys.platform, pyversion=sys.version)
diff --git a/python_openapi_client/fatcat_openapi_client/models/__init__.py b/python_openapi_client/fatcat_openapi_client/models/__init__.py
index 88b5746d..30025a32 100644
--- a/python_openapi_client/fatcat_openapi_client/models/__init__.py
+++ b/python_openapi_client/fatcat_openapi_client/models/__init__.py
@@ -6,7 +6,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
@@ -17,6 +17,7 @@ from __future__ import absolute_import
# import models into model package
from fatcat_openapi_client.models.auth_oidc import AuthOidc
from fatcat_openapi_client.models.auth_oidc_result import AuthOidcResult
+from fatcat_openapi_client.models.auth_token_result import AuthTokenResult
from fatcat_openapi_client.models.changelog_entry import ChangelogEntry
from fatcat_openapi_client.models.container_auto_batch import ContainerAutoBatch
from fatcat_openapi_client.models.container_entity import ContainerEntity
diff --git a/python_openapi_client/fatcat_openapi_client/models/auth_oidc.py b/python_openapi_client/fatcat_openapi_client/models/auth_oidc.py
index 4fd16901..4fbad558 100644
--- a/python_openapi_client/fatcat_openapi_client/models/auth_oidc.py
+++ b/python_openapi_client/fatcat_openapi_client/models/auth_oidc.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/auth_oidc_result.py b/python_openapi_client/fatcat_openapi_client/models/auth_oidc_result.py
index 634770aa..54db8e76 100644
--- a/python_openapi_client/fatcat_openapi_client/models/auth_oidc_result.py
+++ b/python_openapi_client/fatcat_openapi_client/models/auth_oidc_result.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/auth_token_result.py b/python_openapi_client/fatcat_openapi_client/models/auth_token_result.py
new file mode 100644
index 00000000..f1097592
--- /dev/null
+++ b/python_openapi_client/fatcat_openapi_client/models/auth_token_result.py
@@ -0,0 +1,113 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
+
+ OpenAPI spec version: 0.3.1
+ Contact: webservices@archive.org
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+import pprint
+import re # noqa: F401
+
+import six
+
+
+class AuthTokenResult(object):
+ """NOTE: This class is auto generated by the swagger code generator program.
+
+ Do not edit the class manually.
+ """
+
+ """
+ Attributes:
+ swagger_types (dict): The key is attribute name
+ and the value is attribute type.
+ attribute_map (dict): The key is attribute name
+ and the value is json key in definition.
+ """
+ swagger_types = {
+ 'token': 'str'
+ }
+
+ attribute_map = {
+ 'token': 'token'
+ }
+
+ def __init__(self, token=None): # noqa: E501
+ """AuthTokenResult - a model defined in Swagger""" # noqa: E501
+
+ self._token = None
+ self.discriminator = None
+
+ self.token = token
+
+ @property
+ def token(self):
+ """Gets the token of this AuthTokenResult. # noqa: E501
+
+
+ :return: The token of this AuthTokenResult. # noqa: E501
+ :rtype: str
+ """
+ return self._token
+
+ @token.setter
+ def token(self, token):
+ """Sets the token of this AuthTokenResult.
+
+
+ :param token: The token of this AuthTokenResult. # noqa: E501
+ :type: str
+ """
+ if token is None:
+ raise ValueError("Invalid value for `token`, must not be `None`") # noqa: E501
+
+ self._token = token
+
+ def to_dict(self):
+ """Returns the model properties as a dict"""
+ result = {}
+
+ for attr, _ in six.iteritems(self.swagger_types):
+ value = getattr(self, attr)
+ if isinstance(value, list):
+ result[attr] = list(map(
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
+ value
+ ))
+ elif hasattr(value, "to_dict"):
+ result[attr] = value.to_dict()
+ elif isinstance(value, dict):
+ result[attr] = dict(map(
+ lambda item: (item[0], item[1].to_dict())
+ if hasattr(item[1], "to_dict") else item,
+ value.items()
+ ))
+ else:
+ result[attr] = value
+
+ return result
+
+ def to_str(self):
+ """Returns the string representation of the model"""
+ return pprint.pformat(self.to_dict())
+
+ def __repr__(self):
+ """For `print` and `pprint`"""
+ return self.to_str()
+
+ def __eq__(self, other):
+ """Returns true if both objects are equal"""
+ if not isinstance(other, AuthTokenResult):
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ """Returns true if both objects are not equal"""
+ return not self == other
diff --git a/python_openapi_client/fatcat_openapi_client/models/changelog_entry.py b/python_openapi_client/fatcat_openapi_client/models/changelog_entry.py
index dbb1a9ca..79dbb0cf 100644
--- a/python_openapi_client/fatcat_openapi_client/models/changelog_entry.py
+++ b/python_openapi_client/fatcat_openapi_client/models/changelog_entry.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/container_auto_batch.py b/python_openapi_client/fatcat_openapi_client/models/container_auto_batch.py
index 5f35a543..df2e6b20 100644
--- a/python_openapi_client/fatcat_openapi_client/models/container_auto_batch.py
+++ b/python_openapi_client/fatcat_openapi_client/models/container_auto_batch.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/container_entity.py b/python_openapi_client/fatcat_openapi_client/models/container_entity.py
index 199b2df1..d44fd744 100644
--- a/python_openapi_client/fatcat_openapi_client/models/container_entity.py
+++ b/python_openapi_client/fatcat_openapi_client/models/container_entity.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/creator_auto_batch.py b/python_openapi_client/fatcat_openapi_client/models/creator_auto_batch.py
index 31ba126f..50cc00c2 100644
--- a/python_openapi_client/fatcat_openapi_client/models/creator_auto_batch.py
+++ b/python_openapi_client/fatcat_openapi_client/models/creator_auto_batch.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/creator_entity.py b/python_openapi_client/fatcat_openapi_client/models/creator_entity.py
index d3ac8d4b..56c19e99 100644
--- a/python_openapi_client/fatcat_openapi_client/models/creator_entity.py
+++ b/python_openapi_client/fatcat_openapi_client/models/creator_entity.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/editgroup.py b/python_openapi_client/fatcat_openapi_client/models/editgroup.py
index 3c12db6d..37e0628a 100644
--- a/python_openapi_client/fatcat_openapi_client/models/editgroup.py
+++ b/python_openapi_client/fatcat_openapi_client/models/editgroup.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/editgroup_annotation.py b/python_openapi_client/fatcat_openapi_client/models/editgroup_annotation.py
index 4fc80c5d..5f648a92 100644
--- a/python_openapi_client/fatcat_openapi_client/models/editgroup_annotation.py
+++ b/python_openapi_client/fatcat_openapi_client/models/editgroup_annotation.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/editgroup_edits.py b/python_openapi_client/fatcat_openapi_client/models/editgroup_edits.py
index 4842b858..6a8e2a46 100644
--- a/python_openapi_client/fatcat_openapi_client/models/editgroup_edits.py
+++ b/python_openapi_client/fatcat_openapi_client/models/editgroup_edits.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/editor.py b/python_openapi_client/fatcat_openapi_client/models/editor.py
index b06b5126..1d6b6c81 100644
--- a/python_openapi_client/fatcat_openapi_client/models/editor.py
+++ b/python_openapi_client/fatcat_openapi_client/models/editor.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/entity_edit.py b/python_openapi_client/fatcat_openapi_client/models/entity_edit.py
index 2d8da89e..7b28ae70 100644
--- a/python_openapi_client/fatcat_openapi_client/models/entity_edit.py
+++ b/python_openapi_client/fatcat_openapi_client/models/entity_edit.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/entity_history_entry.py b/python_openapi_client/fatcat_openapi_client/models/entity_history_entry.py
index ad0d269c..e3f18836 100644
--- a/python_openapi_client/fatcat_openapi_client/models/entity_history_entry.py
+++ b/python_openapi_client/fatcat_openapi_client/models/entity_history_entry.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/error_response.py b/python_openapi_client/fatcat_openapi_client/models/error_response.py
index a514fc53..7c03b68d 100644
--- a/python_openapi_client/fatcat_openapi_client/models/error_response.py
+++ b/python_openapi_client/fatcat_openapi_client/models/error_response.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/file_auto_batch.py b/python_openapi_client/fatcat_openapi_client/models/file_auto_batch.py
index 5399d394..a9b22f2a 100644
--- a/python_openapi_client/fatcat_openapi_client/models/file_auto_batch.py
+++ b/python_openapi_client/fatcat_openapi_client/models/file_auto_batch.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/file_entity.py b/python_openapi_client/fatcat_openapi_client/models/file_entity.py
index a976a3f6..d5d5cbba 100644
--- a/python_openapi_client/fatcat_openapi_client/models/file_entity.py
+++ b/python_openapi_client/fatcat_openapi_client/models/file_entity.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/file_url.py b/python_openapi_client/fatcat_openapi_client/models/file_url.py
index 2f3e5121..9390e2b8 100644
--- a/python_openapi_client/fatcat_openapi_client/models/file_url.py
+++ b/python_openapi_client/fatcat_openapi_client/models/file_url.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/fileset_auto_batch.py b/python_openapi_client/fatcat_openapi_client/models/fileset_auto_batch.py
index e3f8fb0e..4a2987ea 100644
--- a/python_openapi_client/fatcat_openapi_client/models/fileset_auto_batch.py
+++ b/python_openapi_client/fatcat_openapi_client/models/fileset_auto_batch.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/fileset_entity.py b/python_openapi_client/fatcat_openapi_client/models/fileset_entity.py
index a3ebba42..e35c7a1a 100644
--- a/python_openapi_client/fatcat_openapi_client/models/fileset_entity.py
+++ b/python_openapi_client/fatcat_openapi_client/models/fileset_entity.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/fileset_file.py b/python_openapi_client/fatcat_openapi_client/models/fileset_file.py
index c800b83a..9da23aad 100644
--- a/python_openapi_client/fatcat_openapi_client/models/fileset_file.py
+++ b/python_openapi_client/fatcat_openapi_client/models/fileset_file.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/fileset_url.py b/python_openapi_client/fatcat_openapi_client/models/fileset_url.py
index b5c12bfa..f7efab60 100644
--- a/python_openapi_client/fatcat_openapi_client/models/fileset_url.py
+++ b/python_openapi_client/fatcat_openapi_client/models/fileset_url.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/release_abstract.py b/python_openapi_client/fatcat_openapi_client/models/release_abstract.py
index 8f2f3588..7ba8348e 100644
--- a/python_openapi_client/fatcat_openapi_client/models/release_abstract.py
+++ b/python_openapi_client/fatcat_openapi_client/models/release_abstract.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/release_auto_batch.py b/python_openapi_client/fatcat_openapi_client/models/release_auto_batch.py
index 44aa9a36..6c8df967 100644
--- a/python_openapi_client/fatcat_openapi_client/models/release_auto_batch.py
+++ b/python_openapi_client/fatcat_openapi_client/models/release_auto_batch.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/release_contrib.py b/python_openapi_client/fatcat_openapi_client/models/release_contrib.py
index db87697e..01b464ac 100644
--- a/python_openapi_client/fatcat_openapi_client/models/release_contrib.py
+++ b/python_openapi_client/fatcat_openapi_client/models/release_contrib.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/release_entity.py b/python_openapi_client/fatcat_openapi_client/models/release_entity.py
index 792cc0f2..03a27cae 100644
--- a/python_openapi_client/fatcat_openapi_client/models/release_entity.py
+++ b/python_openapi_client/fatcat_openapi_client/models/release_entity.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py b/python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py
index f4d8bd27..3b0e3e70 100644
--- a/python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py
+++ b/python_openapi_client/fatcat_openapi_client/models/release_ext_ids.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/release_ref.py b/python_openapi_client/fatcat_openapi_client/models/release_ref.py
index 19b55990..42131973 100644
--- a/python_openapi_client/fatcat_openapi_client/models/release_ref.py
+++ b/python_openapi_client/fatcat_openapi_client/models/release_ref.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/success.py b/python_openapi_client/fatcat_openapi_client/models/success.py
index f5893fef..1e7a3f6c 100644
--- a/python_openapi_client/fatcat_openapi_client/models/success.py
+++ b/python_openapi_client/fatcat_openapi_client/models/success.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/webcapture_auto_batch.py b/python_openapi_client/fatcat_openapi_client/models/webcapture_auto_batch.py
index b1d19ac1..8a0957b2 100644
--- a/python_openapi_client/fatcat_openapi_client/models/webcapture_auto_batch.py
+++ b/python_openapi_client/fatcat_openapi_client/models/webcapture_auto_batch.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/webcapture_cdx_line.py b/python_openapi_client/fatcat_openapi_client/models/webcapture_cdx_line.py
index 0b2bb818..85ed0aec 100644
--- a/python_openapi_client/fatcat_openapi_client/models/webcapture_cdx_line.py
+++ b/python_openapi_client/fatcat_openapi_client/models/webcapture_cdx_line.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/webcapture_entity.py b/python_openapi_client/fatcat_openapi_client/models/webcapture_entity.py
index fde2be43..642d156d 100644
--- a/python_openapi_client/fatcat_openapi_client/models/webcapture_entity.py
+++ b/python_openapi_client/fatcat_openapi_client/models/webcapture_entity.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/webcapture_url.py b/python_openapi_client/fatcat_openapi_client/models/webcapture_url.py
index 89a3fbc2..881263bf 100644
--- a/python_openapi_client/fatcat_openapi_client/models/webcapture_url.py
+++ b/python_openapi_client/fatcat_openapi_client/models/webcapture_url.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/work_auto_batch.py b/python_openapi_client/fatcat_openapi_client/models/work_auto_batch.py
index b404e1b9..475cf379 100644
--- a/python_openapi_client/fatcat_openapi_client/models/work_auto_batch.py
+++ b/python_openapi_client/fatcat_openapi_client/models/work_auto_batch.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/models/work_entity.py b/python_openapi_client/fatcat_openapi_client/models/work_entity.py
index cddb19da..4ddcf7a5 100644
--- a/python_openapi_client/fatcat_openapi_client/models/work_entity.py
+++ b/python_openapi_client/fatcat_openapi_client/models/work_entity.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/fatcat_openapi_client/rest.py b/python_openapi_client/fatcat_openapi_client/rest.py
index 46ece75b..a0eb1187 100644
--- a/python_openapi_client/fatcat_openapi_client/rest.py
+++ b/python_openapi_client/fatcat_openapi_client/rest.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_auth_oidc.py b/python_openapi_client/tests/codegen/test_auth_oidc.py
index 9b3fd3b5..2bc760ba 100644
--- a/python_openapi_client/tests/codegen/test_auth_oidc.py
+++ b/python_openapi_client/tests/codegen/test_auth_oidc.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_auth_oidc_result.py b/python_openapi_client/tests/codegen/test_auth_oidc_result.py
index 083afdb2..a03dce2c 100644
--- a/python_openapi_client/tests/codegen/test_auth_oidc_result.py
+++ b/python_openapi_client/tests/codegen/test_auth_oidc_result.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_auth_token_result.py b/python_openapi_client/tests/codegen/test_auth_token_result.py
new file mode 100644
index 00000000..5fe1c843
--- /dev/null
+++ b/python_openapi_client/tests/codegen/test_auth_token_result.py
@@ -0,0 +1,40 @@
+# coding: utf-8
+
+"""
+ fatcat
+
+ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
+
+ OpenAPI spec version: 0.3.1
+ Contact: webservices@archive.org
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
+"""
+
+
+from __future__ import absolute_import
+
+import unittest
+
+import fatcat_openapi_client
+from fatcat_openapi_client.models.auth_token_result import AuthTokenResult # noqa: E501
+from fatcat_openapi_client.rest import ApiException
+
+
+class TestAuthTokenResult(unittest.TestCase):
+ """AuthTokenResult unit test stubs"""
+
+ def setUp(self):
+ pass
+
+ def tearDown(self):
+ pass
+
+ def testAuthTokenResult(self):
+ """Test AuthTokenResult"""
+ # FIXME: construct object with mandatory attributes with example values
+ # model = fatcat_openapi_client.models.auth_token_result.AuthTokenResult() # noqa: E501
+ pass
+
+
+if __name__ == '__main__':
+ unittest.main()
diff --git a/python_openapi_client/tests/codegen/test_changelog_entry.py b/python_openapi_client/tests/codegen/test_changelog_entry.py
index 617cff9f..a177dd86 100644
--- a/python_openapi_client/tests/codegen/test_changelog_entry.py
+++ b/python_openapi_client/tests/codegen/test_changelog_entry.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_container_auto_batch.py b/python_openapi_client/tests/codegen/test_container_auto_batch.py
index 9bda4ba5..91d566e3 100644
--- a/python_openapi_client/tests/codegen/test_container_auto_batch.py
+++ b/python_openapi_client/tests/codegen/test_container_auto_batch.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_container_entity.py b/python_openapi_client/tests/codegen/test_container_entity.py
index fb6be3bc..4076586f 100644
--- a/python_openapi_client/tests/codegen/test_container_entity.py
+++ b/python_openapi_client/tests/codegen/test_container_entity.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_creator_auto_batch.py b/python_openapi_client/tests/codegen/test_creator_auto_batch.py
index d5f53316..3ed37715 100644
--- a/python_openapi_client/tests/codegen/test_creator_auto_batch.py
+++ b/python_openapi_client/tests/codegen/test_creator_auto_batch.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_creator_entity.py b/python_openapi_client/tests/codegen/test_creator_entity.py
index daf1c522..95041331 100644
--- a/python_openapi_client/tests/codegen/test_creator_entity.py
+++ b/python_openapi_client/tests/codegen/test_creator_entity.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_default_api.py b/python_openapi_client/tests/codegen/test_default_api.py
index ea80758a..23e68f80 100644
--- a/python_openapi_client/tests/codegen/test_default_api.py
+++ b/python_openapi_client/tests/codegen/test_default_api.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
@@ -47,6 +47,12 @@ class TestDefaultApi(unittest.TestCase):
"""
pass
+ def test_create_auth_token(self):
+ """Test case for create_auth_token
+
+ """
+ pass
+
def test_create_container(self):
"""Test case for create_container
diff --git a/python_openapi_client/tests/codegen/test_editgroup.py b/python_openapi_client/tests/codegen/test_editgroup.py
index 777510ea..d72210be 100644
--- a/python_openapi_client/tests/codegen/test_editgroup.py
+++ b/python_openapi_client/tests/codegen/test_editgroup.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_editgroup_annotation.py b/python_openapi_client/tests/codegen/test_editgroup_annotation.py
index 5b53ef70..3898c6ff 100644
--- a/python_openapi_client/tests/codegen/test_editgroup_annotation.py
+++ b/python_openapi_client/tests/codegen/test_editgroup_annotation.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_editgroup_edits.py b/python_openapi_client/tests/codegen/test_editgroup_edits.py
index d654c49f..2212e1db 100644
--- a/python_openapi_client/tests/codegen/test_editgroup_edits.py
+++ b/python_openapi_client/tests/codegen/test_editgroup_edits.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_editor.py b/python_openapi_client/tests/codegen/test_editor.py
index ca11d9d1..c2b9b878 100644
--- a/python_openapi_client/tests/codegen/test_editor.py
+++ b/python_openapi_client/tests/codegen/test_editor.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_entity_edit.py b/python_openapi_client/tests/codegen/test_entity_edit.py
index e78c4d38..6bec1b9c 100644
--- a/python_openapi_client/tests/codegen/test_entity_edit.py
+++ b/python_openapi_client/tests/codegen/test_entity_edit.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_entity_history_entry.py b/python_openapi_client/tests/codegen/test_entity_history_entry.py
index 825c5bcc..b1dbe0a5 100644
--- a/python_openapi_client/tests/codegen/test_entity_history_entry.py
+++ b/python_openapi_client/tests/codegen/test_entity_history_entry.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_error_response.py b/python_openapi_client/tests/codegen/test_error_response.py
index c73700ec..ac6597a1 100644
--- a/python_openapi_client/tests/codegen/test_error_response.py
+++ b/python_openapi_client/tests/codegen/test_error_response.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_file_auto_batch.py b/python_openapi_client/tests/codegen/test_file_auto_batch.py
index 1219bbd9..46ad25a0 100644
--- a/python_openapi_client/tests/codegen/test_file_auto_batch.py
+++ b/python_openapi_client/tests/codegen/test_file_auto_batch.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_file_entity.py b/python_openapi_client/tests/codegen/test_file_entity.py
index 6a50009a..67ed7f62 100644
--- a/python_openapi_client/tests/codegen/test_file_entity.py
+++ b/python_openapi_client/tests/codegen/test_file_entity.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_file_url.py b/python_openapi_client/tests/codegen/test_file_url.py
index 1abb7ad5..1e373b19 100644
--- a/python_openapi_client/tests/codegen/test_file_url.py
+++ b/python_openapi_client/tests/codegen/test_file_url.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_fileset_auto_batch.py b/python_openapi_client/tests/codegen/test_fileset_auto_batch.py
index 0ea5875d..c2bbd544 100644
--- a/python_openapi_client/tests/codegen/test_fileset_auto_batch.py
+++ b/python_openapi_client/tests/codegen/test_fileset_auto_batch.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_fileset_entity.py b/python_openapi_client/tests/codegen/test_fileset_entity.py
index 8226e4ec..691518fa 100644
--- a/python_openapi_client/tests/codegen/test_fileset_entity.py
+++ b/python_openapi_client/tests/codegen/test_fileset_entity.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_fileset_file.py b/python_openapi_client/tests/codegen/test_fileset_file.py
index a15daed8..7bd9dc63 100644
--- a/python_openapi_client/tests/codegen/test_fileset_file.py
+++ b/python_openapi_client/tests/codegen/test_fileset_file.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_fileset_url.py b/python_openapi_client/tests/codegen/test_fileset_url.py
index b78bdec0..d13bab2c 100644
--- a/python_openapi_client/tests/codegen/test_fileset_url.py
+++ b/python_openapi_client/tests/codegen/test_fileset_url.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_release_abstract.py b/python_openapi_client/tests/codegen/test_release_abstract.py
index fac7dbce..6bdd3a09 100644
--- a/python_openapi_client/tests/codegen/test_release_abstract.py
+++ b/python_openapi_client/tests/codegen/test_release_abstract.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_release_auto_batch.py b/python_openapi_client/tests/codegen/test_release_auto_batch.py
index 65495f9c..53303542 100644
--- a/python_openapi_client/tests/codegen/test_release_auto_batch.py
+++ b/python_openapi_client/tests/codegen/test_release_auto_batch.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_release_contrib.py b/python_openapi_client/tests/codegen/test_release_contrib.py
index f6e958d5..ec68d950 100644
--- a/python_openapi_client/tests/codegen/test_release_contrib.py
+++ b/python_openapi_client/tests/codegen/test_release_contrib.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_release_entity.py b/python_openapi_client/tests/codegen/test_release_entity.py
index 958b24eb..ba5455cc 100644
--- a/python_openapi_client/tests/codegen/test_release_entity.py
+++ b/python_openapi_client/tests/codegen/test_release_entity.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_release_ext_ids.py b/python_openapi_client/tests/codegen/test_release_ext_ids.py
index 162f4755..14b47866 100644
--- a/python_openapi_client/tests/codegen/test_release_ext_ids.py
+++ b/python_openapi_client/tests/codegen/test_release_ext_ids.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_release_ref.py b/python_openapi_client/tests/codegen/test_release_ref.py
index f146ac1b..9bf4c72f 100644
--- a/python_openapi_client/tests/codegen/test_release_ref.py
+++ b/python_openapi_client/tests/codegen/test_release_ref.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_success.py b/python_openapi_client/tests/codegen/test_success.py
index 6a318eca..6eee5377 100644
--- a/python_openapi_client/tests/codegen/test_success.py
+++ b/python_openapi_client/tests/codegen/test_success.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_webcapture_auto_batch.py b/python_openapi_client/tests/codegen/test_webcapture_auto_batch.py
index be0a3481..f0fa5fa1 100644
--- a/python_openapi_client/tests/codegen/test_webcapture_auto_batch.py
+++ b/python_openapi_client/tests/codegen/test_webcapture_auto_batch.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_webcapture_cdx_line.py b/python_openapi_client/tests/codegen/test_webcapture_cdx_line.py
index 49d885ef..5ee70339 100644
--- a/python_openapi_client/tests/codegen/test_webcapture_cdx_line.py
+++ b/python_openapi_client/tests/codegen/test_webcapture_cdx_line.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_webcapture_entity.py b/python_openapi_client/tests/codegen/test_webcapture_entity.py
index c208ee50..96473106 100644
--- a/python_openapi_client/tests/codegen/test_webcapture_entity.py
+++ b/python_openapi_client/tests/codegen/test_webcapture_entity.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_webcapture_url.py b/python_openapi_client/tests/codegen/test_webcapture_url.py
index 9e08d291..c16dafdc 100644
--- a/python_openapi_client/tests/codegen/test_webcapture_url.py
+++ b/python_openapi_client/tests/codegen/test_webcapture_url.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_work_auto_batch.py b/python_openapi_client/tests/codegen/test_work_auto_batch.py
index 3afa8b34..3c8f0d87 100644
--- a/python_openapi_client/tests/codegen/test_work_auto_batch.py
+++ b/python_openapi_client/tests/codegen/test_work_auto_batch.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
diff --git a/python_openapi_client/tests/codegen/test_work_entity.py b/python_openapi_client/tests/codegen/test_work_entity.py
index b8986a1f..2413d088 100644
--- a/python_openapi_client/tests/codegen/test_work_entity.py
+++ b/python_openapi_client/tests/codegen/test_work_entity.py
@@ -5,7 +5,7 @@
Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501
- OpenAPI spec version: 0.3.0
+ OpenAPI spec version: 0.3.1
Contact: webservices@archive.org
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""