From 02daeaf2652383985bc4d31170d8180f58ce1b18 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 18 Sep 2019 23:37:17 -0700 Subject: python codegen with new openapi-generator tool --- .../fatcat_openapi_client/models/success.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'python_openapi_client/fatcat_openapi_client/models/success.py') diff --git a/python_openapi_client/fatcat_openapi_client/models/success.py b/python_openapi_client/fatcat_openapi_client/models/success.py index 1e7a3f6c..7313d652 100644 --- a/python_openapi_client/fatcat_openapi_client/models/success.py +++ b/python_openapi_client/fatcat_openapi_client/models/success.py @@ -5,9 +5,9 @@ Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501 - OpenAPI spec version: 0.3.1 + The version of the OpenAPI document: 0.3.1 Contact: webservices@archive.org - Generated by: https://github.com/swagger-api/swagger-codegen.git + Generated by: https://openapi-generator.tech """ @@ -18,19 +18,20 @@ import six class Success(object): - """NOTE: This class is auto generated by the swagger code generator program. + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech Do not edit the class manually. """ """ Attributes: - swagger_types (dict): The key is attribute name + openapi_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 = { + openapi_types = { 'success': 'bool', 'message': 'str' } @@ -41,7 +42,7 @@ class Success(object): } def __init__(self, success=None, message=None): # noqa: E501 - """Success - a model defined in Swagger""" # noqa: E501 + """Success - a model defined in OpenAPI""" # noqa: E501 self._success = None self._message = None @@ -100,7 +101,7 @@ class Success(object): """Returns the model properties as a dict""" result = {} - for attr, _ in six.iteritems(self.swagger_types): + for attr, _ in six.iteritems(self.openapi_types): value = getattr(self, attr) if isinstance(value, list): result[attr] = list(map( -- cgit v1.2.3