forked from loafle/openapi-generator-original
Merge pull request #2402 from wing328/docstring_default_value
Update docstring to include default value, if defined
This commit is contained in:
commit
431593f3cf
@ -25,7 +25,7 @@ namespace {{packageName}}.Api
|
|||||||
/// {{notes}}
|
/// {{notes}}
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param>
|
||||||
{{/allParams}}/// <returns>{{#returnType}}{{returnType}}{{/returnType}}</returns>
|
{{/allParams}}/// <returns>{{#returnType}}{{returnType}}{{/returnType}}</returns>
|
||||||
{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}} ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
|
{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}} ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ namespace {{packageName}}.Api
|
|||||||
/// {{notes}}
|
/// {{notes}}
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param>
|
||||||
{{/allParams}}/// <returns>ApiResponse of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Object(void){{/returnType}}</returns>
|
{{/allParams}}/// <returns>ApiResponse of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Object(void){{/returnType}}</returns>
|
||||||
ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}> {{operationId}}WithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
|
ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}> {{operationId}}WithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
|
||||||
{{/operation}}
|
{{/operation}}
|
||||||
@ -51,7 +51,7 @@ namespace {{packageName}}.Api
|
|||||||
/// {{notes}}
|
/// {{notes}}
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param>
|
||||||
{{/allParams}}/// <returns>Task of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}}</returns>
|
{{/allParams}}/// <returns>Task of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}}</returns>
|
||||||
{{#returnType}}System.Threading.Tasks.Task<{{{returnType}}}>{{/returnType}}{{^returnType}}System.Threading.Tasks.Task{{/returnType}} {{operationId}}Async ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
|
{{#returnType}}System.Threading.Tasks.Task<{{{returnType}}}>{{/returnType}}{{^returnType}}System.Threading.Tasks.Task{{/returnType}} {{operationId}}Async ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ namespace {{packageName}}.Api
|
|||||||
/// {{notes}}
|
/// {{notes}}
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param>
|
||||||
{{/allParams}}/// <returns>Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}</returns>
|
{{/allParams}}/// <returns>Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}AsyncWithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
|
System.Threading.Tasks.Task<ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}AsyncWithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
|
||||||
{{/operation}}
|
{{/operation}}
|
||||||
@ -162,7 +162,7 @@ namespace {{packageName}}.Api
|
|||||||
/// {{summary}} {{notes}}
|
/// {{summary}} {{notes}}
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param>
|
||||||
{{/allParams}}/// <returns>{{#returnType}}{{returnType}}{{/returnType}}</returns>
|
{{/allParams}}/// <returns>{{#returnType}}{{returnType}}{{/returnType}}</returns>
|
||||||
public {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}} ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
|
public {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{operationId}} ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
|
||||||
{
|
{
|
||||||
@ -174,7 +174,7 @@ namespace {{packageName}}.Api
|
|||||||
/// {{summary}} {{notes}}
|
/// {{summary}} {{notes}}
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param>
|
||||||
{{/allParams}}/// <returns>ApiResponse of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Object(void){{/returnType}}</returns>
|
{{/allParams}}/// <returns>ApiResponse of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}Object(void){{/returnType}}</returns>
|
||||||
public ApiResponse<{{#returnType}} {{{returnType}}} {{/returnType}}{{^returnType}}Object{{/returnType}}> {{operationId}}WithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
|
public ApiResponse<{{#returnType}} {{{returnType}}} {{/returnType}}{{^returnType}}Object{{/returnType}}> {{operationId}}WithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
|
||||||
{
|
{
|
||||||
@ -274,7 +274,7 @@ namespace {{packageName}}.Api
|
|||||||
/// {{summary}} {{notes}}
|
/// {{summary}} {{notes}}
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param>
|
||||||
{{/allParams}}/// <returns>Task of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}}</returns>
|
{{/allParams}}/// <returns>Task of {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}void{{/returnType}}</returns>
|
||||||
{{#returnType}}public async System.Threading.Tasks.Task<{{{returnType}}}>{{/returnType}}{{^returnType}}public async System.Threading.Tasks.Task{{/returnType}} {{operationId}}Async ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
|
{{#returnType}}public async System.Threading.Tasks.Task<{{{returnType}}}>{{/returnType}}{{^returnType}}public async System.Threading.Tasks.Task{{/returnType}} {{operationId}}Async ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
|
||||||
{
|
{
|
||||||
@ -287,7 +287,7 @@ namespace {{packageName}}.Api
|
|||||||
/// {{summary}} {{notes}}
|
/// {{summary}} {{notes}}
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="{{packageName}}.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}{{^required}} (optional{{#defaultValue}}, default to {{.}}{{/defaultValue}}){{/required}}</param>
|
||||||
{{/allParams}}/// <returns>Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}</returns>
|
{{/allParams}}/// <returns>Task of ApiResponse{{#returnType}} ({{returnType}}){{/returnType}}</returns>
|
||||||
public async System.Threading.Tasks.Task<ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}AsyncWithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
|
public async System.Threading.Tasks.Task<ApiResponse<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Object{{/returnType}}>> {{operationId}}AsyncWithHttpInfo ({{#allParams}}{{{dataType}}} {{paramName}}{{^required}}{{#optionalMethodArgument}} = null{{/optionalMethodArgument}}{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}})
|
||||||
{
|
{
|
||||||
|
@ -75,7 +75,7 @@ static {{classname}}* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// {{{summary}}}
|
/// {{{summary}}}
|
||||||
/// {{{notes}}}
|
/// {{{notes}}}
|
||||||
/// {{#allParams}} @param {{paramName}} {{{description}}}
|
/// {{#allParams}} @param {{paramName}} {{{description}}} {{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}
|
||||||
///
|
///
|
||||||
/// {{/allParams}} @returns {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}}
|
/// {{/allParams}} @returns {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}}
|
||||||
///
|
///
|
||||||
|
@ -96,7 +96,7 @@ use \{{invokerPackage}}\ObjectSerializer;
|
|||||||
*
|
*
|
||||||
* {{{summary}}}
|
* {{{summary}}}
|
||||||
*
|
*
|
||||||
{{#allParams}} * @param {{dataType}} ${{paramName}} {{description}} {{#required}}(required){{/required}}{{^required}}(optional){{/required}}
|
{{#allParams}} * @param {{dataType}} ${{paramName}} {{description}} {{#required}}(required){{/required}}{{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}
|
||||||
{{/allParams}} * @return {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}}
|
{{/allParams}} * @return {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}}
|
||||||
* @throws \{{invokerPackage}}\ApiException on non-2xx response
|
* @throws \{{invokerPackage}}\ApiException on non-2xx response
|
||||||
*/
|
*/
|
||||||
@ -112,7 +112,7 @@ use \{{invokerPackage}}\ObjectSerializer;
|
|||||||
*
|
*
|
||||||
* {{{summary}}}
|
* {{{summary}}}
|
||||||
*
|
*
|
||||||
{{#allParams}} * @param {{dataType}} ${{paramName}} {{description}} {{#required}}(required){{/required}}{{^required}}(optional){{/required}}
|
{{#allParams}} * @param {{dataType}} ${{paramName}} {{description}} {{#required}}(required){{/required}}{{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}
|
||||||
{{/allParams}} * @return Array of {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}null{{/returnType}}, HTTP status code, HTTP response headers (array of strings)
|
{{/allParams}} * @return Array of {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}null{{/returnType}}, HTTP status code, HTTP response headers (array of strings)
|
||||||
* @throws \{{invokerPackage}}\ApiException on non-2xx response
|
* @throws \{{invokerPackage}}\ApiException on non-2xx response
|
||||||
*/
|
*/
|
||||||
|
@ -68,7 +68,7 @@ class {{classname}}(object):
|
|||||||
:param callback function: The callback function
|
:param callback function: The callback function
|
||||||
for asynchronous request. (optional)
|
for asynchronous request. (optional)
|
||||||
{{#allParams}}
|
{{#allParams}}
|
||||||
:param {{dataType}} {{paramName}}: {{{description}}}{{#required}} (required){{/required}}{{#optional}}(optional){{/optional}}
|
:param {{dataType}} {{paramName}}: {{{description}}}{{#required}} (required){{/required}}{{#optional}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/optional}}
|
||||||
{{/allParams}}
|
{{/allParams}}
|
||||||
:return: {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}None{{/returnType}}
|
:return: {{#returnType}}{{returnType}}{{/returnType}}{{^returnType}}None{{/returnType}}
|
||||||
If the method is called asynchronously,
|
If the method is called asynchronously,
|
||||||
|
@ -27,7 +27,7 @@ class {{classname}}(val defBasePath: String = "{{basePath}}",
|
|||||||
/**
|
/**
|
||||||
* {{summary}}
|
* {{summary}}
|
||||||
* {{notes}}
|
* {{notes}}
|
||||||
{{#allParams}} * @param {{paramName}} {{description}}
|
{{#allParams}} * @param {{paramName}} {{description}} {{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}
|
||||||
{{/allParams}} * @return {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}}
|
{{/allParams}} * @return {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}}
|
||||||
*/
|
*/
|
||||||
def {{operationId}} ({{#allParams}}{{paramName}}: {{dataType}}{{#defaultValue}} /* = {{{defaultValue}}} */{{/defaultValue}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) {{#returnType}}: Option[{{returnType}}]{{/returnType}} = {
|
def {{operationId}} ({{#allParams}}{{paramName}}: {{dataType}}{{#defaultValue}} /* = {{{defaultValue}}} */{{/defaultValue}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) {{#returnType}}: Option[{{returnType}}]{{/returnType}} = {
|
||||||
|
@ -20,7 +20,7 @@ public class {{classname}}: APIBase {
|
|||||||
{{#summary}}
|
{{#summary}}
|
||||||
{{{summary}}}
|
{{{summary}}}
|
||||||
{{/summary}}{{#allParams}}
|
{{/summary}}{{#allParams}}
|
||||||
- parameter {{paramName}}: ({{#isFormParam}}form{{/isFormParam}}{{#isQueryParam}}query{{/isQueryParam}}{{#isPathParam}}path{{/isPathParam}}{{#isHeaderParam}}header{{/isHeaderParam}}{{#isBodyParam}}body{{/isBodyParam}}) {{description}}{{/allParams}}
|
- parameter {{paramName}}: ({{#isFormParam}}form{{/isFormParam}}{{#isQueryParam}}query{{/isQueryParam}}{{#isPathParam}}path{{/isPathParam}}{{#isHeaderParam}}header{{/isHeaderParam}}{{#isBodyParam}}body{{/isBodyParam}}) {{description}} {{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}{{/allParams}}
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func {{operationId}}({{#allParams}}{{^secondaryParam}}{{paramName}} {{/secondaryParam}}{{paramName}}: {{{dataType}}}{{^required}}?{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#hasParams}}, {{/hasParams}}completion: (({{#returnType}}data: {{{returnType}}}?, {{/returnType}}error: ErrorType?) -> Void)) {
|
public class func {{operationId}}({{#allParams}}{{^secondaryParam}}{{paramName}} {{/secondaryParam}}{{paramName}}: {{{dataType}}}{{^required}}?{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#hasParams}}, {{/hasParams}}completion: (({{#returnType}}data: {{{returnType}}}?, {{/returnType}}error: ErrorType?) -> Void)) {
|
||||||
@ -34,7 +34,7 @@ public class {{classname}}: APIBase {
|
|||||||
{{#summary}}
|
{{#summary}}
|
||||||
{{{summary}}}
|
{{{summary}}}
|
||||||
{{/summary}}{{#allParams}}
|
{{/summary}}{{#allParams}}
|
||||||
- parameter {{paramName}}: ({{#isFormParam}}form{{/isFormParam}}{{#isQueryParam}}query{{/isQueryParam}}{{#isPathParam}}path{{/isPathParam}}{{#isHeaderParam}}header{{/isHeaderParam}}{{#isBodyParam}}body{{/isBodyParam}}) {{description}}{{/allParams}}
|
- parameter {{paramName}}: ({{#isFormParam}}form{{/isFormParam}}{{#isQueryParam}}query{{/isQueryParam}}{{#isPathParam}}path{{/isPathParam}}{{#isHeaderParam}}header{{/isHeaderParam}}{{#isBodyParam}}body{{/isBodyParam}}) {{description}} {{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}{{/allParams}}
|
||||||
- returns: Promise<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>
|
- returns: Promise<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>
|
||||||
*/
|
*/
|
||||||
public class func {{operationId}}({{#allParams}}{{^secondaryParam}}{{paramName}} {{/secondaryParam}}{{paramName}}: {{{dataType}}}{{^required}}?{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) -> Promise<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {
|
public class func {{operationId}}({{#allParams}}{{^secondaryParam}}{{paramName}} {{/secondaryParam}}{{paramName}}: {{{dataType}}}{{^required}}?{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) -> Promise<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {
|
||||||
@ -65,7 +65,7 @@ public class {{classname}}: APIBase {
|
|||||||
- examples: {{{examples}}}{{/examples}}{{#externalDocs}}
|
- examples: {{{examples}}}{{/examples}}{{#externalDocs}}
|
||||||
- externalDocs: {{externalDocs}}{{/externalDocs}}{{#hasParams}}
|
- externalDocs: {{externalDocs}}{{/externalDocs}}{{#hasParams}}
|
||||||
{{/hasParams}}{{#allParams}}
|
{{/hasParams}}{{#allParams}}
|
||||||
- parameter {{paramName}}: ({{#isFormParam}}form{{/isFormParam}}{{#isQueryParam}}query{{/isQueryParam}}{{#isPathParam}}path{{/isPathParam}}{{#isHeaderParam}}header{{/isHeaderParam}}{{#isBodyParam}}body{{/isBodyParam}}) {{description}}{{/allParams}}
|
- parameter {{paramName}}: ({{#isFormParam}}form{{/isFormParam}}{{#isQueryParam}}query{{/isQueryParam}}{{#isPathParam}}path{{/isPathParam}}{{#isHeaderParam}}header{{/isHeaderParam}}{{#isBodyParam}}body{{/isBodyParam}}) {{description}} {{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}{{/allParams}}
|
||||||
|
|
||||||
- returns: RequestBuilder<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{description}}
|
- returns: RequestBuilder<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{description}}
|
||||||
*/
|
*/
|
||||||
|
@ -24,7 +24,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
void AddPet (Pet body = null);
|
void AddPet (Pet body = null);
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
ApiResponse<Object> AddPetWithHttpInfo (Pet body = null);
|
ApiResponse<Object> AddPetWithHttpInfo (Pet body = null);
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object in the form of byte array</param>
|
/// <param name="body">Pet object in the form of byte array (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
void AddPetUsingByteArray (byte[] body = null);
|
void AddPetUsingByteArray (byte[] body = null);
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object in the form of byte array</param>
|
/// <param name="body">Pet object in the form of byte array (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
ApiResponse<Object> AddPetUsingByteArrayWithHttpInfo (byte[] body = null);
|
ApiResponse<Object> AddPetUsingByteArrayWithHttpInfo (byte[] body = null);
|
||||||
|
|
||||||
@ -69,7 +69,7 @@ namespace IO.Swagger.Api
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">Pet id to delete</param>
|
/// <param name="petId">Pet id to delete</param>
|
||||||
/// <param name="apiKey"></param>
|
/// <param name="apiKey"> (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
void DeletePet (long? petId, string apiKey = null);
|
void DeletePet (long? petId, string apiKey = null);
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ namespace IO.Swagger.Api
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">Pet id to delete</param>
|
/// <param name="petId">Pet id to delete</param>
|
||||||
/// <param name="apiKey"></param>
|
/// <param name="apiKey"> (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
ApiResponse<Object> DeletePetWithHttpInfo (long? petId, string apiKey = null);
|
ApiResponse<Object> DeletePetWithHttpInfo (long? petId, string apiKey = null);
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Multiple status values can be provided with comma separated strings
|
/// Multiple status values can be provided with comma separated strings
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="status">Status values that need to be considered for query</param>
|
/// <param name="status">Status values that need to be considered for query (optional, default to available)</param>
|
||||||
/// <returns>List<Pet></returns>
|
/// <returns>List<Pet></returns>
|
||||||
List<Pet> FindPetsByStatus (List<string> status = null);
|
List<Pet> FindPetsByStatus (List<string> status = null);
|
||||||
|
|
||||||
@ -103,7 +103,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Multiple status values can be provided with comma separated strings
|
/// Multiple status values can be provided with comma separated strings
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="status">Status values that need to be considered for query</param>
|
/// <param name="status">Status values that need to be considered for query (optional, default to available)</param>
|
||||||
/// <returns>ApiResponse of List<Pet></returns>
|
/// <returns>ApiResponse of List<Pet></returns>
|
||||||
ApiResponse<List<Pet>> FindPetsByStatusWithHttpInfo (List<string> status = null);
|
ApiResponse<List<Pet>> FindPetsByStatusWithHttpInfo (List<string> status = null);
|
||||||
|
|
||||||
@ -114,7 +114,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="tags">Tags to filter by</param>
|
/// <param name="tags">Tags to filter by (optional)</param>
|
||||||
/// <returns>List<Pet></returns>
|
/// <returns>List<Pet></returns>
|
||||||
List<Pet> FindPetsByTags (List<string> tags = null);
|
List<Pet> FindPetsByTags (List<string> tags = null);
|
||||||
|
|
||||||
@ -125,7 +125,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="tags">Tags to filter by</param>
|
/// <param name="tags">Tags to filter by (optional)</param>
|
||||||
/// <returns>ApiResponse of List<Pet></returns>
|
/// <returns>ApiResponse of List<Pet></returns>
|
||||||
ApiResponse<List<Pet>> FindPetsByTagsWithHttpInfo (List<string> tags = null);
|
ApiResponse<List<Pet>> FindPetsByTagsWithHttpInfo (List<string> tags = null);
|
||||||
|
|
||||||
@ -202,7 +202,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
void UpdatePet (Pet body = null);
|
void UpdatePet (Pet body = null);
|
||||||
|
|
||||||
@ -213,7 +213,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
ApiResponse<Object> UpdatePetWithHttpInfo (Pet body = null);
|
ApiResponse<Object> UpdatePetWithHttpInfo (Pet body = null);
|
||||||
|
|
||||||
@ -225,8 +225,8 @@ namespace IO.Swagger.Api
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">ID of pet that needs to be updated</param>
|
/// <param name="petId">ID of pet that needs to be updated</param>
|
||||||
/// <param name="name">Updated name of the pet</param>
|
/// <param name="name">Updated name of the pet (optional)</param>
|
||||||
/// <param name="status">Updated status of the pet</param>
|
/// <param name="status">Updated status of the pet (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
void UpdatePetWithForm (string petId, string name = null, string status = null);
|
void UpdatePetWithForm (string petId, string name = null, string status = null);
|
||||||
|
|
||||||
@ -238,8 +238,8 @@ namespace IO.Swagger.Api
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">ID of pet that needs to be updated</param>
|
/// <param name="petId">ID of pet that needs to be updated</param>
|
||||||
/// <param name="name">Updated name of the pet</param>
|
/// <param name="name">Updated name of the pet (optional)</param>
|
||||||
/// <param name="status">Updated status of the pet</param>
|
/// <param name="status">Updated status of the pet (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
ApiResponse<Object> UpdatePetWithFormWithHttpInfo (string petId, string name = null, string status = null);
|
ApiResponse<Object> UpdatePetWithFormWithHttpInfo (string petId, string name = null, string status = null);
|
||||||
|
|
||||||
@ -251,8 +251,8 @@ namespace IO.Swagger.Api
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">ID of pet to update</param>
|
/// <param name="petId">ID of pet to update</param>
|
||||||
/// <param name="additionalMetadata">Additional data to pass to server</param>
|
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
|
||||||
/// <param name="file">file to upload</param>
|
/// <param name="file">file to upload (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
void UploadFile (long? petId, string additionalMetadata = null, Stream file = null);
|
void UploadFile (long? petId, string additionalMetadata = null, Stream file = null);
|
||||||
|
|
||||||
@ -264,8 +264,8 @@ namespace IO.Swagger.Api
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">ID of pet to update</param>
|
/// <param name="petId">ID of pet to update</param>
|
||||||
/// <param name="additionalMetadata">Additional data to pass to server</param>
|
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
|
||||||
/// <param name="file">file to upload</param>
|
/// <param name="file">file to upload (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
ApiResponse<Object> UploadFileWithHttpInfo (long? petId, string additionalMetadata = null, Stream file = null);
|
ApiResponse<Object> UploadFileWithHttpInfo (long? petId, string additionalMetadata = null, Stream file = null);
|
||||||
|
|
||||||
@ -280,7 +280,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
System.Threading.Tasks.Task AddPetAsync (Pet body = null);
|
System.Threading.Tasks.Task AddPetAsync (Pet body = null);
|
||||||
|
|
||||||
@ -291,7 +291,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<Object>> AddPetAsyncWithHttpInfo (Pet body = null);
|
System.Threading.Tasks.Task<ApiResponse<Object>> AddPetAsyncWithHttpInfo (Pet body = null);
|
||||||
|
|
||||||
@ -302,7 +302,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object in the form of byte array</param>
|
/// <param name="body">Pet object in the form of byte array (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
System.Threading.Tasks.Task AddPetUsingByteArrayAsync (byte[] body = null);
|
System.Threading.Tasks.Task AddPetUsingByteArrayAsync (byte[] body = null);
|
||||||
|
|
||||||
@ -313,7 +313,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object in the form of byte array</param>
|
/// <param name="body">Pet object in the form of byte array (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<Object>> AddPetUsingByteArrayAsyncWithHttpInfo (byte[] body = null);
|
System.Threading.Tasks.Task<ApiResponse<Object>> AddPetUsingByteArrayAsyncWithHttpInfo (byte[] body = null);
|
||||||
|
|
||||||
@ -325,7 +325,7 @@ namespace IO.Swagger.Api
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">Pet id to delete</param>
|
/// <param name="petId">Pet id to delete</param>
|
||||||
/// <param name="apiKey"></param>
|
/// <param name="apiKey"> (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
System.Threading.Tasks.Task DeletePetAsync (long? petId, string apiKey = null);
|
System.Threading.Tasks.Task DeletePetAsync (long? petId, string apiKey = null);
|
||||||
|
|
||||||
@ -337,7 +337,7 @@ namespace IO.Swagger.Api
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">Pet id to delete</param>
|
/// <param name="petId">Pet id to delete</param>
|
||||||
/// <param name="apiKey"></param>
|
/// <param name="apiKey"> (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long? petId, string apiKey = null);
|
System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long? petId, string apiKey = null);
|
||||||
|
|
||||||
@ -348,7 +348,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Multiple status values can be provided with comma separated strings
|
/// Multiple status values can be provided with comma separated strings
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="status">Status values that need to be considered for query</param>
|
/// <param name="status">Status values that need to be considered for query (optional, default to available)</param>
|
||||||
/// <returns>Task of List<Pet></returns>
|
/// <returns>Task of List<Pet></returns>
|
||||||
System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status = null);
|
System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status = null);
|
||||||
|
|
||||||
@ -359,7 +359,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Multiple status values can be provided with comma separated strings
|
/// Multiple status values can be provided with comma separated strings
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="status">Status values that need to be considered for query</param>
|
/// <param name="status">Status values that need to be considered for query (optional, default to available)</param>
|
||||||
/// <returns>Task of ApiResponse (List<Pet>)</returns>
|
/// <returns>Task of ApiResponse (List<Pet>)</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByStatusAsyncWithHttpInfo (List<string> status = null);
|
System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByStatusAsyncWithHttpInfo (List<string> status = null);
|
||||||
|
|
||||||
@ -370,7 +370,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="tags">Tags to filter by</param>
|
/// <param name="tags">Tags to filter by (optional)</param>
|
||||||
/// <returns>Task of List<Pet></returns>
|
/// <returns>Task of List<Pet></returns>
|
||||||
System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags = null);
|
System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags = null);
|
||||||
|
|
||||||
@ -381,7 +381,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="tags">Tags to filter by</param>
|
/// <param name="tags">Tags to filter by (optional)</param>
|
||||||
/// <returns>Task of ApiResponse (List<Pet>)</returns>
|
/// <returns>Task of ApiResponse (List<Pet>)</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByTagsAsyncWithHttpInfo (List<string> tags = null);
|
System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByTagsAsyncWithHttpInfo (List<string> tags = null);
|
||||||
|
|
||||||
@ -458,7 +458,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
System.Threading.Tasks.Task UpdatePetAsync (Pet body = null);
|
System.Threading.Tasks.Task UpdatePetAsync (Pet body = null);
|
||||||
|
|
||||||
@ -469,7 +469,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetAsyncWithHttpInfo (Pet body = null);
|
System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetAsyncWithHttpInfo (Pet body = null);
|
||||||
|
|
||||||
@ -481,8 +481,8 @@ namespace IO.Swagger.Api
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">ID of pet that needs to be updated</param>
|
/// <param name="petId">ID of pet that needs to be updated</param>
|
||||||
/// <param name="name">Updated name of the pet</param>
|
/// <param name="name">Updated name of the pet (optional)</param>
|
||||||
/// <param name="status">Updated status of the pet</param>
|
/// <param name="status">Updated status of the pet (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
System.Threading.Tasks.Task UpdatePetWithFormAsync (string petId, string name = null, string status = null);
|
System.Threading.Tasks.Task UpdatePetWithFormAsync (string petId, string name = null, string status = null);
|
||||||
|
|
||||||
@ -494,8 +494,8 @@ namespace IO.Swagger.Api
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">ID of pet that needs to be updated</param>
|
/// <param name="petId">ID of pet that needs to be updated</param>
|
||||||
/// <param name="name">Updated name of the pet</param>
|
/// <param name="name">Updated name of the pet (optional)</param>
|
||||||
/// <param name="status">Updated status of the pet</param>
|
/// <param name="status">Updated status of the pet (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (string petId, string name = null, string status = null);
|
System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (string petId, string name = null, string status = null);
|
||||||
|
|
||||||
@ -507,8 +507,8 @@ namespace IO.Swagger.Api
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">ID of pet to update</param>
|
/// <param name="petId">ID of pet to update</param>
|
||||||
/// <param name="additionalMetadata">Additional data to pass to server</param>
|
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
|
||||||
/// <param name="file">file to upload</param>
|
/// <param name="file">file to upload (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
System.Threading.Tasks.Task UploadFileAsync (long? petId, string additionalMetadata = null, Stream file = null);
|
System.Threading.Tasks.Task UploadFileAsync (long? petId, string additionalMetadata = null, Stream file = null);
|
||||||
|
|
||||||
@ -520,8 +520,8 @@ namespace IO.Swagger.Api
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">ID of pet to update</param>
|
/// <param name="petId">ID of pet to update</param>
|
||||||
/// <param name="additionalMetadata">Additional data to pass to server</param>
|
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
|
||||||
/// <param name="file">file to upload</param>
|
/// <param name="file">file to upload (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<Object>> UploadFileAsyncWithHttpInfo (long? petId, string additionalMetadata = null, Stream file = null);
|
System.Threading.Tasks.Task<ApiResponse<Object>> UploadFileAsyncWithHttpInfo (long? petId, string additionalMetadata = null, Stream file = null);
|
||||||
|
|
||||||
@ -621,7 +621,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Add a new pet to the store
|
/// Add a new pet to the store
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public void AddPet (Pet body = null)
|
public void AddPet (Pet body = null)
|
||||||
{
|
{
|
||||||
@ -632,7 +632,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Add a new pet to the store
|
/// Add a new pet to the store
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
public ApiResponse<Object> AddPetWithHttpInfo (Pet body = null)
|
public ApiResponse<Object> AddPetWithHttpInfo (Pet body = null)
|
||||||
{
|
{
|
||||||
@ -709,7 +709,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Add a new pet to the store
|
/// Add a new pet to the store
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
public async System.Threading.Tasks.Task AddPetAsync (Pet body = null)
|
public async System.Threading.Tasks.Task AddPetAsync (Pet body = null)
|
||||||
{
|
{
|
||||||
@ -721,7 +721,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Add a new pet to the store
|
/// Add a new pet to the store
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
public async System.Threading.Tasks.Task<ApiResponse<Object>> AddPetAsyncWithHttpInfo (Pet body = null)
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> AddPetAsyncWithHttpInfo (Pet body = null)
|
||||||
{
|
{
|
||||||
@ -798,7 +798,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
/// Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object in the form of byte array</param>
|
/// <param name="body">Pet object in the form of byte array (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public void AddPetUsingByteArray (byte[] body = null)
|
public void AddPetUsingByteArray (byte[] body = null)
|
||||||
{
|
{
|
||||||
@ -809,7 +809,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
/// Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object in the form of byte array</param>
|
/// <param name="body">Pet object in the form of byte array (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
public ApiResponse<Object> AddPetUsingByteArrayWithHttpInfo (byte[] body = null)
|
public ApiResponse<Object> AddPetUsingByteArrayWithHttpInfo (byte[] body = null)
|
||||||
{
|
{
|
||||||
@ -886,7 +886,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
/// Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object in the form of byte array</param>
|
/// <param name="body">Pet object in the form of byte array (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
public async System.Threading.Tasks.Task AddPetUsingByteArrayAsync (byte[] body = null)
|
public async System.Threading.Tasks.Task AddPetUsingByteArrayAsync (byte[] body = null)
|
||||||
{
|
{
|
||||||
@ -898,7 +898,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
/// Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object in the form of byte array</param>
|
/// <param name="body">Pet object in the form of byte array (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
public async System.Threading.Tasks.Task<ApiResponse<Object>> AddPetUsingByteArrayAsyncWithHttpInfo (byte[] body = null)
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> AddPetUsingByteArrayAsyncWithHttpInfo (byte[] body = null)
|
||||||
{
|
{
|
||||||
@ -976,7 +976,7 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">Pet id to delete</param>
|
/// <param name="petId">Pet id to delete</param>
|
||||||
/// <param name="apiKey"></param>
|
/// <param name="apiKey"> (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public void DeletePet (long? petId, string apiKey = null)
|
public void DeletePet (long? petId, string apiKey = null)
|
||||||
{
|
{
|
||||||
@ -988,7 +988,7 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">Pet id to delete</param>
|
/// <param name="petId">Pet id to delete</param>
|
||||||
/// <param name="apiKey"></param>
|
/// <param name="apiKey"> (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
public ApiResponse<Object> DeletePetWithHttpInfo (long? petId, string apiKey = null)
|
public ApiResponse<Object> DeletePetWithHttpInfo (long? petId, string apiKey = null)
|
||||||
{
|
{
|
||||||
@ -1065,7 +1065,7 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">Pet id to delete</param>
|
/// <param name="petId">Pet id to delete</param>
|
||||||
/// <param name="apiKey"></param>
|
/// <param name="apiKey"> (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
public async System.Threading.Tasks.Task DeletePetAsync (long? petId, string apiKey = null)
|
public async System.Threading.Tasks.Task DeletePetAsync (long? petId, string apiKey = null)
|
||||||
{
|
{
|
||||||
@ -1078,7 +1078,7 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">Pet id to delete</param>
|
/// <param name="petId">Pet id to delete</param>
|
||||||
/// <param name="apiKey"></param>
|
/// <param name="apiKey"> (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
public async System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long? petId, string apiKey = null)
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> DeletePetAsyncWithHttpInfo (long? petId, string apiKey = null)
|
||||||
{
|
{
|
||||||
@ -1152,7 +1152,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Finds Pets by status Multiple status values can be provided with comma separated strings
|
/// Finds Pets by status Multiple status values can be provided with comma separated strings
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="status">Status values that need to be considered for query</param>
|
/// <param name="status">Status values that need to be considered for query (optional, default to available)</param>
|
||||||
/// <returns>List<Pet></returns>
|
/// <returns>List<Pet></returns>
|
||||||
public List<Pet> FindPetsByStatus (List<string> status = null)
|
public List<Pet> FindPetsByStatus (List<string> status = null)
|
||||||
{
|
{
|
||||||
@ -1164,7 +1164,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Finds Pets by status Multiple status values can be provided with comma separated strings
|
/// Finds Pets by status Multiple status values can be provided with comma separated strings
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="status">Status values that need to be considered for query</param>
|
/// <param name="status">Status values that need to be considered for query (optional, default to available)</param>
|
||||||
/// <returns>ApiResponse of List<Pet></returns>
|
/// <returns>ApiResponse of List<Pet></returns>
|
||||||
public ApiResponse< List<Pet> > FindPetsByStatusWithHttpInfo (List<string> status = null)
|
public ApiResponse< List<Pet> > FindPetsByStatusWithHttpInfo (List<string> status = null)
|
||||||
{
|
{
|
||||||
@ -1235,7 +1235,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Finds Pets by status Multiple status values can be provided with comma separated strings
|
/// Finds Pets by status Multiple status values can be provided with comma separated strings
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="status">Status values that need to be considered for query</param>
|
/// <param name="status">Status values that need to be considered for query (optional, default to available)</param>
|
||||||
/// <returns>Task of List<Pet></returns>
|
/// <returns>Task of List<Pet></returns>
|
||||||
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status = null)
|
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByStatusAsync (List<string> status = null)
|
||||||
{
|
{
|
||||||
@ -1248,7 +1248,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Finds Pets by status Multiple status values can be provided with comma separated strings
|
/// Finds Pets by status Multiple status values can be provided with comma separated strings
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="status">Status values that need to be considered for query</param>
|
/// <param name="status">Status values that need to be considered for query (optional, default to available)</param>
|
||||||
/// <returns>Task of ApiResponse (List<Pet>)</returns>
|
/// <returns>Task of ApiResponse (List<Pet>)</returns>
|
||||||
public async System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByStatusAsyncWithHttpInfo (List<string> status = null)
|
public async System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByStatusAsyncWithHttpInfo (List<string> status = null)
|
||||||
{
|
{
|
||||||
@ -1319,7 +1319,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="tags">Tags to filter by</param>
|
/// <param name="tags">Tags to filter by (optional)</param>
|
||||||
/// <returns>List<Pet></returns>
|
/// <returns>List<Pet></returns>
|
||||||
public List<Pet> FindPetsByTags (List<string> tags = null)
|
public List<Pet> FindPetsByTags (List<string> tags = null)
|
||||||
{
|
{
|
||||||
@ -1331,7 +1331,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="tags">Tags to filter by</param>
|
/// <param name="tags">Tags to filter by (optional)</param>
|
||||||
/// <returns>ApiResponse of List<Pet></returns>
|
/// <returns>ApiResponse of List<Pet></returns>
|
||||||
public ApiResponse< List<Pet> > FindPetsByTagsWithHttpInfo (List<string> tags = null)
|
public ApiResponse< List<Pet> > FindPetsByTagsWithHttpInfo (List<string> tags = null)
|
||||||
{
|
{
|
||||||
@ -1402,7 +1402,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="tags">Tags to filter by</param>
|
/// <param name="tags">Tags to filter by (optional)</param>
|
||||||
/// <returns>Task of List<Pet></returns>
|
/// <returns>Task of List<Pet></returns>
|
||||||
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags = null)
|
public async System.Threading.Tasks.Task<List<Pet>> FindPetsByTagsAsync (List<string> tags = null)
|
||||||
{
|
{
|
||||||
@ -1415,7 +1415,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
/// Finds Pets by tags Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="tags">Tags to filter by</param>
|
/// <param name="tags">Tags to filter by (optional)</param>
|
||||||
/// <returns>Task of ApiResponse (List<Pet>)</returns>
|
/// <returns>Task of ApiResponse (List<Pet>)</returns>
|
||||||
public async System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByTagsAsyncWithHttpInfo (List<string> tags = null)
|
public async System.Threading.Tasks.Task<ApiResponse<List<Pet>>> FindPetsByTagsAsyncWithHttpInfo (List<string> tags = null)
|
||||||
{
|
{
|
||||||
@ -2044,7 +2044,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Update an existing pet
|
/// Update an existing pet
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public void UpdatePet (Pet body = null)
|
public void UpdatePet (Pet body = null)
|
||||||
{
|
{
|
||||||
@ -2055,7 +2055,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Update an existing pet
|
/// Update an existing pet
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
public ApiResponse<Object> UpdatePetWithHttpInfo (Pet body = null)
|
public ApiResponse<Object> UpdatePetWithHttpInfo (Pet body = null)
|
||||||
{
|
{
|
||||||
@ -2132,7 +2132,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Update an existing pet
|
/// Update an existing pet
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
public async System.Threading.Tasks.Task UpdatePetAsync (Pet body = null)
|
public async System.Threading.Tasks.Task UpdatePetAsync (Pet body = null)
|
||||||
{
|
{
|
||||||
@ -2144,7 +2144,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Update an existing pet
|
/// Update an existing pet
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Pet object that needs to be added to the store</param>
|
/// <param name="body">Pet object that needs to be added to the store (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetAsyncWithHttpInfo (Pet body = null)
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetAsyncWithHttpInfo (Pet body = null)
|
||||||
{
|
{
|
||||||
@ -2222,8 +2222,8 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">ID of pet that needs to be updated</param>
|
/// <param name="petId">ID of pet that needs to be updated</param>
|
||||||
/// <param name="name">Updated name of the pet</param>
|
/// <param name="name">Updated name of the pet (optional)</param>
|
||||||
/// <param name="status">Updated status of the pet</param>
|
/// <param name="status">Updated status of the pet (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public void UpdatePetWithForm (string petId, string name = null, string status = null)
|
public void UpdatePetWithForm (string petId, string name = null, string status = null)
|
||||||
{
|
{
|
||||||
@ -2235,8 +2235,8 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">ID of pet that needs to be updated</param>
|
/// <param name="petId">ID of pet that needs to be updated</param>
|
||||||
/// <param name="name">Updated name of the pet</param>
|
/// <param name="name">Updated name of the pet (optional)</param>
|
||||||
/// <param name="status">Updated status of the pet</param>
|
/// <param name="status">Updated status of the pet (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
public ApiResponse<Object> UpdatePetWithFormWithHttpInfo (string petId, string name = null, string status = null)
|
public ApiResponse<Object> UpdatePetWithFormWithHttpInfo (string petId, string name = null, string status = null)
|
||||||
{
|
{
|
||||||
@ -2314,8 +2314,8 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">ID of pet that needs to be updated</param>
|
/// <param name="petId">ID of pet that needs to be updated</param>
|
||||||
/// <param name="name">Updated name of the pet</param>
|
/// <param name="name">Updated name of the pet (optional)</param>
|
||||||
/// <param name="status">Updated status of the pet</param>
|
/// <param name="status">Updated status of the pet (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
public async System.Threading.Tasks.Task UpdatePetWithFormAsync (string petId, string name = null, string status = null)
|
public async System.Threading.Tasks.Task UpdatePetWithFormAsync (string petId, string name = null, string status = null)
|
||||||
{
|
{
|
||||||
@ -2328,8 +2328,8 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">ID of pet that needs to be updated</param>
|
/// <param name="petId">ID of pet that needs to be updated</param>
|
||||||
/// <param name="name">Updated name of the pet</param>
|
/// <param name="name">Updated name of the pet (optional)</param>
|
||||||
/// <param name="status">Updated status of the pet</param>
|
/// <param name="status">Updated status of the pet (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (string petId, string name = null, string status = null)
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdatePetWithFormAsyncWithHttpInfo (string petId, string name = null, string status = null)
|
||||||
{
|
{
|
||||||
@ -2405,8 +2405,8 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">ID of pet to update</param>
|
/// <param name="petId">ID of pet to update</param>
|
||||||
/// <param name="additionalMetadata">Additional data to pass to server</param>
|
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
|
||||||
/// <param name="file">file to upload</param>
|
/// <param name="file">file to upload (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public void UploadFile (long? petId, string additionalMetadata = null, Stream file = null)
|
public void UploadFile (long? petId, string additionalMetadata = null, Stream file = null)
|
||||||
{
|
{
|
||||||
@ -2418,8 +2418,8 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">ID of pet to update</param>
|
/// <param name="petId">ID of pet to update</param>
|
||||||
/// <param name="additionalMetadata">Additional data to pass to server</param>
|
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
|
||||||
/// <param name="file">file to upload</param>
|
/// <param name="file">file to upload (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
public ApiResponse<Object> UploadFileWithHttpInfo (long? petId, string additionalMetadata = null, Stream file = null)
|
public ApiResponse<Object> UploadFileWithHttpInfo (long? petId, string additionalMetadata = null, Stream file = null)
|
||||||
{
|
{
|
||||||
@ -2497,8 +2497,8 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">ID of pet to update</param>
|
/// <param name="petId">ID of pet to update</param>
|
||||||
/// <param name="additionalMetadata">Additional data to pass to server</param>
|
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
|
||||||
/// <param name="file">file to upload</param>
|
/// <param name="file">file to upload (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
public async System.Threading.Tasks.Task UploadFileAsync (long? petId, string additionalMetadata = null, Stream file = null)
|
public async System.Threading.Tasks.Task UploadFileAsync (long? petId, string additionalMetadata = null, Stream file = null)
|
||||||
{
|
{
|
||||||
@ -2511,8 +2511,8 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="petId">ID of pet to update</param>
|
/// <param name="petId">ID of pet to update</param>
|
||||||
/// <param name="additionalMetadata">Additional data to pass to server</param>
|
/// <param name="additionalMetadata">Additional data to pass to server (optional)</param>
|
||||||
/// <param name="file">file to upload</param>
|
/// <param name="file">file to upload (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
public async System.Threading.Tasks.Task<ApiResponse<Object>> UploadFileAsyncWithHttpInfo (long? petId, string additionalMetadata = null, Stream file = null)
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> UploadFileAsyncWithHttpInfo (long? petId, string additionalMetadata = null, Stream file = null)
|
||||||
{
|
{
|
||||||
|
@ -46,7 +46,7 @@ namespace IO.Swagger.Api
|
|||||||
/// A single status value can be provided as a string
|
/// A single status value can be provided as a string
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="status">Status value that needs to be considered for query</param>
|
/// <param name="status">Status value that needs to be considered for query (optional, default to placed)</param>
|
||||||
/// <returns>List<Order></returns>
|
/// <returns>List<Order></returns>
|
||||||
List<Order> FindOrdersByStatus (string status = null);
|
List<Order> FindOrdersByStatus (string status = null);
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ namespace IO.Swagger.Api
|
|||||||
/// A single status value can be provided as a string
|
/// A single status value can be provided as a string
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="status">Status value that needs to be considered for query</param>
|
/// <param name="status">Status value that needs to be considered for query (optional, default to placed)</param>
|
||||||
/// <returns>ApiResponse of List<Order></returns>
|
/// <returns>ApiResponse of List<Order></returns>
|
||||||
ApiResponse<List<Order>> FindOrdersByStatusWithHttpInfo (string status = null);
|
ApiResponse<List<Order>> FindOrdersByStatusWithHttpInfo (string status = null);
|
||||||
|
|
||||||
@ -130,7 +130,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">order placed for purchasing the pet</param>
|
/// <param name="body">order placed for purchasing the pet (optional)</param>
|
||||||
/// <returns>Order</returns>
|
/// <returns>Order</returns>
|
||||||
Order PlaceOrder (Order body = null);
|
Order PlaceOrder (Order body = null);
|
||||||
|
|
||||||
@ -141,7 +141,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">order placed for purchasing the pet</param>
|
/// <param name="body">order placed for purchasing the pet (optional)</param>
|
||||||
/// <returns>ApiResponse of Order</returns>
|
/// <returns>ApiResponse of Order</returns>
|
||||||
ApiResponse<Order> PlaceOrderWithHttpInfo (Order body = null);
|
ApiResponse<Order> PlaceOrderWithHttpInfo (Order body = null);
|
||||||
|
|
||||||
@ -178,7 +178,7 @@ namespace IO.Swagger.Api
|
|||||||
/// A single status value can be provided as a string
|
/// A single status value can be provided as a string
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="status">Status value that needs to be considered for query</param>
|
/// <param name="status">Status value that needs to be considered for query (optional, default to placed)</param>
|
||||||
/// <returns>Task of List<Order></returns>
|
/// <returns>Task of List<Order></returns>
|
||||||
System.Threading.Tasks.Task<List<Order>> FindOrdersByStatusAsync (string status = null);
|
System.Threading.Tasks.Task<List<Order>> FindOrdersByStatusAsync (string status = null);
|
||||||
|
|
||||||
@ -189,7 +189,7 @@ namespace IO.Swagger.Api
|
|||||||
/// A single status value can be provided as a string
|
/// A single status value can be provided as a string
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="status">Status value that needs to be considered for query</param>
|
/// <param name="status">Status value that needs to be considered for query (optional, default to placed)</param>
|
||||||
/// <returns>Task of ApiResponse (List<Order>)</returns>
|
/// <returns>Task of ApiResponse (List<Order>)</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<List<Order>>> FindOrdersByStatusAsyncWithHttpInfo (string status = null);
|
System.Threading.Tasks.Task<ApiResponse<List<Order>>> FindOrdersByStatusAsyncWithHttpInfo (string status = null);
|
||||||
|
|
||||||
@ -262,7 +262,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">order placed for purchasing the pet</param>
|
/// <param name="body">order placed for purchasing the pet (optional)</param>
|
||||||
/// <returns>Task of Order</returns>
|
/// <returns>Task of Order</returns>
|
||||||
System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order body = null);
|
System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order body = null);
|
||||||
|
|
||||||
@ -273,7 +273,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">order placed for purchasing the pet</param>
|
/// <param name="body">order placed for purchasing the pet (optional)</param>
|
||||||
/// <returns>Task of ApiResponse (Order)</returns>
|
/// <returns>Task of ApiResponse (Order)</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderAsyncWithHttpInfo (Order body = null);
|
System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderAsyncWithHttpInfo (Order body = null);
|
||||||
|
|
||||||
@ -529,7 +529,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Finds orders by status A single status value can be provided as a string
|
/// Finds orders by status A single status value can be provided as a string
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="status">Status value that needs to be considered for query</param>
|
/// <param name="status">Status value that needs to be considered for query (optional, default to placed)</param>
|
||||||
/// <returns>List<Order></returns>
|
/// <returns>List<Order></returns>
|
||||||
public List<Order> FindOrdersByStatus (string status = null)
|
public List<Order> FindOrdersByStatus (string status = null)
|
||||||
{
|
{
|
||||||
@ -541,7 +541,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Finds orders by status A single status value can be provided as a string
|
/// Finds orders by status A single status value can be provided as a string
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="status">Status value that needs to be considered for query</param>
|
/// <param name="status">Status value that needs to be considered for query (optional, default to placed)</param>
|
||||||
/// <returns>ApiResponse of List<Order></returns>
|
/// <returns>ApiResponse of List<Order></returns>
|
||||||
public ApiResponse< List<Order> > FindOrdersByStatusWithHttpInfo (string status = null)
|
public ApiResponse< List<Order> > FindOrdersByStatusWithHttpInfo (string status = null)
|
||||||
{
|
{
|
||||||
@ -617,7 +617,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Finds orders by status A single status value can be provided as a string
|
/// Finds orders by status A single status value can be provided as a string
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="status">Status value that needs to be considered for query</param>
|
/// <param name="status">Status value that needs to be considered for query (optional, default to placed)</param>
|
||||||
/// <returns>Task of List<Order></returns>
|
/// <returns>Task of List<Order></returns>
|
||||||
public async System.Threading.Tasks.Task<List<Order>> FindOrdersByStatusAsync (string status = null)
|
public async System.Threading.Tasks.Task<List<Order>> FindOrdersByStatusAsync (string status = null)
|
||||||
{
|
{
|
||||||
@ -630,7 +630,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Finds orders by status A single status value can be provided as a string
|
/// Finds orders by status A single status value can be provided as a string
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="status">Status value that needs to be considered for query</param>
|
/// <param name="status">Status value that needs to be considered for query (optional, default to placed)</param>
|
||||||
/// <returns>Task of ApiResponse (List<Order>)</returns>
|
/// <returns>Task of ApiResponse (List<Order>)</returns>
|
||||||
public async System.Threading.Tasks.Task<ApiResponse<List<Order>>> FindOrdersByStatusAsyncWithHttpInfo (string status = null)
|
public async System.Threading.Tasks.Task<ApiResponse<List<Order>>> FindOrdersByStatusAsyncWithHttpInfo (string status = null)
|
||||||
{
|
{
|
||||||
@ -1209,7 +1209,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Place an order for a pet
|
/// Place an order for a pet
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">order placed for purchasing the pet</param>
|
/// <param name="body">order placed for purchasing the pet (optional)</param>
|
||||||
/// <returns>Order</returns>
|
/// <returns>Order</returns>
|
||||||
public Order PlaceOrder (Order body = null)
|
public Order PlaceOrder (Order body = null)
|
||||||
{
|
{
|
||||||
@ -1221,7 +1221,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Place an order for a pet
|
/// Place an order for a pet
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">order placed for purchasing the pet</param>
|
/// <param name="body">order placed for purchasing the pet (optional)</param>
|
||||||
/// <returns>ApiResponse of Order</returns>
|
/// <returns>ApiResponse of Order</returns>
|
||||||
public ApiResponse< Order > PlaceOrderWithHttpInfo (Order body = null)
|
public ApiResponse< Order > PlaceOrderWithHttpInfo (Order body = null)
|
||||||
{
|
{
|
||||||
@ -1303,7 +1303,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Place an order for a pet
|
/// Place an order for a pet
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">order placed for purchasing the pet</param>
|
/// <param name="body">order placed for purchasing the pet (optional)</param>
|
||||||
/// <returns>Task of Order</returns>
|
/// <returns>Task of Order</returns>
|
||||||
public async System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order body = null)
|
public async System.Threading.Tasks.Task<Order> PlaceOrderAsync (Order body = null)
|
||||||
{
|
{
|
||||||
@ -1316,7 +1316,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Place an order for a pet
|
/// Place an order for a pet
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">order placed for purchasing the pet</param>
|
/// <param name="body">order placed for purchasing the pet (optional)</param>
|
||||||
/// <returns>Task of ApiResponse (Order)</returns>
|
/// <returns>Task of ApiResponse (Order)</returns>
|
||||||
public async System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderAsyncWithHttpInfo (Order body = null)
|
public async System.Threading.Tasks.Task<ApiResponse<Order>> PlaceOrderAsyncWithHttpInfo (Order body = null)
|
||||||
{
|
{
|
||||||
|
@ -24,7 +24,7 @@ namespace IO.Swagger.Api
|
|||||||
/// This can only be done by the logged in user.
|
/// This can only be done by the logged in user.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Created user object</param>
|
/// <param name="body">Created user object (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
void CreateUser (User body = null);
|
void CreateUser (User body = null);
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ namespace IO.Swagger.Api
|
|||||||
/// This can only be done by the logged in user.
|
/// This can only be done by the logged in user.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Created user object</param>
|
/// <param name="body">Created user object (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
ApiResponse<Object> CreateUserWithHttpInfo (User body = null);
|
ApiResponse<Object> CreateUserWithHttpInfo (User body = null);
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
void CreateUsersWithArrayInput (List<User> body = null);
|
void CreateUsersWithArrayInput (List<User> body = null);
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
ApiResponse<Object> CreateUsersWithArrayInputWithHttpInfo (List<User> body = null);
|
ApiResponse<Object> CreateUsersWithArrayInputWithHttpInfo (List<User> body = null);
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
void CreateUsersWithListInput (List<User> body = null);
|
void CreateUsersWithListInput (List<User> body = null);
|
||||||
|
|
||||||
@ -79,7 +79,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
ApiResponse<Object> CreateUsersWithListInputWithHttpInfo (List<User> body = null);
|
ApiResponse<Object> CreateUsersWithListInputWithHttpInfo (List<User> body = null);
|
||||||
|
|
||||||
@ -134,8 +134,8 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="username">The user name for login</param>
|
/// <param name="username">The user name for login (optional)</param>
|
||||||
/// <param name="password">The password for login in clear text</param>
|
/// <param name="password">The password for login in clear text (optional)</param>
|
||||||
/// <returns>string</returns>
|
/// <returns>string</returns>
|
||||||
string LoginUser (string username = null, string password = null);
|
string LoginUser (string username = null, string password = null);
|
||||||
|
|
||||||
@ -146,8 +146,8 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="username">The user name for login</param>
|
/// <param name="username">The user name for login (optional)</param>
|
||||||
/// <param name="password">The password for login in clear text</param>
|
/// <param name="password">The password for login in clear text (optional)</param>
|
||||||
/// <returns>ApiResponse of string</returns>
|
/// <returns>ApiResponse of string</returns>
|
||||||
ApiResponse<string> LoginUserWithHttpInfo (string username = null, string password = null);
|
ApiResponse<string> LoginUserWithHttpInfo (string username = null, string password = null);
|
||||||
|
|
||||||
@ -179,7 +179,7 @@ namespace IO.Swagger.Api
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="username">name that need to be deleted</param>
|
/// <param name="username">name that need to be deleted</param>
|
||||||
/// <param name="body">Updated user object</param>
|
/// <param name="body">Updated user object (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
void UpdateUser (string username, User body = null);
|
void UpdateUser (string username, User body = null);
|
||||||
|
|
||||||
@ -191,7 +191,7 @@ namespace IO.Swagger.Api
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="username">name that need to be deleted</param>
|
/// <param name="username">name that need to be deleted</param>
|
||||||
/// <param name="body">Updated user object</param>
|
/// <param name="body">Updated user object (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
ApiResponse<Object> UpdateUserWithHttpInfo (string username, User body = null);
|
ApiResponse<Object> UpdateUserWithHttpInfo (string username, User body = null);
|
||||||
|
|
||||||
@ -206,7 +206,7 @@ namespace IO.Swagger.Api
|
|||||||
/// This can only be done by the logged in user.
|
/// This can only be done by the logged in user.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Created user object</param>
|
/// <param name="body">Created user object (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
System.Threading.Tasks.Task CreateUserAsync (User body = null);
|
System.Threading.Tasks.Task CreateUserAsync (User body = null);
|
||||||
|
|
||||||
@ -217,7 +217,7 @@ namespace IO.Swagger.Api
|
|||||||
/// This can only be done by the logged in user.
|
/// This can only be done by the logged in user.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Created user object</param>
|
/// <param name="body">Created user object (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserAsyncWithHttpInfo (User body = null);
|
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserAsyncWithHttpInfo (User body = null);
|
||||||
|
|
||||||
@ -228,7 +228,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> body = null);
|
System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> body = null);
|
||||||
|
|
||||||
@ -239,7 +239,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputAsyncWithHttpInfo (List<User> body = null);
|
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputAsyncWithHttpInfo (List<User> body = null);
|
||||||
|
|
||||||
@ -250,7 +250,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> body = null);
|
System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> body = null);
|
||||||
|
|
||||||
@ -261,7 +261,7 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputAsyncWithHttpInfo (List<User> body = null);
|
System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputAsyncWithHttpInfo (List<User> body = null);
|
||||||
|
|
||||||
@ -316,8 +316,8 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="username">The user name for login</param>
|
/// <param name="username">The user name for login (optional)</param>
|
||||||
/// <param name="password">The password for login in clear text</param>
|
/// <param name="password">The password for login in clear text (optional)</param>
|
||||||
/// <returns>Task of string</returns>
|
/// <returns>Task of string</returns>
|
||||||
System.Threading.Tasks.Task<string> LoginUserAsync (string username = null, string password = null);
|
System.Threading.Tasks.Task<string> LoginUserAsync (string username = null, string password = null);
|
||||||
|
|
||||||
@ -328,8 +328,8 @@ namespace IO.Swagger.Api
|
|||||||
///
|
///
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="username">The user name for login</param>
|
/// <param name="username">The user name for login (optional)</param>
|
||||||
/// <param name="password">The password for login in clear text</param>
|
/// <param name="password">The password for login in clear text (optional)</param>
|
||||||
/// <returns>Task of ApiResponse (string)</returns>
|
/// <returns>Task of ApiResponse (string)</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<string>> LoginUserAsyncWithHttpInfo (string username = null, string password = null);
|
System.Threading.Tasks.Task<ApiResponse<string>> LoginUserAsyncWithHttpInfo (string username = null, string password = null);
|
||||||
|
|
||||||
@ -361,7 +361,7 @@ namespace IO.Swagger.Api
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="username">name that need to be deleted</param>
|
/// <param name="username">name that need to be deleted</param>
|
||||||
/// <param name="body">Updated user object</param>
|
/// <param name="body">Updated user object (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
System.Threading.Tasks.Task UpdateUserAsync (string username, User body = null);
|
System.Threading.Tasks.Task UpdateUserAsync (string username, User body = null);
|
||||||
|
|
||||||
@ -373,7 +373,7 @@ namespace IO.Swagger.Api
|
|||||||
/// </remarks>
|
/// </remarks>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="username">name that need to be deleted</param>
|
/// <param name="username">name that need to be deleted</param>
|
||||||
/// <param name="body">Updated user object</param>
|
/// <param name="body">Updated user object (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserAsyncWithHttpInfo (string username, User body = null);
|
System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserAsyncWithHttpInfo (string username, User body = null);
|
||||||
|
|
||||||
@ -473,7 +473,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Create user This can only be done by the logged in user.
|
/// Create user This can only be done by the logged in user.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Created user object</param>
|
/// <param name="body">Created user object (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public void CreateUser (User body = null)
|
public void CreateUser (User body = null)
|
||||||
{
|
{
|
||||||
@ -484,7 +484,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Create user This can only be done by the logged in user.
|
/// Create user This can only be done by the logged in user.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Created user object</param>
|
/// <param name="body">Created user object (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
public ApiResponse<Object> CreateUserWithHttpInfo (User body = null)
|
public ApiResponse<Object> CreateUserWithHttpInfo (User body = null)
|
||||||
{
|
{
|
||||||
@ -554,7 +554,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Create user This can only be done by the logged in user.
|
/// Create user This can only be done by the logged in user.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Created user object</param>
|
/// <param name="body">Created user object (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
public async System.Threading.Tasks.Task CreateUserAsync (User body = null)
|
public async System.Threading.Tasks.Task CreateUserAsync (User body = null)
|
||||||
{
|
{
|
||||||
@ -566,7 +566,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Create user This can only be done by the logged in user.
|
/// Create user This can only be done by the logged in user.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">Created user object</param>
|
/// <param name="body">Created user object (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserAsyncWithHttpInfo (User body = null)
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUserAsyncWithHttpInfo (User body = null)
|
||||||
{
|
{
|
||||||
@ -635,7 +635,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public void CreateUsersWithArrayInput (List<User> body = null)
|
public void CreateUsersWithArrayInput (List<User> body = null)
|
||||||
{
|
{
|
||||||
@ -646,7 +646,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
public ApiResponse<Object> CreateUsersWithArrayInputWithHttpInfo (List<User> body = null)
|
public ApiResponse<Object> CreateUsersWithArrayInputWithHttpInfo (List<User> body = null)
|
||||||
{
|
{
|
||||||
@ -716,7 +716,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> body = null)
|
public async System.Threading.Tasks.Task CreateUsersWithArrayInputAsync (List<User> body = null)
|
||||||
{
|
{
|
||||||
@ -728,7 +728,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputAsyncWithHttpInfo (List<User> body = null)
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithArrayInputAsyncWithHttpInfo (List<User> body = null)
|
||||||
{
|
{
|
||||||
@ -797,7 +797,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public void CreateUsersWithListInput (List<User> body = null)
|
public void CreateUsersWithListInput (List<User> body = null)
|
||||||
{
|
{
|
||||||
@ -808,7 +808,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
public ApiResponse<Object> CreateUsersWithListInputWithHttpInfo (List<User> body = null)
|
public ApiResponse<Object> CreateUsersWithListInputWithHttpInfo (List<User> body = null)
|
||||||
{
|
{
|
||||||
@ -878,7 +878,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
public async System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> body = null)
|
public async System.Threading.Tasks.Task CreateUsersWithListInputAsync (List<User> body = null)
|
||||||
{
|
{
|
||||||
@ -890,7 +890,7 @@ namespace IO.Swagger.Api
|
|||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputAsyncWithHttpInfo (List<User> body = null)
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> CreateUsersWithListInputAsyncWithHttpInfo (List<User> body = null)
|
||||||
{
|
{
|
||||||
@ -1288,8 +1288,8 @@ namespace IO.Swagger.Api
|
|||||||
/// Logs user into the system
|
/// Logs user into the system
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="username">The user name for login</param>
|
/// <param name="username">The user name for login (optional)</param>
|
||||||
/// <param name="password">The password for login in clear text</param>
|
/// <param name="password">The password for login in clear text (optional)</param>
|
||||||
/// <returns>string</returns>
|
/// <returns>string</returns>
|
||||||
public string LoginUser (string username = null, string password = null)
|
public string LoginUser (string username = null, string password = null)
|
||||||
{
|
{
|
||||||
@ -1301,8 +1301,8 @@ namespace IO.Swagger.Api
|
|||||||
/// Logs user into the system
|
/// Logs user into the system
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="username">The user name for login</param>
|
/// <param name="username">The user name for login (optional)</param>
|
||||||
/// <param name="password">The password for login in clear text</param>
|
/// <param name="password">The password for login in clear text (optional)</param>
|
||||||
/// <returns>ApiResponse of string</returns>
|
/// <returns>ApiResponse of string</returns>
|
||||||
public ApiResponse< string > LoginUserWithHttpInfo (string username = null, string password = null)
|
public ApiResponse< string > LoginUserWithHttpInfo (string username = null, string password = null)
|
||||||
{
|
{
|
||||||
@ -1367,8 +1367,8 @@ namespace IO.Swagger.Api
|
|||||||
/// Logs user into the system
|
/// Logs user into the system
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="username">The user name for login</param>
|
/// <param name="username">The user name for login (optional)</param>
|
||||||
/// <param name="password">The password for login in clear text</param>
|
/// <param name="password">The password for login in clear text (optional)</param>
|
||||||
/// <returns>Task of string</returns>
|
/// <returns>Task of string</returns>
|
||||||
public async System.Threading.Tasks.Task<string> LoginUserAsync (string username = null, string password = null)
|
public async System.Threading.Tasks.Task<string> LoginUserAsync (string username = null, string password = null)
|
||||||
{
|
{
|
||||||
@ -1381,8 +1381,8 @@ namespace IO.Swagger.Api
|
|||||||
/// Logs user into the system
|
/// Logs user into the system
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="username">The user name for login</param>
|
/// <param name="username">The user name for login (optional)</param>
|
||||||
/// <param name="password">The password for login in clear text</param>
|
/// <param name="password">The password for login in clear text (optional)</param>
|
||||||
/// <returns>Task of ApiResponse (string)</returns>
|
/// <returns>Task of ApiResponse (string)</returns>
|
||||||
public async System.Threading.Tasks.Task<ApiResponse<string>> LoginUserAsyncWithHttpInfo (string username = null, string password = null)
|
public async System.Threading.Tasks.Task<ApiResponse<string>> LoginUserAsyncWithHttpInfo (string username = null, string password = null)
|
||||||
{
|
{
|
||||||
@ -1591,7 +1591,7 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="username">name that need to be deleted</param>
|
/// <param name="username">name that need to be deleted</param>
|
||||||
/// <param name="body">Updated user object</param>
|
/// <param name="body">Updated user object (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public void UpdateUser (string username, User body = null)
|
public void UpdateUser (string username, User body = null)
|
||||||
{
|
{
|
||||||
@ -1603,7 +1603,7 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="username">name that need to be deleted</param>
|
/// <param name="username">name that need to be deleted</param>
|
||||||
/// <param name="body">Updated user object</param>
|
/// <param name="body">Updated user object (optional)</param>
|
||||||
/// <returns>ApiResponse of Object(void)</returns>
|
/// <returns>ApiResponse of Object(void)</returns>
|
||||||
public ApiResponse<Object> UpdateUserWithHttpInfo (string username, User body = null)
|
public ApiResponse<Object> UpdateUserWithHttpInfo (string username, User body = null)
|
||||||
{
|
{
|
||||||
@ -1679,7 +1679,7 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="username">name that need to be deleted</param>
|
/// <param name="username">name that need to be deleted</param>
|
||||||
/// <param name="body">Updated user object</param>
|
/// <param name="body">Updated user object (optional)</param>
|
||||||
/// <returns>Task of void</returns>
|
/// <returns>Task of void</returns>
|
||||||
public async System.Threading.Tasks.Task UpdateUserAsync (string username, User body = null)
|
public async System.Threading.Tasks.Task UpdateUserAsync (string username, User body = null)
|
||||||
{
|
{
|
||||||
@ -1692,7 +1692,7 @@ namespace IO.Swagger.Api
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
/// <exception cref="IO.Swagger.Client.ApiException">Thrown when fails to make API call</exception>
|
||||||
/// <param name="username">name that need to be deleted</param>
|
/// <param name="username">name that need to be deleted</param>
|
||||||
/// <param name="body">Updated user object</param>
|
/// <param name="body">Updated user object (optional)</param>
|
||||||
/// <returns>Task of ApiResponse</returns>
|
/// <returns>Task of ApiResponse</returns>
|
||||||
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserAsyncWithHttpInfo (string username, User body = null)
|
public async System.Threading.Tasks.Task<ApiResponse<Object>> UpdateUserAsyncWithHttpInfo (string username, User body = null)
|
||||||
{
|
{
|
||||||
|
@ -73,7 +73,7 @@ static SWGPetApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Add a new pet to the store
|
/// Add a new pet to the store
|
||||||
///
|
///
|
||||||
/// @param body Pet object that needs to be added to the store
|
/// @param body Pet object that needs to be added to the store (optional)
|
||||||
///
|
///
|
||||||
/// @returns void
|
/// @returns void
|
||||||
///
|
///
|
||||||
@ -148,7 +148,7 @@ static SWGPetApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
/// Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
||||||
///
|
///
|
||||||
/// @param body Pet object in the form of byte array
|
/// @param body Pet object in the form of byte array (optional)
|
||||||
///
|
///
|
||||||
/// @returns void
|
/// @returns void
|
||||||
///
|
///
|
||||||
@ -223,9 +223,9 @@ static SWGPetApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Deletes a pet
|
/// Deletes a pet
|
||||||
///
|
///
|
||||||
/// @param petId Pet id to delete
|
/// @param petId Pet id to delete
|
||||||
///
|
///
|
||||||
/// @param apiKey
|
/// @param apiKey (optional)
|
||||||
///
|
///
|
||||||
/// @returns void
|
/// @returns void
|
||||||
///
|
///
|
||||||
@ -312,7 +312,7 @@ static SWGPetApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Finds Pets by status
|
/// Finds Pets by status
|
||||||
/// Multiple status values can be provided with comma separated strings
|
/// Multiple status values can be provided with comma separated strings
|
||||||
/// @param status Status values that need to be considered for query
|
/// @param status Status values that need to be considered for query (optional, default to available)
|
||||||
///
|
///
|
||||||
/// @returns NSArray<SWGPet>*
|
/// @returns NSArray<SWGPet>*
|
||||||
///
|
///
|
||||||
@ -393,7 +393,7 @@ static SWGPetApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Finds Pets by tags
|
/// Finds Pets by tags
|
||||||
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
/// Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
||||||
/// @param tags Tags to filter by
|
/// @param tags Tags to filter by (optional)
|
||||||
///
|
///
|
||||||
/// @returns NSArray<SWGPet>*
|
/// @returns NSArray<SWGPet>*
|
||||||
///
|
///
|
||||||
@ -474,7 +474,7 @@ static SWGPetApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Find pet by ID
|
/// Find pet by ID
|
||||||
/// Returns a pet when ID < 10. ID > 10 or nonintegers will simulate API error conditions
|
/// Returns a pet when ID < 10. ID > 10 or nonintegers will simulate API error conditions
|
||||||
/// @param petId ID of pet that needs to be fetched
|
/// @param petId ID of pet that needs to be fetched
|
||||||
///
|
///
|
||||||
/// @returns SWGPet*
|
/// @returns SWGPet*
|
||||||
///
|
///
|
||||||
@ -557,7 +557,7 @@ static SWGPetApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Fake endpoint to test inline arbitrary object return by 'Find pet by ID'
|
/// Fake endpoint to test inline arbitrary object return by 'Find pet by ID'
|
||||||
/// Returns a pet when ID < 10. ID > 10 or nonintegers will simulate API error conditions
|
/// Returns a pet when ID < 10. ID > 10 or nonintegers will simulate API error conditions
|
||||||
/// @param petId ID of pet that needs to be fetched
|
/// @param petId ID of pet that needs to be fetched
|
||||||
///
|
///
|
||||||
/// @returns SWGInlineResponse200*
|
/// @returns SWGInlineResponse200*
|
||||||
///
|
///
|
||||||
@ -640,7 +640,7 @@ static SWGPetApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Fake endpoint to test byte array return by 'Find pet by ID'
|
/// Fake endpoint to test byte array return by 'Find pet by ID'
|
||||||
/// Returns a pet when ID < 10. ID > 10 or nonintegers will simulate API error conditions
|
/// Returns a pet when ID < 10. ID > 10 or nonintegers will simulate API error conditions
|
||||||
/// @param petId ID of pet that needs to be fetched
|
/// @param petId ID of pet that needs to be fetched
|
||||||
///
|
///
|
||||||
/// @returns NSString*
|
/// @returns NSString*
|
||||||
///
|
///
|
||||||
@ -723,7 +723,7 @@ static SWGPetApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Update an existing pet
|
/// Update an existing pet
|
||||||
///
|
///
|
||||||
/// @param body Pet object that needs to be added to the store
|
/// @param body Pet object that needs to be added to the store (optional)
|
||||||
///
|
///
|
||||||
/// @returns void
|
/// @returns void
|
||||||
///
|
///
|
||||||
@ -798,11 +798,11 @@ static SWGPetApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Updates a pet in the store with form data
|
/// Updates a pet in the store with form data
|
||||||
///
|
///
|
||||||
/// @param petId ID of pet that needs to be updated
|
/// @param petId ID of pet that needs to be updated
|
||||||
///
|
///
|
||||||
/// @param name Updated name of the pet
|
/// @param name Updated name of the pet (optional)
|
||||||
///
|
///
|
||||||
/// @param status Updated status of the pet
|
/// @param status Updated status of the pet (optional)
|
||||||
///
|
///
|
||||||
/// @returns void
|
/// @returns void
|
||||||
///
|
///
|
||||||
@ -899,11 +899,11 @@ static SWGPetApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// uploads an image
|
/// uploads an image
|
||||||
///
|
///
|
||||||
/// @param petId ID of pet to update
|
/// @param petId ID of pet to update
|
||||||
///
|
///
|
||||||
/// @param additionalMetadata Additional data to pass to server
|
/// @param additionalMetadata Additional data to pass to server (optional)
|
||||||
///
|
///
|
||||||
/// @param file file to upload
|
/// @param file file to upload (optional)
|
||||||
///
|
///
|
||||||
/// @returns void
|
/// @returns void
|
||||||
///
|
///
|
||||||
|
@ -72,7 +72,7 @@ static SWGStoreApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Delete purchase order by ID
|
/// Delete purchase order by ID
|
||||||
/// For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
/// For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||||
/// @param orderId ID of the order that needs to be deleted
|
/// @param orderId ID of the order that needs to be deleted
|
||||||
///
|
///
|
||||||
/// @returns void
|
/// @returns void
|
||||||
///
|
///
|
||||||
@ -155,7 +155,7 @@ static SWGStoreApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Finds orders by status
|
/// Finds orders by status
|
||||||
/// A single status value can be provided as a string
|
/// A single status value can be provided as a string
|
||||||
/// @param status Status value that needs to be considered for query
|
/// @param status Status value that needs to be considered for query (optional, default to placed)
|
||||||
///
|
///
|
||||||
/// @returns NSArray<SWGOrder>*
|
/// @returns NSArray<SWGOrder>*
|
||||||
///
|
///
|
||||||
@ -380,7 +380,7 @@ static SWGStoreApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Find purchase order by ID
|
/// Find purchase order by ID
|
||||||
/// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
/// For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||||
/// @param orderId ID of pet that needs to be fetched
|
/// @param orderId ID of pet that needs to be fetched
|
||||||
///
|
///
|
||||||
/// @returns SWGOrder*
|
/// @returns SWGOrder*
|
||||||
///
|
///
|
||||||
@ -463,7 +463,7 @@ static SWGStoreApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Place an order for a pet
|
/// Place an order for a pet
|
||||||
///
|
///
|
||||||
/// @param body order placed for purchasing the pet
|
/// @param body order placed for purchasing the pet (optional)
|
||||||
///
|
///
|
||||||
/// @returns SWGOrder*
|
/// @returns SWGOrder*
|
||||||
///
|
///
|
||||||
|
@ -72,7 +72,7 @@ static SWGUserApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Create user
|
/// Create user
|
||||||
/// This can only be done by the logged in user.
|
/// This can only be done by the logged in user.
|
||||||
/// @param body Created user object
|
/// @param body Created user object (optional)
|
||||||
///
|
///
|
||||||
/// @returns void
|
/// @returns void
|
||||||
///
|
///
|
||||||
@ -147,7 +147,7 @@ static SWGUserApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
///
|
///
|
||||||
/// @param body List of user object
|
/// @param body List of user object (optional)
|
||||||
///
|
///
|
||||||
/// @returns void
|
/// @returns void
|
||||||
///
|
///
|
||||||
@ -222,7 +222,7 @@ static SWGUserApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
///
|
///
|
||||||
/// @param body List of user object
|
/// @param body List of user object (optional)
|
||||||
///
|
///
|
||||||
/// @returns void
|
/// @returns void
|
||||||
///
|
///
|
||||||
@ -297,7 +297,7 @@ static SWGUserApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Delete user
|
/// Delete user
|
||||||
/// This can only be done by the logged in user.
|
/// This can only be done by the logged in user.
|
||||||
/// @param username The name that needs to be deleted
|
/// @param username The name that needs to be deleted
|
||||||
///
|
///
|
||||||
/// @returns void
|
/// @returns void
|
||||||
///
|
///
|
||||||
@ -380,7 +380,7 @@ static SWGUserApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Get user by user name
|
/// Get user by user name
|
||||||
///
|
///
|
||||||
/// @param username The name that needs to be fetched. Use user1 for testing.
|
/// @param username The name that needs to be fetched. Use user1 for testing.
|
||||||
///
|
///
|
||||||
/// @returns SWGUser*
|
/// @returns SWGUser*
|
||||||
///
|
///
|
||||||
@ -463,9 +463,9 @@ static SWGUserApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Logs user into the system
|
/// Logs user into the system
|
||||||
///
|
///
|
||||||
/// @param username The user name for login
|
/// @param username The user name for login (optional)
|
||||||
///
|
///
|
||||||
/// @param password The password for login in clear text
|
/// @param password The password for login in clear text (optional)
|
||||||
///
|
///
|
||||||
/// @returns NSString*
|
/// @returns NSString*
|
||||||
///
|
///
|
||||||
@ -622,9 +622,9 @@ static SWGUserApi* singletonAPI = nil;
|
|||||||
///
|
///
|
||||||
/// Updated user
|
/// Updated user
|
||||||
/// This can only be done by the logged in user.
|
/// This can only be done by the logged in user.
|
||||||
/// @param username name that need to be deleted
|
/// @param username name that need to be deleted
|
||||||
///
|
///
|
||||||
/// @param body Updated user object
|
/// @param body Updated user object (optional)
|
||||||
///
|
///
|
||||||
/// @returns void
|
/// @returns void
|
||||||
///
|
///
|
||||||
|
@ -5,7 +5,7 @@ This SDK is automatically generated by the [Swagger Codegen](https://github.com/
|
|||||||
|
|
||||||
- API verion: 1.0.0
|
- API verion: 1.0.0
|
||||||
- Package version: 1.0.0
|
- Package version: 1.0.0
|
||||||
- Build date: 2016-03-17T16:51:52.647+08:00
|
- Build date: 2016-03-17T17:35:57.786+08:00
|
||||||
- Build package: class io.swagger.codegen.languages.PhpClientCodegen
|
- Build package: class io.swagger.codegen.languages.PhpClientCodegen
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
@ -362,7 +362,7 @@ class PetApi
|
|||||||
*
|
*
|
||||||
* Finds Pets by status
|
* Finds Pets by status
|
||||||
*
|
*
|
||||||
* @param string[] $status Status values that need to be considered for query (optional)
|
* @param string[] $status Status values that need to be considered for query (optional, default to available)
|
||||||
* @return \Swagger\Client\Model\Pet[]
|
* @return \Swagger\Client\Model\Pet[]
|
||||||
* @throws \Swagger\Client\ApiException on non-2xx response
|
* @throws \Swagger\Client\ApiException on non-2xx response
|
||||||
*/
|
*/
|
||||||
@ -378,7 +378,7 @@ class PetApi
|
|||||||
*
|
*
|
||||||
* Finds Pets by status
|
* Finds Pets by status
|
||||||
*
|
*
|
||||||
* @param string[] $status Status values that need to be considered for query (optional)
|
* @param string[] $status Status values that need to be considered for query (optional, default to available)
|
||||||
* @return Array of \Swagger\Client\Model\Pet[], HTTP status code, HTTP response headers (array of strings)
|
* @return Array of \Swagger\Client\Model\Pet[], HTTP status code, HTTP response headers (array of strings)
|
||||||
* @throws \Swagger\Client\ApiException on non-2xx response
|
* @throws \Swagger\Client\ApiException on non-2xx response
|
||||||
*/
|
*/
|
||||||
|
@ -183,7 +183,7 @@ class StoreApi
|
|||||||
*
|
*
|
||||||
* Finds orders by status
|
* Finds orders by status
|
||||||
*
|
*
|
||||||
* @param string $status Status value that needs to be considered for query (optional)
|
* @param string $status Status value that needs to be considered for query (optional, default to placed)
|
||||||
* @return \Swagger\Client\Model\Order[]
|
* @return \Swagger\Client\Model\Order[]
|
||||||
* @throws \Swagger\Client\ApiException on non-2xx response
|
* @throws \Swagger\Client\ApiException on non-2xx response
|
||||||
*/
|
*/
|
||||||
@ -199,7 +199,7 @@ class StoreApi
|
|||||||
*
|
*
|
||||||
* Finds orders by status
|
* Finds orders by status
|
||||||
*
|
*
|
||||||
* @param string $status Status value that needs to be considered for query (optional)
|
* @param string $status Status value that needs to be considered for query (optional, default to placed)
|
||||||
* @return Array of \Swagger\Client\Model\Order[], HTTP status code, HTTP response headers (array of strings)
|
* @return Array of \Swagger\Client\Model\Order[], HTTP status code, HTTP response headers (array of strings)
|
||||||
* @throws \Swagger\Client\ApiException on non-2xx response
|
* @throws \Swagger\Client\ApiException on non-2xx response
|
||||||
*/
|
*/
|
||||||
|
@ -27,7 +27,7 @@ class PetApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Add a new pet to the store
|
* Add a new pet to the store
|
||||||
*
|
*
|
||||||
* @param body Pet object that needs to be added to the store
|
* @param body Pet object that needs to be added to the store (optional)
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
def addPet (body: Pet) = {
|
def addPet (body: Pet) = {
|
||||||
@ -74,7 +74,7 @@ class PetApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
* Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
||||||
*
|
*
|
||||||
* @param body Pet object in the form of byte array
|
* @param body Pet object in the form of byte array (optional)
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
def addPetUsingByteArray (body: String) = {
|
def addPetUsingByteArray (body: String) = {
|
||||||
@ -121,8 +121,8 @@ class PetApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Deletes a pet
|
* Deletes a pet
|
||||||
*
|
*
|
||||||
* @param petId Pet id to delete
|
* @param petId Pet id to delete
|
||||||
* @param apiKey
|
* @param apiKey (optional)
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
def deletePet (petId: Long, apiKey: String) = {
|
def deletePet (petId: Long, apiKey: String) = {
|
||||||
@ -172,7 +172,7 @@ class PetApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Finds Pets by status
|
* Finds Pets by status
|
||||||
* Multiple status values can be provided with comma separated strings
|
* Multiple status values can be provided with comma separated strings
|
||||||
* @param status Status values that need to be considered for query
|
* @param status Status values that need to be considered for query (optional, default to available)
|
||||||
* @return List[Pet]
|
* @return List[Pet]
|
||||||
*/
|
*/
|
||||||
def findPetsByStatus (status: List[String] /* = available */) : Option[List[Pet]] = {
|
def findPetsByStatus (status: List[String] /* = available */) : Option[List[Pet]] = {
|
||||||
@ -221,7 +221,7 @@ class PetApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Finds Pets by tags
|
* Finds Pets by tags
|
||||||
* Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
* Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.
|
||||||
* @param tags Tags to filter by
|
* @param tags Tags to filter by (optional)
|
||||||
* @return List[Pet]
|
* @return List[Pet]
|
||||||
*/
|
*/
|
||||||
def findPetsByTags (tags: List[String]) : Option[List[Pet]] = {
|
def findPetsByTags (tags: List[String]) : Option[List[Pet]] = {
|
||||||
@ -270,7 +270,7 @@ class PetApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Find pet by ID
|
* Find pet by ID
|
||||||
* Returns a pet when ID < 10. ID > 10 or nonintegers will simulate API error conditions
|
* Returns a pet when ID < 10. ID > 10 or nonintegers will simulate API error conditions
|
||||||
* @param petId ID of pet that needs to be fetched
|
* @param petId ID of pet that needs to be fetched
|
||||||
* @return Pet
|
* @return Pet
|
||||||
*/
|
*/
|
||||||
def getPetById (petId: Long) : Option[Pet] = {
|
def getPetById (petId: Long) : Option[Pet] = {
|
||||||
@ -320,7 +320,7 @@ class PetApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Fake endpoint to test inline arbitrary object return by 'Find pet by ID'
|
* Fake endpoint to test inline arbitrary object return by 'Find pet by ID'
|
||||||
* Returns a pet when ID < 10. ID > 10 or nonintegers will simulate API error conditions
|
* Returns a pet when ID < 10. ID > 10 or nonintegers will simulate API error conditions
|
||||||
* @param petId ID of pet that needs to be fetched
|
* @param petId ID of pet that needs to be fetched
|
||||||
* @return InlineResponse200
|
* @return InlineResponse200
|
||||||
*/
|
*/
|
||||||
def getPetByIdInObject (petId: Long) : Option[InlineResponse200] = {
|
def getPetByIdInObject (petId: Long) : Option[InlineResponse200] = {
|
||||||
@ -370,7 +370,7 @@ class PetApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Fake endpoint to test byte array return by 'Find pet by ID'
|
* Fake endpoint to test byte array return by 'Find pet by ID'
|
||||||
* Returns a pet when ID < 10. ID > 10 or nonintegers will simulate API error conditions
|
* Returns a pet when ID < 10. ID > 10 or nonintegers will simulate API error conditions
|
||||||
* @param petId ID of pet that needs to be fetched
|
* @param petId ID of pet that needs to be fetched
|
||||||
* @return String
|
* @return String
|
||||||
*/
|
*/
|
||||||
def petPetIdtestingByteArraytrueGet (petId: Long) : Option[String] = {
|
def petPetIdtestingByteArraytrueGet (petId: Long) : Option[String] = {
|
||||||
@ -420,7 +420,7 @@ class PetApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Update an existing pet
|
* Update an existing pet
|
||||||
*
|
*
|
||||||
* @param body Pet object that needs to be added to the store
|
* @param body Pet object that needs to be added to the store (optional)
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
def updatePet (body: Pet) = {
|
def updatePet (body: Pet) = {
|
||||||
@ -467,9 +467,9 @@ class PetApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Updates a pet in the store with form data
|
* Updates a pet in the store with form data
|
||||||
*
|
*
|
||||||
* @param petId ID of pet that needs to be updated
|
* @param petId ID of pet that needs to be updated
|
||||||
* @param name Updated name of the pet
|
* @param name Updated name of the pet (optional)
|
||||||
* @param status Updated status of the pet
|
* @param status Updated status of the pet (optional)
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
def updatePetWithForm (petId: String, name: String, status: String) = {
|
def updatePetWithForm (petId: String, name: String, status: String) = {
|
||||||
@ -524,9 +524,9 @@ class PetApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* uploads an image
|
* uploads an image
|
||||||
*
|
*
|
||||||
* @param petId ID of pet to update
|
* @param petId ID of pet to update
|
||||||
* @param additionalMetadata Additional data to pass to server
|
* @param additionalMetadata Additional data to pass to server (optional)
|
||||||
* @param file file to upload
|
* @param file file to upload (optional)
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
def uploadFile (petId: Long, additionalMetadata: String, file: File) = {
|
def uploadFile (petId: Long, additionalMetadata: String, file: File) = {
|
||||||
|
@ -25,7 +25,7 @@ class StoreApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Delete purchase order by ID
|
* Delete purchase order by ID
|
||||||
* For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
* For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||||
* @param orderId ID of the order that needs to be deleted
|
* @param orderId ID of the order that needs to be deleted
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
def deleteOrder (orderId: String) = {
|
def deleteOrder (orderId: String) = {
|
||||||
@ -74,7 +74,7 @@ class StoreApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Finds orders by status
|
* Finds orders by status
|
||||||
* A single status value can be provided as a string
|
* A single status value can be provided as a string
|
||||||
* @param status Status value that needs to be considered for query
|
* @param status Status value that needs to be considered for query (optional, default to placed)
|
||||||
* @return List[Order]
|
* @return List[Order]
|
||||||
*/
|
*/
|
||||||
def findOrdersByStatus (status: String /* = placed */) : Option[List[Order]] = {
|
def findOrdersByStatus (status: String /* = placed */) : Option[List[Order]] = {
|
||||||
@ -217,7 +217,7 @@ class StoreApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Find purchase order by ID
|
* Find purchase order by ID
|
||||||
* For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
* For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||||
* @param orderId ID of pet that needs to be fetched
|
* @param orderId ID of pet that needs to be fetched
|
||||||
* @return Order
|
* @return Order
|
||||||
*/
|
*/
|
||||||
def getOrderById (orderId: String) : Option[Order] = {
|
def getOrderById (orderId: String) : Option[Order] = {
|
||||||
@ -267,7 +267,7 @@ class StoreApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Place an order for a pet
|
* Place an order for a pet
|
||||||
*
|
*
|
||||||
* @param body order placed for purchasing the pet
|
* @param body order placed for purchasing the pet (optional)
|
||||||
* @return Order
|
* @return Order
|
||||||
*/
|
*/
|
||||||
def placeOrder (body: Order) : Option[Order] = {
|
def placeOrder (body: Order) : Option[Order] = {
|
||||||
|
@ -25,7 +25,7 @@ class UserApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Create user
|
* Create user
|
||||||
* This can only be done by the logged in user.
|
* This can only be done by the logged in user.
|
||||||
* @param body Created user object
|
* @param body Created user object (optional)
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
def createUser (body: User) = {
|
def createUser (body: User) = {
|
||||||
@ -72,7 +72,7 @@ class UserApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Creates list of users with given input array
|
* Creates list of users with given input array
|
||||||
*
|
*
|
||||||
* @param body List of user object
|
* @param body List of user object (optional)
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
def createUsersWithArrayInput (body: List[User]) = {
|
def createUsersWithArrayInput (body: List[User]) = {
|
||||||
@ -119,7 +119,7 @@ class UserApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Creates list of users with given input array
|
* Creates list of users with given input array
|
||||||
*
|
*
|
||||||
* @param body List of user object
|
* @param body List of user object (optional)
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
def createUsersWithListInput (body: List[User]) = {
|
def createUsersWithListInput (body: List[User]) = {
|
||||||
@ -166,7 +166,7 @@ class UserApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Delete user
|
* Delete user
|
||||||
* This can only be done by the logged in user.
|
* This can only be done by the logged in user.
|
||||||
* @param username The name that needs to be deleted
|
* @param username The name that needs to be deleted
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
def deleteUser (username: String) = {
|
def deleteUser (username: String) = {
|
||||||
@ -215,7 +215,7 @@ class UserApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Get user by user name
|
* Get user by user name
|
||||||
*
|
*
|
||||||
* @param username The name that needs to be fetched. Use user1 for testing.
|
* @param username The name that needs to be fetched. Use user1 for testing.
|
||||||
* @return User
|
* @return User
|
||||||
*/
|
*/
|
||||||
def getUserByName (username: String) : Option[User] = {
|
def getUserByName (username: String) : Option[User] = {
|
||||||
@ -265,8 +265,8 @@ class UserApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Logs user into the system
|
* Logs user into the system
|
||||||
*
|
*
|
||||||
* @param username The user name for login
|
* @param username The user name for login (optional)
|
||||||
* @param password The password for login in clear text
|
* @param password The password for login in clear text (optional)
|
||||||
* @return String
|
* @return String
|
||||||
*/
|
*/
|
||||||
def loginUser (username: String, password: String) : Option[String] = {
|
def loginUser (username: String, password: String) : Option[String] = {
|
||||||
@ -362,8 +362,8 @@ class UserApi(val defBasePath: String = "http://petstore.swagger.io/v2",
|
|||||||
/**
|
/**
|
||||||
* Updated user
|
* Updated user
|
||||||
* This can only be done by the logged in user.
|
* This can only be done by the logged in user.
|
||||||
* @param username name that need to be deleted
|
* @param username name that need to be deleted
|
||||||
* @param body Updated user object
|
* @param body Updated user object (optional)
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
def updateUser (username: String, body: User) = {
|
def updateUser (username: String, body: User) = {
|
||||||
|
@ -15,7 +15,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Add a new pet to the store
|
Add a new pet to the store
|
||||||
|
|
||||||
- parameter body: (body) Pet object that needs to be added to the store
|
- parameter body: (body) Pet object that needs to be added to the store (optional)
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func addPet(body body: Pet?, completion: ((error: ErrorType?) -> Void)) {
|
public class func addPet(body body: Pet?, completion: ((error: ErrorType?) -> Void)) {
|
||||||
@ -28,7 +28,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Add a new pet to the store
|
Add a new pet to the store
|
||||||
|
|
||||||
- parameter body: (body) Pet object that needs to be added to the store
|
- parameter body: (body) Pet object that needs to be added to the store (optional)
|
||||||
- returns: Promise<Void>
|
- returns: Promise<Void>
|
||||||
*/
|
*/
|
||||||
public class func addPet(body body: Pet?) -> Promise<Void> {
|
public class func addPet(body body: Pet?) -> Promise<Void> {
|
||||||
@ -53,7 +53,7 @@ public class PetAPI: APIBase {
|
|||||||
- type: oauth2
|
- type: oauth2
|
||||||
- name: petstore_auth
|
- name: petstore_auth
|
||||||
|
|
||||||
- parameter body: (body) Pet object that needs to be added to the store
|
- parameter body: (body) Pet object that needs to be added to the store (optional)
|
||||||
|
|
||||||
- returns: RequestBuilder<Void>
|
- returns: RequestBuilder<Void>
|
||||||
*/
|
*/
|
||||||
@ -72,7 +72,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
||||||
|
|
||||||
- parameter body: (body) Pet object in the form of byte array
|
- parameter body: (body) Pet object in the form of byte array (optional)
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func addPetUsingByteArray(body body: String?, completion: ((error: ErrorType?) -> Void)) {
|
public class func addPetUsingByteArray(body body: String?, completion: ((error: ErrorType?) -> Void)) {
|
||||||
@ -85,7 +85,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
||||||
|
|
||||||
- parameter body: (body) Pet object in the form of byte array
|
- parameter body: (body) Pet object in the form of byte array (optional)
|
||||||
- returns: Promise<Void>
|
- returns: Promise<Void>
|
||||||
*/
|
*/
|
||||||
public class func addPetUsingByteArray(body body: String?) -> Promise<Void> {
|
public class func addPetUsingByteArray(body body: String?) -> Promise<Void> {
|
||||||
@ -110,7 +110,7 @@ public class PetAPI: APIBase {
|
|||||||
- type: oauth2
|
- type: oauth2
|
||||||
- name: petstore_auth
|
- name: petstore_auth
|
||||||
|
|
||||||
- parameter body: (body) Pet object in the form of byte array
|
- parameter body: (body) Pet object in the form of byte array (optional)
|
||||||
|
|
||||||
- returns: RequestBuilder<Void>
|
- returns: RequestBuilder<Void>
|
||||||
*/
|
*/
|
||||||
@ -129,7 +129,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Deletes a pet
|
Deletes a pet
|
||||||
|
|
||||||
- parameter petId: (path) Pet id to delete
|
- parameter petId: (path) Pet id to delete
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func deletePet(petId petId: Int, completion: ((error: ErrorType?) -> Void)) {
|
public class func deletePet(petId petId: Int, completion: ((error: ErrorType?) -> Void)) {
|
||||||
@ -142,7 +142,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Deletes a pet
|
Deletes a pet
|
||||||
|
|
||||||
- parameter petId: (path) Pet id to delete
|
- parameter petId: (path) Pet id to delete
|
||||||
- returns: Promise<Void>
|
- returns: Promise<Void>
|
||||||
*/
|
*/
|
||||||
public class func deletePet(petId petId: Int) -> Promise<Void> {
|
public class func deletePet(petId petId: Int) -> Promise<Void> {
|
||||||
@ -167,7 +167,7 @@ public class PetAPI: APIBase {
|
|||||||
- type: oauth2
|
- type: oauth2
|
||||||
- name: petstore_auth
|
- name: petstore_auth
|
||||||
|
|
||||||
- parameter petId: (path) Pet id to delete
|
- parameter petId: (path) Pet id to delete
|
||||||
|
|
||||||
- returns: RequestBuilder<Void>
|
- returns: RequestBuilder<Void>
|
||||||
*/
|
*/
|
||||||
@ -188,7 +188,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Finds Pets by status
|
Finds Pets by status
|
||||||
|
|
||||||
- parameter status: (query) Status values that need to be considered for query
|
- parameter status: (query) Status values that need to be considered for query (optional, default to available)
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func findPetsByStatus(status status: [String]?, completion: ((data: [Pet]?, error: ErrorType?) -> Void)) {
|
public class func findPetsByStatus(status status: [String]?, completion: ((data: [Pet]?, error: ErrorType?) -> Void)) {
|
||||||
@ -201,7 +201,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Finds Pets by status
|
Finds Pets by status
|
||||||
|
|
||||||
- parameter status: (query) Status values that need to be considered for query
|
- parameter status: (query) Status values that need to be considered for query (optional, default to available)
|
||||||
- returns: Promise<[Pet]>
|
- returns: Promise<[Pet]>
|
||||||
*/
|
*/
|
||||||
public class func findPetsByStatus(status status: [String]?) -> Promise<[Pet]> {
|
public class func findPetsByStatus(status status: [String]?) -> Promise<[Pet]> {
|
||||||
@ -272,7 +272,7 @@ public class PetAPI: APIBase {
|
|||||||
<status>string</status>
|
<status>string</status>
|
||||||
</Pet>, contentType=application/xml}]
|
</Pet>, contentType=application/xml}]
|
||||||
|
|
||||||
- parameter status: (query) Status values that need to be considered for query
|
- parameter status: (query) Status values that need to be considered for query (optional, default to available)
|
||||||
|
|
||||||
- returns: RequestBuilder<[Pet]>
|
- returns: RequestBuilder<[Pet]>
|
||||||
*/
|
*/
|
||||||
@ -294,7 +294,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Finds Pets by tags
|
Finds Pets by tags
|
||||||
|
|
||||||
- parameter tags: (query) Tags to filter by
|
- parameter tags: (query) Tags to filter by (optional)
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func findPetsByTags(tags tags: [String]?, completion: ((data: [Pet]?, error: ErrorType?) -> Void)) {
|
public class func findPetsByTags(tags tags: [String]?, completion: ((data: [Pet]?, error: ErrorType?) -> Void)) {
|
||||||
@ -307,7 +307,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Finds Pets by tags
|
Finds Pets by tags
|
||||||
|
|
||||||
- parameter tags: (query) Tags to filter by
|
- parameter tags: (query) Tags to filter by (optional)
|
||||||
- returns: Promise<[Pet]>
|
- returns: Promise<[Pet]>
|
||||||
*/
|
*/
|
||||||
public class func findPetsByTags(tags tags: [String]?) -> Promise<[Pet]> {
|
public class func findPetsByTags(tags tags: [String]?) -> Promise<[Pet]> {
|
||||||
@ -378,7 +378,7 @@ public class PetAPI: APIBase {
|
|||||||
<status>string</status>
|
<status>string</status>
|
||||||
</Pet>, contentType=application/xml}]
|
</Pet>, contentType=application/xml}]
|
||||||
|
|
||||||
- parameter tags: (query) Tags to filter by
|
- parameter tags: (query) Tags to filter by (optional)
|
||||||
|
|
||||||
- returns: RequestBuilder<[Pet]>
|
- returns: RequestBuilder<[Pet]>
|
||||||
*/
|
*/
|
||||||
@ -400,7 +400,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Find pet by ID
|
Find pet by ID
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet that needs to be fetched
|
- parameter petId: (path) ID of pet that needs to be fetched
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func getPetById(petId petId: Int, completion: ((data: Pet?, error: ErrorType?) -> Void)) {
|
public class func getPetById(petId petId: Int, completion: ((data: Pet?, error: ErrorType?) -> Void)) {
|
||||||
@ -413,7 +413,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Find pet by ID
|
Find pet by ID
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet that needs to be fetched
|
- parameter petId: (path) ID of pet that needs to be fetched
|
||||||
- returns: Promise<Pet>
|
- returns: Promise<Pet>
|
||||||
*/
|
*/
|
||||||
public class func getPetById(petId petId: Int) -> Promise<Pet> {
|
public class func getPetById(petId petId: Int) -> Promise<Pet> {
|
||||||
@ -487,7 +487,7 @@ public class PetAPI: APIBase {
|
|||||||
<status>string</status>
|
<status>string</status>
|
||||||
</Pet>, contentType=application/xml}]
|
</Pet>, contentType=application/xml}]
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet that needs to be fetched
|
- parameter petId: (path) ID of pet that needs to be fetched
|
||||||
|
|
||||||
- returns: RequestBuilder<Pet>
|
- returns: RequestBuilder<Pet>
|
||||||
*/
|
*/
|
||||||
@ -508,7 +508,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Fake endpoint to test inline arbitrary object return by 'Find pet by ID'
|
Fake endpoint to test inline arbitrary object return by 'Find pet by ID'
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet that needs to be fetched
|
- parameter petId: (path) ID of pet that needs to be fetched
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func getPetByIdInObject(petId petId: Int, completion: ((data: InlineResponse200?, error: ErrorType?) -> Void)) {
|
public class func getPetByIdInObject(petId petId: Int, completion: ((data: InlineResponse200?, error: ErrorType?) -> Void)) {
|
||||||
@ -521,7 +521,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Fake endpoint to test inline arbitrary object return by 'Find pet by ID'
|
Fake endpoint to test inline arbitrary object return by 'Find pet by ID'
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet that needs to be fetched
|
- parameter petId: (path) ID of pet that needs to be fetched
|
||||||
- returns: Promise<InlineResponse200>
|
- returns: Promise<InlineResponse200>
|
||||||
*/
|
*/
|
||||||
public class func getPetByIdInObject(petId petId: Int) -> Promise<InlineResponse200> {
|
public class func getPetByIdInObject(petId petId: Int) -> Promise<InlineResponse200> {
|
||||||
@ -583,7 +583,7 @@ public class PetAPI: APIBase {
|
|||||||
<photoUrls>string</photoUrls>
|
<photoUrls>string</photoUrls>
|
||||||
</null>, contentType=application/xml}]
|
</null>, contentType=application/xml}]
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet that needs to be fetched
|
- parameter petId: (path) ID of pet that needs to be fetched
|
||||||
|
|
||||||
- returns: RequestBuilder<InlineResponse200>
|
- returns: RequestBuilder<InlineResponse200>
|
||||||
*/
|
*/
|
||||||
@ -604,7 +604,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Fake endpoint to test byte array return by 'Find pet by ID'
|
Fake endpoint to test byte array return by 'Find pet by ID'
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet that needs to be fetched
|
- parameter petId: (path) ID of pet that needs to be fetched
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func petPetIdtestingByteArraytrueGet(petId petId: Int, completion: ((data: String?, error: ErrorType?) -> Void)) {
|
public class func petPetIdtestingByteArraytrueGet(petId petId: Int, completion: ((data: String?, error: ErrorType?) -> Void)) {
|
||||||
@ -617,7 +617,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Fake endpoint to test byte array return by 'Find pet by ID'
|
Fake endpoint to test byte array return by 'Find pet by ID'
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet that needs to be fetched
|
- parameter petId: (path) ID of pet that needs to be fetched
|
||||||
- returns: Promise<String>
|
- returns: Promise<String>
|
||||||
*/
|
*/
|
||||||
public class func petPetIdtestingByteArraytrueGet(petId petId: Int) -> Promise<String> {
|
public class func petPetIdtestingByteArraytrueGet(petId petId: Int) -> Promise<String> {
|
||||||
@ -647,7 +647,7 @@ public class PetAPI: APIBase {
|
|||||||
- examples: [{example="", contentType=application/json}, {example=not implemented io.swagger.models.properties.BinaryProperty@55e6ae9e, contentType=application/xml}]
|
- examples: [{example="", contentType=application/json}, {example=not implemented io.swagger.models.properties.BinaryProperty@55e6ae9e, contentType=application/xml}]
|
||||||
- examples: [{example="", contentType=application/json}, {example=not implemented io.swagger.models.properties.BinaryProperty@55e6ae9e, contentType=application/xml}]
|
- examples: [{example="", contentType=application/json}, {example=not implemented io.swagger.models.properties.BinaryProperty@55e6ae9e, contentType=application/xml}]
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet that needs to be fetched
|
- parameter petId: (path) ID of pet that needs to be fetched
|
||||||
|
|
||||||
- returns: RequestBuilder<String>
|
- returns: RequestBuilder<String>
|
||||||
*/
|
*/
|
||||||
@ -668,7 +668,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Update an existing pet
|
Update an existing pet
|
||||||
|
|
||||||
- parameter body: (body) Pet object that needs to be added to the store
|
- parameter body: (body) Pet object that needs to be added to the store (optional)
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func updatePet(body body: Pet?, completion: ((error: ErrorType?) -> Void)) {
|
public class func updatePet(body body: Pet?, completion: ((error: ErrorType?) -> Void)) {
|
||||||
@ -681,7 +681,7 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Update an existing pet
|
Update an existing pet
|
||||||
|
|
||||||
- parameter body: (body) Pet object that needs to be added to the store
|
- parameter body: (body) Pet object that needs to be added to the store (optional)
|
||||||
- returns: Promise<Void>
|
- returns: Promise<Void>
|
||||||
*/
|
*/
|
||||||
public class func updatePet(body body: Pet?) -> Promise<Void> {
|
public class func updatePet(body body: Pet?) -> Promise<Void> {
|
||||||
@ -706,7 +706,7 @@ public class PetAPI: APIBase {
|
|||||||
- type: oauth2
|
- type: oauth2
|
||||||
- name: petstore_auth
|
- name: petstore_auth
|
||||||
|
|
||||||
- parameter body: (body) Pet object that needs to be added to the store
|
- parameter body: (body) Pet object that needs to be added to the store (optional)
|
||||||
|
|
||||||
- returns: RequestBuilder<Void>
|
- returns: RequestBuilder<Void>
|
||||||
*/
|
*/
|
||||||
@ -725,9 +725,9 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Updates a pet in the store with form data
|
Updates a pet in the store with form data
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet that needs to be updated
|
- parameter petId: (path) ID of pet that needs to be updated
|
||||||
- parameter name: (form) Updated name of the pet
|
- parameter name: (form) Updated name of the pet (optional)
|
||||||
- parameter status: (form) Updated status of the pet
|
- parameter status: (form) Updated status of the pet (optional)
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func updatePetWithForm(petId petId: String, name: String?, status: String?, completion: ((error: ErrorType?) -> Void)) {
|
public class func updatePetWithForm(petId petId: String, name: String?, status: String?, completion: ((error: ErrorType?) -> Void)) {
|
||||||
@ -740,9 +740,9 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
Updates a pet in the store with form data
|
Updates a pet in the store with form data
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet that needs to be updated
|
- parameter petId: (path) ID of pet that needs to be updated
|
||||||
- parameter name: (form) Updated name of the pet
|
- parameter name: (form) Updated name of the pet (optional)
|
||||||
- parameter status: (form) Updated status of the pet
|
- parameter status: (form) Updated status of the pet (optional)
|
||||||
- returns: Promise<Void>
|
- returns: Promise<Void>
|
||||||
*/
|
*/
|
||||||
public class func updatePetWithForm(petId petId: String, name: String?, status: String?) -> Promise<Void> {
|
public class func updatePetWithForm(petId petId: String, name: String?, status: String?) -> Promise<Void> {
|
||||||
@ -767,9 +767,9 @@ public class PetAPI: APIBase {
|
|||||||
- type: oauth2
|
- type: oauth2
|
||||||
- name: petstore_auth
|
- name: petstore_auth
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet that needs to be updated
|
- parameter petId: (path) ID of pet that needs to be updated
|
||||||
- parameter name: (form) Updated name of the pet
|
- parameter name: (form) Updated name of the pet (optional)
|
||||||
- parameter status: (form) Updated status of the pet
|
- parameter status: (form) Updated status of the pet (optional)
|
||||||
|
|
||||||
- returns: RequestBuilder<Void>
|
- returns: RequestBuilder<Void>
|
||||||
*/
|
*/
|
||||||
@ -793,9 +793,9 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
uploads an image
|
uploads an image
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet to update
|
- parameter petId: (path) ID of pet to update
|
||||||
- parameter additionalMetadata: (form) Additional data to pass to server
|
- parameter additionalMetadata: (form) Additional data to pass to server (optional)
|
||||||
- parameter _file: (form) file to upload
|
- parameter _file: (form) file to upload (optional)
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func uploadFile(petId petId: Int, additionalMetadata: String?, _file: NSURL?, completion: ((error: ErrorType?) -> Void)) {
|
public class func uploadFile(petId petId: Int, additionalMetadata: String?, _file: NSURL?, completion: ((error: ErrorType?) -> Void)) {
|
||||||
@ -808,9 +808,9 @@ public class PetAPI: APIBase {
|
|||||||
|
|
||||||
uploads an image
|
uploads an image
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet to update
|
- parameter petId: (path) ID of pet to update
|
||||||
- parameter additionalMetadata: (form) Additional data to pass to server
|
- parameter additionalMetadata: (form) Additional data to pass to server (optional)
|
||||||
- parameter _file: (form) file to upload
|
- parameter _file: (form) file to upload (optional)
|
||||||
- returns: Promise<Void>
|
- returns: Promise<Void>
|
||||||
*/
|
*/
|
||||||
public class func uploadFile(petId petId: Int, additionalMetadata: String?, _file: NSURL?) -> Promise<Void> {
|
public class func uploadFile(petId petId: Int, additionalMetadata: String?, _file: NSURL?) -> Promise<Void> {
|
||||||
@ -835,9 +835,9 @@ public class PetAPI: APIBase {
|
|||||||
- type: oauth2
|
- type: oauth2
|
||||||
- name: petstore_auth
|
- name: petstore_auth
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet to update
|
- parameter petId: (path) ID of pet to update
|
||||||
- parameter additionalMetadata: (form) Additional data to pass to server
|
- parameter additionalMetadata: (form) Additional data to pass to server (optional)
|
||||||
- parameter _file: (form) file to upload
|
- parameter _file: (form) file to upload (optional)
|
||||||
|
|
||||||
- returns: RequestBuilder<Void>
|
- returns: RequestBuilder<Void>
|
||||||
*/
|
*/
|
||||||
|
@ -15,7 +15,7 @@ public class StoreAPI: APIBase {
|
|||||||
|
|
||||||
Delete purchase order by ID
|
Delete purchase order by ID
|
||||||
|
|
||||||
- parameter orderId: (path) ID of the order that needs to be deleted
|
- parameter orderId: (path) ID of the order that needs to be deleted
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func deleteOrder(orderId orderId: String, completion: ((error: ErrorType?) -> Void)) {
|
public class func deleteOrder(orderId orderId: String, completion: ((error: ErrorType?) -> Void)) {
|
||||||
@ -28,7 +28,7 @@ public class StoreAPI: APIBase {
|
|||||||
|
|
||||||
Delete purchase order by ID
|
Delete purchase order by ID
|
||||||
|
|
||||||
- parameter orderId: (path) ID of the order that needs to be deleted
|
- parameter orderId: (path) ID of the order that needs to be deleted
|
||||||
- returns: Promise<Void>
|
- returns: Promise<Void>
|
||||||
*/
|
*/
|
||||||
public class func deleteOrder(orderId orderId: String) -> Promise<Void> {
|
public class func deleteOrder(orderId orderId: String) -> Promise<Void> {
|
||||||
@ -50,7 +50,7 @@ public class StoreAPI: APIBase {
|
|||||||
- DELETE /store/order/{orderId}
|
- DELETE /store/order/{orderId}
|
||||||
- For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
- For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||||
|
|
||||||
- parameter orderId: (path) ID of the order that needs to be deleted
|
- parameter orderId: (path) ID of the order that needs to be deleted
|
||||||
|
|
||||||
- returns: RequestBuilder<Void>
|
- returns: RequestBuilder<Void>
|
||||||
*/
|
*/
|
||||||
@ -71,7 +71,7 @@ public class StoreAPI: APIBase {
|
|||||||
|
|
||||||
Finds orders by status
|
Finds orders by status
|
||||||
|
|
||||||
- parameter status: (query) Status value that needs to be considered for query
|
- parameter status: (query) Status value that needs to be considered for query (optional, default to placed)
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func findOrdersByStatus(status status: String?, completion: ((data: [Order]?, error: ErrorType?) -> Void)) {
|
public class func findOrdersByStatus(status status: String?, completion: ((data: [Order]?, error: ErrorType?) -> Void)) {
|
||||||
@ -84,7 +84,7 @@ public class StoreAPI: APIBase {
|
|||||||
|
|
||||||
Finds orders by status
|
Finds orders by status
|
||||||
|
|
||||||
- parameter status: (query) Status value that needs to be considered for query
|
- parameter status: (query) Status value that needs to be considered for query (optional, default to placed)
|
||||||
- returns: Promise<[Order]>
|
- returns: Promise<[Order]>
|
||||||
*/
|
*/
|
||||||
public class func findOrdersByStatus(status status: String?) -> Promise<[Order]> {
|
public class func findOrdersByStatus(status status: String?) -> Promise<[Order]> {
|
||||||
@ -142,7 +142,7 @@ public class StoreAPI: APIBase {
|
|||||||
<complete>true</complete>
|
<complete>true</complete>
|
||||||
</Order>, contentType=application/xml}]
|
</Order>, contentType=application/xml}]
|
||||||
|
|
||||||
- parameter status: (query) Status value that needs to be considered for query
|
- parameter status: (query) Status value that needs to be considered for query (optional, default to placed)
|
||||||
|
|
||||||
- returns: RequestBuilder<[Order]>
|
- returns: RequestBuilder<[Order]>
|
||||||
*/
|
*/
|
||||||
@ -280,7 +280,7 @@ public class StoreAPI: APIBase {
|
|||||||
|
|
||||||
Find purchase order by ID
|
Find purchase order by ID
|
||||||
|
|
||||||
- parameter orderId: (path) ID of pet that needs to be fetched
|
- parameter orderId: (path) ID of pet that needs to be fetched
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func getOrderById(orderId orderId: String, completion: ((data: Order?, error: ErrorType?) -> Void)) {
|
public class func getOrderById(orderId orderId: String, completion: ((data: Order?, error: ErrorType?) -> Void)) {
|
||||||
@ -293,7 +293,7 @@ public class StoreAPI: APIBase {
|
|||||||
|
|
||||||
Find purchase order by ID
|
Find purchase order by ID
|
||||||
|
|
||||||
- parameter orderId: (path) ID of pet that needs to be fetched
|
- parameter orderId: (path) ID of pet that needs to be fetched
|
||||||
- returns: Promise<Order>
|
- returns: Promise<Order>
|
||||||
*/
|
*/
|
||||||
public class func getOrderById(orderId orderId: String) -> Promise<Order> {
|
public class func getOrderById(orderId orderId: String) -> Promise<Order> {
|
||||||
@ -351,7 +351,7 @@ public class StoreAPI: APIBase {
|
|||||||
<complete>true</complete>
|
<complete>true</complete>
|
||||||
</Order>, contentType=application/xml}]
|
</Order>, contentType=application/xml}]
|
||||||
|
|
||||||
- parameter orderId: (path) ID of pet that needs to be fetched
|
- parameter orderId: (path) ID of pet that needs to be fetched
|
||||||
|
|
||||||
- returns: RequestBuilder<Order>
|
- returns: RequestBuilder<Order>
|
||||||
*/
|
*/
|
||||||
@ -372,7 +372,7 @@ public class StoreAPI: APIBase {
|
|||||||
|
|
||||||
Place an order for a pet
|
Place an order for a pet
|
||||||
|
|
||||||
- parameter body: (body) order placed for purchasing the pet
|
- parameter body: (body) order placed for purchasing the pet (optional)
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func placeOrder(body body: Order?, completion: ((data: Order?, error: ErrorType?) -> Void)) {
|
public class func placeOrder(body body: Order?, completion: ((data: Order?, error: ErrorType?) -> Void)) {
|
||||||
@ -385,7 +385,7 @@ public class StoreAPI: APIBase {
|
|||||||
|
|
||||||
Place an order for a pet
|
Place an order for a pet
|
||||||
|
|
||||||
- parameter body: (body) order placed for purchasing the pet
|
- parameter body: (body) order placed for purchasing the pet (optional)
|
||||||
- returns: Promise<Order>
|
- returns: Promise<Order>
|
||||||
*/
|
*/
|
||||||
public class func placeOrder(body body: Order?) -> Promise<Order> {
|
public class func placeOrder(body body: Order?) -> Promise<Order> {
|
||||||
@ -443,7 +443,7 @@ public class StoreAPI: APIBase {
|
|||||||
<complete>true</complete>
|
<complete>true</complete>
|
||||||
</Order>, contentType=application/xml}]
|
</Order>, contentType=application/xml}]
|
||||||
|
|
||||||
- parameter body: (body) order placed for purchasing the pet
|
- parameter body: (body) order placed for purchasing the pet (optional)
|
||||||
|
|
||||||
- returns: RequestBuilder<Order>
|
- returns: RequestBuilder<Order>
|
||||||
*/
|
*/
|
||||||
|
@ -15,7 +15,7 @@ public class UserAPI: APIBase {
|
|||||||
|
|
||||||
Create user
|
Create user
|
||||||
|
|
||||||
- parameter body: (body) Created user object
|
- parameter body: (body) Created user object (optional)
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func createUser(body body: User?, completion: ((error: ErrorType?) -> Void)) {
|
public class func createUser(body body: User?, completion: ((error: ErrorType?) -> Void)) {
|
||||||
@ -28,7 +28,7 @@ public class UserAPI: APIBase {
|
|||||||
|
|
||||||
Create user
|
Create user
|
||||||
|
|
||||||
- parameter body: (body) Created user object
|
- parameter body: (body) Created user object (optional)
|
||||||
- returns: Promise<Void>
|
- returns: Promise<Void>
|
||||||
*/
|
*/
|
||||||
public class func createUser(body body: User?) -> Promise<Void> {
|
public class func createUser(body body: User?) -> Promise<Void> {
|
||||||
@ -50,7 +50,7 @@ public class UserAPI: APIBase {
|
|||||||
- POST /user
|
- POST /user
|
||||||
- This can only be done by the logged in user.
|
- This can only be done by the logged in user.
|
||||||
|
|
||||||
- parameter body: (body) Created user object
|
- parameter body: (body) Created user object (optional)
|
||||||
|
|
||||||
- returns: RequestBuilder<Void>
|
- returns: RequestBuilder<Void>
|
||||||
*/
|
*/
|
||||||
@ -69,7 +69,7 @@ public class UserAPI: APIBase {
|
|||||||
|
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
- parameter body: (body) List of user object
|
- parameter body: (body) List of user object (optional)
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func createUsersWithArrayInput(body body: [User]?, completion: ((error: ErrorType?) -> Void)) {
|
public class func createUsersWithArrayInput(body body: [User]?, completion: ((error: ErrorType?) -> Void)) {
|
||||||
@ -82,7 +82,7 @@ public class UserAPI: APIBase {
|
|||||||
|
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
- parameter body: (body) List of user object
|
- parameter body: (body) List of user object (optional)
|
||||||
- returns: Promise<Void>
|
- returns: Promise<Void>
|
||||||
*/
|
*/
|
||||||
public class func createUsersWithArrayInput(body body: [User]?) -> Promise<Void> {
|
public class func createUsersWithArrayInput(body body: [User]?) -> Promise<Void> {
|
||||||
@ -104,7 +104,7 @@ public class UserAPI: APIBase {
|
|||||||
- POST /user/createWithArray
|
- POST /user/createWithArray
|
||||||
-
|
-
|
||||||
|
|
||||||
- parameter body: (body) List of user object
|
- parameter body: (body) List of user object (optional)
|
||||||
|
|
||||||
- returns: RequestBuilder<Void>
|
- returns: RequestBuilder<Void>
|
||||||
*/
|
*/
|
||||||
@ -123,7 +123,7 @@ public class UserAPI: APIBase {
|
|||||||
|
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
- parameter body: (body) List of user object
|
- parameter body: (body) List of user object (optional)
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func createUsersWithListInput(body body: [User]?, completion: ((error: ErrorType?) -> Void)) {
|
public class func createUsersWithListInput(body body: [User]?, completion: ((error: ErrorType?) -> Void)) {
|
||||||
@ -136,7 +136,7 @@ public class UserAPI: APIBase {
|
|||||||
|
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
- parameter body: (body) List of user object
|
- parameter body: (body) List of user object (optional)
|
||||||
- returns: Promise<Void>
|
- returns: Promise<Void>
|
||||||
*/
|
*/
|
||||||
public class func createUsersWithListInput(body body: [User]?) -> Promise<Void> {
|
public class func createUsersWithListInput(body body: [User]?) -> Promise<Void> {
|
||||||
@ -158,7 +158,7 @@ public class UserAPI: APIBase {
|
|||||||
- POST /user/createWithList
|
- POST /user/createWithList
|
||||||
-
|
-
|
||||||
|
|
||||||
- parameter body: (body) List of user object
|
- parameter body: (body) List of user object (optional)
|
||||||
|
|
||||||
- returns: RequestBuilder<Void>
|
- returns: RequestBuilder<Void>
|
||||||
*/
|
*/
|
||||||
@ -177,7 +177,7 @@ public class UserAPI: APIBase {
|
|||||||
|
|
||||||
Delete user
|
Delete user
|
||||||
|
|
||||||
- parameter username: (path) The name that needs to be deleted
|
- parameter username: (path) The name that needs to be deleted
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func deleteUser(username username: String, completion: ((error: ErrorType?) -> Void)) {
|
public class func deleteUser(username username: String, completion: ((error: ErrorType?) -> Void)) {
|
||||||
@ -190,7 +190,7 @@ public class UserAPI: APIBase {
|
|||||||
|
|
||||||
Delete user
|
Delete user
|
||||||
|
|
||||||
- parameter username: (path) The name that needs to be deleted
|
- parameter username: (path) The name that needs to be deleted
|
||||||
- returns: Promise<Void>
|
- returns: Promise<Void>
|
||||||
*/
|
*/
|
||||||
public class func deleteUser(username username: String) -> Promise<Void> {
|
public class func deleteUser(username username: String) -> Promise<Void> {
|
||||||
@ -215,7 +215,7 @@ public class UserAPI: APIBase {
|
|||||||
- type: basic
|
- type: basic
|
||||||
- name: test_http_basic
|
- name: test_http_basic
|
||||||
|
|
||||||
- parameter username: (path) The name that needs to be deleted
|
- parameter username: (path) The name that needs to be deleted
|
||||||
|
|
||||||
- returns: RequestBuilder<Void>
|
- returns: RequestBuilder<Void>
|
||||||
*/
|
*/
|
||||||
@ -236,7 +236,7 @@ public class UserAPI: APIBase {
|
|||||||
|
|
||||||
Get user by user name
|
Get user by user name
|
||||||
|
|
||||||
- parameter username: (path) The name that needs to be fetched. Use user1 for testing.
|
- parameter username: (path) The name that needs to be fetched. Use user1 for testing.
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func getUserByName(username username: String, completion: ((data: User?, error: ErrorType?) -> Void)) {
|
public class func getUserByName(username username: String, completion: ((data: User?, error: ErrorType?) -> Void)) {
|
||||||
@ -249,7 +249,7 @@ public class UserAPI: APIBase {
|
|||||||
|
|
||||||
Get user by user name
|
Get user by user name
|
||||||
|
|
||||||
- parameter username: (path) The name that needs to be fetched. Use user1 for testing.
|
- parameter username: (path) The name that needs to be fetched. Use user1 for testing.
|
||||||
- returns: Promise<User>
|
- returns: Promise<User>
|
||||||
*/
|
*/
|
||||||
public class func getUserByName(username username: String) -> Promise<User> {
|
public class func getUserByName(username username: String) -> Promise<User> {
|
||||||
@ -281,7 +281,7 @@ public class UserAPI: APIBase {
|
|||||||
"userStatus" : 0
|
"userStatus" : 0
|
||||||
}, contentType=application/json}]
|
}, contentType=application/json}]
|
||||||
|
|
||||||
- parameter username: (path) The name that needs to be fetched. Use user1 for testing.
|
- parameter username: (path) The name that needs to be fetched. Use user1 for testing.
|
||||||
|
|
||||||
- returns: RequestBuilder<User>
|
- returns: RequestBuilder<User>
|
||||||
*/
|
*/
|
||||||
@ -302,8 +302,8 @@ public class UserAPI: APIBase {
|
|||||||
|
|
||||||
Logs user into the system
|
Logs user into the system
|
||||||
|
|
||||||
- parameter username: (query) The user name for login
|
- parameter username: (query) The user name for login (optional)
|
||||||
- parameter password: (query) The password for login in clear text
|
- parameter password: (query) The password for login in clear text (optional)
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func loginUser(username username: String?, password: String?, completion: ((data: String?, error: ErrorType?) -> Void)) {
|
public class func loginUser(username username: String?, password: String?, completion: ((data: String?, error: ErrorType?) -> Void)) {
|
||||||
@ -316,8 +316,8 @@ public class UserAPI: APIBase {
|
|||||||
|
|
||||||
Logs user into the system
|
Logs user into the system
|
||||||
|
|
||||||
- parameter username: (query) The user name for login
|
- parameter username: (query) The user name for login (optional)
|
||||||
- parameter password: (query) The password for login in clear text
|
- parameter password: (query) The password for login in clear text (optional)
|
||||||
- returns: Promise<String>
|
- returns: Promise<String>
|
||||||
*/
|
*/
|
||||||
public class func loginUser(username username: String?, password: String?) -> Promise<String> {
|
public class func loginUser(username username: String?, password: String?) -> Promise<String> {
|
||||||
@ -341,8 +341,8 @@ public class UserAPI: APIBase {
|
|||||||
- examples: [{example="aeiou", contentType=application/json}, {example=string, contentType=application/xml}]
|
- examples: [{example="aeiou", contentType=application/json}, {example=string, contentType=application/xml}]
|
||||||
- examples: [{example="aeiou", contentType=application/json}, {example=string, contentType=application/xml}]
|
- examples: [{example="aeiou", contentType=application/json}, {example=string, contentType=application/xml}]
|
||||||
|
|
||||||
- parameter username: (query) The user name for login
|
- parameter username: (query) The user name for login (optional)
|
||||||
- parameter password: (query) The password for login in clear text
|
- parameter password: (query) The password for login in clear text (optional)
|
||||||
|
|
||||||
- returns: RequestBuilder<String>
|
- returns: RequestBuilder<String>
|
||||||
*/
|
*/
|
||||||
@ -416,8 +416,8 @@ public class UserAPI: APIBase {
|
|||||||
|
|
||||||
Updated user
|
Updated user
|
||||||
|
|
||||||
- parameter username: (path) name that need to be deleted
|
- parameter username: (path) name that need to be deleted
|
||||||
- parameter body: (body) Updated user object
|
- parameter body: (body) Updated user object (optional)
|
||||||
- parameter completion: completion handler to receive the data and the error objects
|
- parameter completion: completion handler to receive the data and the error objects
|
||||||
*/
|
*/
|
||||||
public class func updateUser(username username: String, body: User?, completion: ((error: ErrorType?) -> Void)) {
|
public class func updateUser(username username: String, body: User?, completion: ((error: ErrorType?) -> Void)) {
|
||||||
@ -430,8 +430,8 @@ public class UserAPI: APIBase {
|
|||||||
|
|
||||||
Updated user
|
Updated user
|
||||||
|
|
||||||
- parameter username: (path) name that need to be deleted
|
- parameter username: (path) name that need to be deleted
|
||||||
- parameter body: (body) Updated user object
|
- parameter body: (body) Updated user object (optional)
|
||||||
- returns: Promise<Void>
|
- returns: Promise<Void>
|
||||||
*/
|
*/
|
||||||
public class func updateUser(username username: String, body: User?) -> Promise<Void> {
|
public class func updateUser(username username: String, body: User?) -> Promise<Void> {
|
||||||
@ -453,8 +453,8 @@ public class UserAPI: APIBase {
|
|||||||
- PUT /user/{username}
|
- PUT /user/{username}
|
||||||
- This can only be done by the logged in user.
|
- This can only be done by the logged in user.
|
||||||
|
|
||||||
- parameter username: (path) name that need to be deleted
|
- parameter username: (path) name that need to be deleted
|
||||||
- parameter body: (body) Updated user object
|
- parameter body: (body) Updated user object (optional)
|
||||||
|
|
||||||
- returns: RequestBuilder<Void>
|
- returns: RequestBuilder<Void>
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user