Sebastien Rosset 63859d6d51 Add python-experimental-openapiv3-sample (#4992)
Add python-experimental-openapiv3-sample

Add missing files for the Python samples

Add python-experimental-petstore.bat for openapi v3

Add python-experimental samples openapi v3

Add python-experimental samples openapi v3

Add python-experimental samples openapi v3. Address review comments

add missing files for test purpose

fix python formatting issues

fix python formatting issues

fix python formatting issues

Fix unit tests

fix python formatting issues

fix python formatting issues

fix python formatting issues

fix 'line too long' pep8 error

address PR comments for pep8 'line too long' problem

regenerate samples

execute samples scripts

dummy commit to retrigger circleci

Revert dummy commit, it didn't help.
2020-01-21 23:19:07 +08:00

1.8 KiB

petstore_api.AnotherFakeApi

All URIs are relative to http://petstore.swagger.io:80/v2

Method HTTP request Description
call_123_test_special_tags PATCH /another-fake/dummy To test special tags

call_123_test_special_tags

client.Client call_123_test_special_tags(client_client)

To test special tags

To test special tags and operation ID starting with number

Example

from __future__ import print_function
import time
import petstore_api
from pprint import pprint

# Create an instance of the API class
api_instance = petstore_api.AnotherFakeApi()
client_client = petstore_api.Client() # client.Client | client model

# example passing only required values which don't have defaults set
try:
    # To test special tags
    api_response = api_instance.call_123_test_special_tags(client_client)
    pprint(api_response)
except petstore_api.ApiException as e:
    print("Exception when calling AnotherFakeApi->call_123_test_special_tags: %s\n" % e)

Parameters

Name Type Description Notes
client_client client.Client client model

Return type

client.Client

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

HTTP response details

Status code Description Response headers
200 successful operation -

[Back to top] [Back to API list] [Back to Model list] [Back to README]