forked from loafle/openapi-generator-original
show return in doc only if it has a return
This commit is contained in:
parent
2e76b56f30
commit
4d6dbf7d92
@ -17,14 +17,14 @@ namespace {{packageName}}.Api {
|
|||||||
/// {{summary}} {{notes}}
|
/// {{summary}} {{notes}}
|
||||||
/// </summary>
|
/// </summary>
|
||||||
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
||||||
{{/allParams}}/// <returns>{{#returnType}}{{{returnType}}}{{/returnType}}</returns>
|
{{/allParams}}{{#returnType}}/// <returns>{{{returnType}}}</returns>{{/returnType}}
|
||||||
{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{nickname}} ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
|
{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{nickname}} ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// {{summary}} {{notes}}
|
/// {{summary}} {{notes}}
|
||||||
/// </summary>
|
/// </summary>
|
||||||
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
||||||
{{/allParams}}/// <returns>{{#returnType}}{{{returnType}}}{{/returnType}}</returns>
|
{{/allParams}}{{#returnType}}/// <returns>{{{returnType}}}</returns>{{/returnType}}
|
||||||
{{#returnType}}Task<{{{returnType}}}>{{/returnType}}{{^returnType}}Task{{/returnType}} {{nickname}}Async ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
|
{{#returnType}}Task<{{{returnType}}}>{{/returnType}}{{^returnType}}Task{{/returnType}} {{nickname}}Async ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
|
||||||
{{/operation}}
|
{{/operation}}
|
||||||
}
|
}
|
||||||
@ -37,7 +37,7 @@ namespace {{packageName}}.Api {
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="{{classname}}"/> class.
|
/// Initializes a new instance of the <see cref="{{classname}}"/> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="apiClient"> an instance of ApiClient (optional)
|
/// <param name="apiClient"> an instance of ApiClient (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public {{classname}}(ApiClient apiClient = null) {
|
public {{classname}}(ApiClient apiClient = null) {
|
||||||
if (apiClient == null) { // use the default one in Configuration
|
if (apiClient == null) { // use the default one in Configuration
|
||||||
@ -84,7 +84,7 @@ namespace {{packageName}}.Api {
|
|||||||
/// {{summary}} {{notes}}
|
/// {{summary}} {{notes}}
|
||||||
/// </summary>
|
/// </summary>
|
||||||
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
||||||
{{/allParams}}/// <returns>{{#returnType}}{{{returnType}}}{{/returnType}}</returns>
|
{{/allParams}}{{#returnType}}/// <returns>{{{returnType}}}</returns>{{/returnType}}
|
||||||
public {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{nickname}} ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) {
|
public {{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/returnType}} {{nickname}} ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) {
|
||||||
|
|
||||||
{{#allParams}}{{#required}}
|
{{#allParams}}{{#required}}
|
||||||
@ -132,7 +132,7 @@ namespace {{packageName}}.Api {
|
|||||||
/// {{summary}} {{notes}}
|
/// {{summary}} {{notes}}
|
||||||
/// </summary>
|
/// </summary>
|
||||||
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
{{#allParams}}/// <param name="{{paramName}}">{{description}}</param>
|
||||||
{{/allParams}}/// <returns>{{#returnType}}{{{returnType}}}{{/returnType}}</returns>
|
{{/allParams}}{{#returnType}}/// <returns>{{{returnType}}}</returns>{{/returnType}}
|
||||||
public async {{#returnType}}Task<{{{returnType}}}>{{/returnType}}{{^returnType}}Task{{/returnType}} {{nickname}}Async ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) {
|
public async {{#returnType}}Task<{{{returnType}}}>{{/returnType}}{{^returnType}}Task{{/returnType}} {{nickname}}Async ({{#allParams}}{{{dataType}}} {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) {
|
||||||
|
|
||||||
{{#allParams}}{{#required}}
|
{{#allParams}}{{#required}}
|
||||||
|
@ -15,28 +15,28 @@ namespace IO.Swagger.Api {
|
|||||||
/// Update an existing pet
|
/// Update an existing pet
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <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</param>
|
||||||
/// <returns></returns>
|
|
||||||
void UpdatePet (Pet body);
|
void UpdatePet (Pet body);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Update an existing pet
|
/// Update an existing pet
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <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</param>
|
||||||
/// <returns></returns>
|
|
||||||
Task UpdatePetAsync (Pet body);
|
Task UpdatePetAsync (Pet body);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Add a new pet to the store
|
/// Add a new pet to the store
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <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</param>
|
||||||
/// <returns></returns>
|
|
||||||
void AddPet (Pet body);
|
void AddPet (Pet body);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Add a new pet to the store
|
/// Add a new pet to the store
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <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</param>
|
||||||
/// <returns></returns>
|
|
||||||
Task AddPetAsync (Pet body);
|
Task AddPetAsync (Pet body);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -87,7 +87,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// <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</param>
|
||||||
/// <param name="status">Updated status of the pet</param>
|
/// <param name="status">Updated status of the pet</param>
|
||||||
/// <returns></returns>
|
|
||||||
void UpdatePetWithForm (string petId, string name, string status);
|
void UpdatePetWithForm (string petId, string name, string status);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -96,7 +96,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// <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</param>
|
||||||
/// <param name="status">Updated status of the pet</param>
|
/// <param name="status">Updated status of the pet</param>
|
||||||
/// <returns></returns>
|
|
||||||
Task UpdatePetWithFormAsync (string petId, string name, string status);
|
Task UpdatePetWithFormAsync (string petId, string name, string status);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -104,7 +104,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="apiKey"></param>
|
/// <param name="apiKey"></param>
|
||||||
/// <param name="petId">Pet id to delete</param>
|
/// <param name="petId">Pet id to delete</param>
|
||||||
/// <returns></returns>
|
|
||||||
void DeletePet (string apiKey, long? petId);
|
void DeletePet (string apiKey, long? petId);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -112,7 +112,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="apiKey"></param>
|
/// <param name="apiKey"></param>
|
||||||
/// <param name="petId">Pet id to delete</param>
|
/// <param name="petId">Pet id to delete</param>
|
||||||
/// <returns></returns>
|
|
||||||
Task DeletePetAsync (string apiKey, long? petId);
|
Task DeletePetAsync (string apiKey, long? petId);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -121,7 +121,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// <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</param>
|
||||||
/// <param name="file">file to upload</param>
|
/// <param name="file">file to upload</param>
|
||||||
/// <returns></returns>
|
|
||||||
void UploadFile (long? petId, string additionalMetadata, String file);
|
void UploadFile (long? petId, string additionalMetadata, String file);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -130,7 +130,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// <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</param>
|
||||||
/// <param name="file">file to upload</param>
|
/// <param name="file">file to upload</param>
|
||||||
/// <returns></returns>
|
|
||||||
Task UploadFileAsync (long? petId, string additionalMetadata, String file);
|
Task UploadFileAsync (long? petId, string additionalMetadata, String file);
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -143,7 +143,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="PetApi"/> class.
|
/// Initializes a new instance of the <see cref="PetApi"/> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="apiClient"> an instance of ApiClient (optional)
|
/// <param name="apiClient"> an instance of ApiClient (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public PetApi(ApiClient apiClient = null) {
|
public PetApi(ApiClient apiClient = null) {
|
||||||
if (apiClient == null) { // use the default one in Configuration
|
if (apiClient == null) { // use the default one in Configuration
|
||||||
@ -190,7 +190,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// Update an existing pet
|
/// Update an existing pet
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <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</param>
|
||||||
/// <returns></returns>
|
|
||||||
public void UpdatePet (Pet body) {
|
public void UpdatePet (Pet body) {
|
||||||
|
|
||||||
|
|
||||||
@ -228,7 +228,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// Update an existing pet
|
/// Update an existing pet
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <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</param>
|
||||||
/// <returns></returns>
|
|
||||||
public async Task UpdatePetAsync (Pet body) {
|
public async Task UpdatePetAsync (Pet body) {
|
||||||
|
|
||||||
|
|
||||||
@ -265,7 +265,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// Add a new pet to the store
|
/// Add a new pet to the store
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <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</param>
|
||||||
/// <returns></returns>
|
|
||||||
public void AddPet (Pet body) {
|
public void AddPet (Pet body) {
|
||||||
|
|
||||||
|
|
||||||
@ -303,7 +303,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// Add a new pet to the store
|
/// Add a new pet to the store
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <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</param>
|
||||||
/// <returns></returns>
|
|
||||||
public async Task AddPetAsync (Pet body) {
|
public async Task AddPetAsync (Pet body) {
|
||||||
|
|
||||||
|
|
||||||
@ -579,7 +579,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// <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</param>
|
||||||
/// <param name="status">Updated status of the pet</param>
|
/// <param name="status">Updated status of the pet</param>
|
||||||
/// <returns></returns>
|
|
||||||
public void UpdatePetWithForm (string petId, string name, string status) {
|
public void UpdatePetWithForm (string petId, string name, string status) {
|
||||||
|
|
||||||
|
|
||||||
@ -624,7 +624,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// <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</param>
|
||||||
/// <param name="status">Updated status of the pet</param>
|
/// <param name="status">Updated status of the pet</param>
|
||||||
/// <returns></returns>
|
|
||||||
public async Task UpdatePetWithFormAsync (string petId, string name, string status) {
|
public async Task UpdatePetWithFormAsync (string petId, string name, string status) {
|
||||||
|
|
||||||
|
|
||||||
@ -667,7 +667,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="apiKey"></param>
|
/// <param name="apiKey"></param>
|
||||||
/// <param name="petId">Pet id to delete</param>
|
/// <param name="petId">Pet id to delete</param>
|
||||||
/// <returns></returns>
|
|
||||||
public void DeletePet (string apiKey, long? petId) {
|
public void DeletePet (string apiKey, long? petId) {
|
||||||
|
|
||||||
|
|
||||||
@ -710,7 +710,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="apiKey"></param>
|
/// <param name="apiKey"></param>
|
||||||
/// <param name="petId">Pet id to delete</param>
|
/// <param name="petId">Pet id to delete</param>
|
||||||
/// <returns></returns>
|
|
||||||
public async Task DeletePetAsync (string apiKey, long? petId) {
|
public async Task DeletePetAsync (string apiKey, long? petId) {
|
||||||
|
|
||||||
|
|
||||||
@ -753,7 +753,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// <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</param>
|
||||||
/// <param name="file">file to upload</param>
|
/// <param name="file">file to upload</param>
|
||||||
/// <returns></returns>
|
|
||||||
public void UploadFile (long? petId, string additionalMetadata, String file) {
|
public void UploadFile (long? petId, string additionalMetadata, String file) {
|
||||||
|
|
||||||
|
|
||||||
@ -798,7 +798,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// <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</param>
|
||||||
/// <param name="file">file to upload</param>
|
/// <param name="file">file to upload</param>
|
||||||
/// <returns></returns>
|
|
||||||
public async Task UploadFileAsync (long? petId, string additionalMetadata, String file) {
|
public async Task UploadFileAsync (long? petId, string additionalMetadata, String file) {
|
||||||
|
|
||||||
|
|
||||||
|
@ -55,14 +55,14 @@ namespace IO.Swagger.Api {
|
|||||||
/// Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
/// Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
||||||
/// <returns></returns>
|
|
||||||
void DeleteOrder (string orderId);
|
void DeleteOrder (string orderId);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
/// Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
||||||
/// <returns></returns>
|
|
||||||
Task DeleteOrderAsync (string orderId);
|
Task DeleteOrderAsync (string orderId);
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -75,7 +75,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="StoreApi"/> class.
|
/// Initializes a new instance of the <see cref="StoreApi"/> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="apiClient"> an instance of ApiClient (optional)
|
/// <param name="apiClient"> an instance of ApiClient (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public StoreApi(ApiClient apiClient = null) {
|
public StoreApi(ApiClient apiClient = null) {
|
||||||
if (apiClient == null) { // use the default one in Configuration
|
if (apiClient == null) { // use the default one in Configuration
|
||||||
@ -355,7 +355,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
/// Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
||||||
/// <returns></returns>
|
|
||||||
public void DeleteOrder (string orderId) {
|
public void DeleteOrder (string orderId) {
|
||||||
|
|
||||||
|
|
||||||
@ -396,7 +396,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
/// Delete purchase order by ID For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
/// <param name="orderId">ID of the order that needs to be deleted</param>
|
||||||
/// <returns></returns>
|
|
||||||
public async Task DeleteOrderAsync (string orderId) {
|
public async Task DeleteOrderAsync (string orderId) {
|
||||||
|
|
||||||
|
|
||||||
|
@ -15,42 +15,42 @@ 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>
|
||||||
/// <param name="body">Created user object</param>
|
/// <param name="body">Created user object</param>
|
||||||
/// <returns></returns>
|
|
||||||
void CreateUser (User body);
|
void CreateUser (User body);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 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>
|
||||||
/// <param name="body">Created user object</param>
|
/// <param name="body">Created user object</param>
|
||||||
/// <returns></returns>
|
|
||||||
Task CreateUserAsync (User body);
|
Task CreateUserAsync (User body);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object</param>
|
||||||
/// <returns></returns>
|
|
||||||
void CreateUsersWithArrayInput (List<User> body);
|
void CreateUsersWithArrayInput (List<User> body);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object</param>
|
||||||
/// <returns></returns>
|
|
||||||
Task CreateUsersWithArrayInputAsync (List<User> body);
|
Task CreateUsersWithArrayInputAsync (List<User> body);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object</param>
|
||||||
/// <returns></returns>
|
|
||||||
void CreateUsersWithListInput (List<User> body);
|
void CreateUsersWithListInput (List<User> body);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object</param>
|
||||||
/// <returns></returns>
|
|
||||||
Task CreateUsersWithListInputAsync (List<User> body);
|
Task CreateUsersWithListInputAsync (List<User> body);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -72,13 +72,13 @@ namespace IO.Swagger.Api {
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Logs out current logged in user session
|
/// Logs out current logged in user session
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
|
||||||
void LogoutUser ();
|
void LogoutUser ();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Logs out current logged in user session
|
/// Logs out current logged in user session
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
|
||||||
Task LogoutUserAsync ();
|
Task LogoutUserAsync ();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -100,7 +100,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <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</param>
|
||||||
/// <returns></returns>
|
|
||||||
void UpdateUser (string username, User body);
|
void UpdateUser (string username, User body);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -108,21 +108,21 @@ namespace IO.Swagger.Api {
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <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</param>
|
||||||
/// <returns></returns>
|
|
||||||
Task UpdateUserAsync (string username, User body);
|
Task UpdateUserAsync (string username, User body);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Delete user This can only be done by the logged in user.
|
/// Delete user This can only be done by the logged in user.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="username">The name that needs to be deleted</param>
|
/// <param name="username">The name that needs to be deleted</param>
|
||||||
/// <returns></returns>
|
|
||||||
void DeleteUser (string username);
|
void DeleteUser (string username);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Delete user This can only be done by the logged in user.
|
/// Delete user This can only be done by the logged in user.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="username">The name that needs to be deleted</param>
|
/// <param name="username">The name that needs to be deleted</param>
|
||||||
/// <returns></returns>
|
|
||||||
Task DeleteUserAsync (string username);
|
Task DeleteUserAsync (string username);
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -135,7 +135,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes a new instance of the <see cref="UserApi"/> class.
|
/// Initializes a new instance of the <see cref="UserApi"/> class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="apiClient"> an instance of ApiClient (optional)
|
/// <param name="apiClient"> an instance of ApiClient (optional)</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public UserApi(ApiClient apiClient = null) {
|
public UserApi(ApiClient apiClient = null) {
|
||||||
if (apiClient == null) { // use the default one in Configuration
|
if (apiClient == null) { // use the default one in Configuration
|
||||||
@ -182,7 +182,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>
|
||||||
/// <param name="body">Created user object</param>
|
/// <param name="body">Created user object</param>
|
||||||
/// <returns></returns>
|
|
||||||
public void CreateUser (User body) {
|
public void CreateUser (User body) {
|
||||||
|
|
||||||
|
|
||||||
@ -220,7 +220,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>
|
||||||
/// <param name="body">Created user object</param>
|
/// <param name="body">Created user object</param>
|
||||||
/// <returns></returns>
|
|
||||||
public async Task CreateUserAsync (User body) {
|
public async Task CreateUserAsync (User body) {
|
||||||
|
|
||||||
|
|
||||||
@ -257,7 +257,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object</param>
|
||||||
/// <returns></returns>
|
|
||||||
public void CreateUsersWithArrayInput (List<User> body) {
|
public void CreateUsersWithArrayInput (List<User> body) {
|
||||||
|
|
||||||
|
|
||||||
@ -295,7 +295,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object</param>
|
||||||
/// <returns></returns>
|
|
||||||
public async Task CreateUsersWithArrayInputAsync (List<User> body) {
|
public async Task CreateUsersWithArrayInputAsync (List<User> body) {
|
||||||
|
|
||||||
|
|
||||||
@ -332,7 +332,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object</param>
|
||||||
/// <returns></returns>
|
|
||||||
public void CreateUsersWithListInput (List<User> body) {
|
public void CreateUsersWithListInput (List<User> body) {
|
||||||
|
|
||||||
|
|
||||||
@ -370,7 +370,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// Creates list of users with given input array
|
/// Creates list of users with given input array
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="body">List of user object</param>
|
/// <param name="body">List of user object</param>
|
||||||
/// <returns></returns>
|
|
||||||
public async Task CreateUsersWithListInputAsync (List<User> body) {
|
public async Task CreateUsersWithListInputAsync (List<User> body) {
|
||||||
|
|
||||||
|
|
||||||
@ -487,7 +487,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Logs out current logged in user session
|
/// Logs out current logged in user session
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
|
||||||
public void LogoutUser () {
|
public void LogoutUser () {
|
||||||
|
|
||||||
|
|
||||||
@ -523,7 +523,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Logs out current logged in user session
|
/// Logs out current logged in user session
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
|
||||||
public async Task LogoutUserAsync () {
|
public async Task LogoutUserAsync () {
|
||||||
|
|
||||||
|
|
||||||
@ -643,7 +643,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <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</param>
|
||||||
/// <returns></returns>
|
|
||||||
public void UpdateUser (string username, User body) {
|
public void UpdateUser (string username, User body) {
|
||||||
|
|
||||||
|
|
||||||
@ -686,7 +686,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <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</param>
|
||||||
/// <returns></returns>
|
|
||||||
public async Task UpdateUserAsync (string username, User body) {
|
public async Task UpdateUserAsync (string username, User body) {
|
||||||
|
|
||||||
|
|
||||||
@ -727,7 +727,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// Delete user This can only be done by the logged in user.
|
/// Delete user This can only be done by the logged in user.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="username">The name that needs to be deleted</param>
|
/// <param name="username">The name that needs to be deleted</param>
|
||||||
/// <returns></returns>
|
|
||||||
public void DeleteUser (string username) {
|
public void DeleteUser (string username) {
|
||||||
|
|
||||||
|
|
||||||
@ -768,7 +768,7 @@ namespace IO.Swagger.Api {
|
|||||||
/// Delete user This can only be done by the logged in user.
|
/// Delete user This can only be done by the logged in user.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="username">The name that needs to be deleted</param>
|
/// <param name="username">The name that needs to be deleted</param>
|
||||||
/// <returns></returns>
|
|
||||||
public async Task DeleteUserAsync (string username) {
|
public async Task DeleteUserAsync (string username) {
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user