I just started with swagger code gen
Generated client code in python ...
in generated sample i have following .......
Request user authorised: userName and cmkey will transfered
via header
### Example
```python
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.SecurityApi()
cmkey = 'cmkey_example' # str | Session Token
try:
# Request user authorised: userName and cmkey will
transfered via header
api_response = api_instance.security_request_user_authorised(cmkey)
pprint(api_response)
except ApiException as e:
print("Exception when calling
SecurityApi->security_request_user_authorised: %s\n" % e)
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**cmkey** | **str**| Session Token |
it accept only one param = cmkey. still says ' userName and cmkey will
transfered via header' in actual api need 2 parameters.
How do I send both params as one?
tried creating python dictionary but only accepts string....
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.