mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-09 21:16:10 +00:00
Merge remote-tracking branch 'origin/master' into 2.3.0
This commit is contained in:
@@ -65,7 +65,7 @@ except ApiException as e:
|
||||
|
||||
## Documentation for API Endpoints
|
||||
|
||||
All URIs are relative to *http://petstore.swagger.io/v2*
|
||||
All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
Class | Method | HTTP request | Description
|
||||
------------ | ------------- | ------------- | -------------
|
||||
@@ -104,6 +104,7 @@ Class | Method | HTTP request | Description
|
||||
- [ArrayOfArrayOfNumberOnly](docs/ArrayOfArrayOfNumberOnly.md)
|
||||
- [ArrayOfNumberOnly](docs/ArrayOfNumberOnly.md)
|
||||
- [ArrayTest](docs/ArrayTest.md)
|
||||
- [Capitalization](docs/Capitalization.md)
|
||||
- [Cat](docs/Cat.md)
|
||||
- [Category](docs/Category.md)
|
||||
- [ClassModel](docs/ClassModel.md)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# petstore_api.FakeApi
|
||||
|
||||
All URIs are relative to *http://petstore.swagger.io/v2*
|
||||
All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# petstore_api.FakeClassnameTags123Api
|
||||
|
||||
All URIs are relative to *http://petstore.swagger.io/v2*
|
||||
All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# petstore_api.PetApi
|
||||
|
||||
All URIs are relative to *http://petstore.swagger.io/v2*
|
||||
All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# petstore_api.StoreApi
|
||||
|
||||
All URIs are relative to *http://petstore.swagger.io/v2*
|
||||
All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# petstore_api.UserApi
|
||||
|
||||
All URIs are relative to *http://petstore.swagger.io/v2*
|
||||
All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
|
||||
@@ -21,6 +21,7 @@ from .models.api_response import ApiResponse
|
||||
from .models.array_of_array_of_number_only import ArrayOfArrayOfNumberOnly
|
||||
from .models.array_of_number_only import ArrayOfNumberOnly
|
||||
from .models.array_test import ArrayTest
|
||||
from .models.capitalization import Capitalization
|
||||
from .models.cat import Cat
|
||||
from .models.category import Category
|
||||
from .models.class_model import ClassModel
|
||||
@@ -48,7 +49,7 @@ from .models.user import User
|
||||
|
||||
# import apis into sdk package
|
||||
from .apis.fake_api import FakeApi
|
||||
from .apis.fake_classname_tags123_api import FakeClassnameTags123Api
|
||||
from .apis.fake_classname_tags_123_api import FakeClassnameTags123Api
|
||||
from .apis.pet_api import PetApi
|
||||
from .apis.store_api import StoreApi
|
||||
from .apis.user_api import UserApi
|
||||
|
||||
@@ -2,7 +2,7 @@ from __future__ import absolute_import
|
||||
|
||||
# import apis into api package
|
||||
from .fake_api import FakeApi
|
||||
from .fake_classname_tags123_api import FakeClassnameTags123Api
|
||||
from .fake_classname_tags_123_api import FakeClassnameTags123Api
|
||||
from .pet_api import PetApi
|
||||
from .store_api import StoreApi
|
||||
from .user_api import UserApi
|
||||
|
||||
@@ -100,8 +100,6 @@ class StoreApi(object):
|
||||
if ('order_id' not in params) or (params['order_id'] is None):
|
||||
raise ValueError("Missing the required parameter `order_id` when calling `delete_order`")
|
||||
|
||||
if 'order_id' in params and params['order_id'] < 1.0:
|
||||
raise ValueError("Invalid value for parameter `order_id` when calling `delete_order`, must be a value greater than or equal to `1.0`")
|
||||
|
||||
collection_formats = {}
|
||||
|
||||
|
||||
@@ -34,8 +34,7 @@ class Configuration(object):
|
||||
Constructor
|
||||
"""
|
||||
# Default Base url
|
||||
self.host = "http://petstore.swagger.io/v2"
|
||||
|
||||
self.host = "http://petstore.swagger.io:80/v2"
|
||||
# Temp file folder for downloading files
|
||||
self.temp_folder_path = None
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ from .api_response import ApiResponse
|
||||
from .array_of_array_of_number_only import ArrayOfArrayOfNumberOnly
|
||||
from .array_of_number_only import ArrayOfNumberOnly
|
||||
from .array_test import ArrayTest
|
||||
from .capitalization import Capitalization
|
||||
from .cat import Cat
|
||||
from .category import Category
|
||||
from .class_model import ClassModel
|
||||
|
||||
Reference in New Issue
Block a user