forked from loafle/openapi-generator-original
Add newline between function signature of operation and summary of operation (#4112)
* Add newline after function signature * update Petstore * [go] Add newline after function signature * update petstore
This commit is contained in:
parent
450153d4e0
commit
3693d60840
@ -15,6 +15,7 @@ Method | HTTP request | Description
|
|||||||
## {{{operationId}}}
|
## {{{operationId}}}
|
||||||
|
|
||||||
> {{#returnType}}{{{returnType}}} {{/returnType}}{{{operationId}}}(ctx, {{#allParams}}{{#required}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/required}}{{/allParams}}{{#hasOptionalParams}}optional{{/hasOptionalParams}})
|
> {{#returnType}}{{{returnType}}} {{/returnType}}{{{operationId}}}(ctx, {{#allParams}}{{#required}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/required}}{{/allParams}}{{#hasOptionalParams}}optional{{/hasOptionalParams}})
|
||||||
|
|
||||||
{{{summary}}}{{#notes}}
|
{{{summary}}}{{#notes}}
|
||||||
|
|
||||||
{{{notes}}}{{/notes}}
|
{{{notes}}}{{/notes}}
|
||||||
|
@ -15,6 +15,7 @@ Method | HTTP request | Description
|
|||||||
## {{{operationId}}}
|
## {{{operationId}}}
|
||||||
|
|
||||||
> {{#returnType}}{{{returnType}}} {{/returnType}}{{{operationId}}}(ctx, {{#allParams}}{{#required}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/required}}{{/allParams}}{{#hasOptionalParams}}optional{{/hasOptionalParams}})
|
> {{#returnType}}{{{returnType}}} {{/returnType}}{{{operationId}}}(ctx, {{#allParams}}{{#required}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/required}}{{/allParams}}{{#hasOptionalParams}}optional{{/hasOptionalParams}})
|
||||||
|
|
||||||
{{{summary}}}{{#notes}}
|
{{{summary}}}{{#notes}}
|
||||||
|
|
||||||
{{{notes}}}{{/notes}}
|
{{{notes}}}{{/notes}}
|
||||||
|
@ -11,6 +11,7 @@ Method | HTTP request | Description
|
|||||||
## Call123TestSpecialTags
|
## Call123TestSpecialTags
|
||||||
|
|
||||||
> Client Call123TestSpecialTags(ctx, body)
|
> Client Call123TestSpecialTags(ctx, body)
|
||||||
|
|
||||||
To test special tags
|
To test special tags
|
||||||
|
|
||||||
To test special tags and operation ID starting with number
|
To test special tags and operation ID starting with number
|
||||||
|
@ -24,6 +24,7 @@ Method | HTTP request | Description
|
|||||||
## CreateXmlItem
|
## CreateXmlItem
|
||||||
|
|
||||||
> CreateXmlItem(ctx, xmlItem)
|
> CreateXmlItem(ctx, xmlItem)
|
||||||
|
|
||||||
creates an XmlItem
|
creates an XmlItem
|
||||||
|
|
||||||
this route creates an XmlItem
|
this route creates an XmlItem
|
||||||
@ -59,6 +60,7 @@ No authorization required
|
|||||||
> bool FakeOuterBooleanSerialize(ctx, optional)
|
> bool FakeOuterBooleanSerialize(ctx, optional)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Test serialization of outer boolean types
|
Test serialization of outer boolean types
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -101,6 +103,7 @@ No authorization required
|
|||||||
> OuterComposite FakeOuterCompositeSerialize(ctx, optional)
|
> OuterComposite FakeOuterCompositeSerialize(ctx, optional)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Test serialization of object with outer number type
|
Test serialization of object with outer number type
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -143,6 +146,7 @@ No authorization required
|
|||||||
> float32 FakeOuterNumberSerialize(ctx, optional)
|
> float32 FakeOuterNumberSerialize(ctx, optional)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Test serialization of outer number types
|
Test serialization of outer number types
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -185,6 +189,7 @@ No authorization required
|
|||||||
> string FakeOuterStringSerialize(ctx, optional)
|
> string FakeOuterStringSerialize(ctx, optional)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Test serialization of outer string types
|
Test serialization of outer string types
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -227,6 +232,7 @@ No authorization required
|
|||||||
> TestBodyWithFileSchema(ctx, body)
|
> TestBodyWithFileSchema(ctx, body)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
For this test, the body for this request much reference a schema named `File`.
|
For this test, the body for this request much reference a schema named `File`.
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -260,6 +266,7 @@ No authorization required
|
|||||||
> TestBodyWithQueryParams(ctx, query, body)
|
> TestBodyWithQueryParams(ctx, query, body)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
|
||||||
|
|
||||||
@ -290,6 +297,7 @@ No authorization required
|
|||||||
## TestClientModel
|
## TestClientModel
|
||||||
|
|
||||||
> Client TestClientModel(ctx, body)
|
> Client TestClientModel(ctx, body)
|
||||||
|
|
||||||
To test \"client\" model
|
To test \"client\" model
|
||||||
|
|
||||||
To test \"client\" model
|
To test \"client\" model
|
||||||
@ -323,6 +331,7 @@ No authorization required
|
|||||||
## TestEndpointParameters
|
## TestEndpointParameters
|
||||||
|
|
||||||
> TestEndpointParameters(ctx, number, double, patternWithoutDelimiter, byte_, optional)
|
> TestEndpointParameters(ctx, number, double, patternWithoutDelimiter, byte_, optional)
|
||||||
|
|
||||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||||
|
|
||||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||||
@ -382,6 +391,7 @@ Name | Type | Description | Notes
|
|||||||
## TestEnumParameters
|
## TestEnumParameters
|
||||||
|
|
||||||
> TestEnumParameters(ctx, optional)
|
> TestEnumParameters(ctx, optional)
|
||||||
|
|
||||||
To test enum parameters
|
To test enum parameters
|
||||||
|
|
||||||
To test enum parameters
|
To test enum parameters
|
||||||
@ -431,6 +441,7 @@ No authorization required
|
|||||||
## TestGroupParameters
|
## TestGroupParameters
|
||||||
|
|
||||||
> TestGroupParameters(ctx, requiredStringGroup, requiredBooleanGroup, requiredInt64Group, optional)
|
> TestGroupParameters(ctx, requiredStringGroup, requiredBooleanGroup, requiredInt64Group, optional)
|
||||||
|
|
||||||
Fake endpoint to test group parameters (optional)
|
Fake endpoint to test group parameters (optional)
|
||||||
|
|
||||||
Fake endpoint to test group parameters (optional)
|
Fake endpoint to test group parameters (optional)
|
||||||
@ -481,6 +492,7 @@ No authorization required
|
|||||||
## TestInlineAdditionalProperties
|
## TestInlineAdditionalProperties
|
||||||
|
|
||||||
> TestInlineAdditionalProperties(ctx, param)
|
> TestInlineAdditionalProperties(ctx, param)
|
||||||
|
|
||||||
test inline additionalProperties
|
test inline additionalProperties
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -512,6 +524,7 @@ No authorization required
|
|||||||
## TestJsonFormData
|
## TestJsonFormData
|
||||||
|
|
||||||
> TestJsonFormData(ctx, param, param2)
|
> TestJsonFormData(ctx, param, param2)
|
||||||
|
|
||||||
test json serialization of form data
|
test json serialization of form data
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -546,6 +559,7 @@ No authorization required
|
|||||||
> TestQueryParameterCollectionFormat(ctx, pipe, ioutil, http, url, context)
|
> TestQueryParameterCollectionFormat(ctx, pipe, ioutil, http, url, context)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
To test the collection format in query parameters
|
To test the collection format in query parameters
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
@ -11,6 +11,7 @@ Method | HTTP request | Description
|
|||||||
## TestClassname
|
## TestClassname
|
||||||
|
|
||||||
> Client TestClassname(ctx, body)
|
> Client TestClassname(ctx, body)
|
||||||
|
|
||||||
To test class name in snake case
|
To test class name in snake case
|
||||||
|
|
||||||
To test class name in snake case
|
To test class name in snake case
|
||||||
|
@ -19,6 +19,7 @@ Method | HTTP request | Description
|
|||||||
## AddPet
|
## AddPet
|
||||||
|
|
||||||
> AddPet(ctx, body)
|
> AddPet(ctx, body)
|
||||||
|
|
||||||
Add a new pet to the store
|
Add a new pet to the store
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -50,6 +51,7 @@ Name | Type | Description | Notes
|
|||||||
## DeletePet
|
## DeletePet
|
||||||
|
|
||||||
> DeletePet(ctx, petId, optional)
|
> DeletePet(ctx, petId, optional)
|
||||||
|
|
||||||
Deletes a pet
|
Deletes a pet
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -92,6 +94,7 @@ Name | Type | Description | Notes
|
|||||||
## FindPetsByStatus
|
## FindPetsByStatus
|
||||||
|
|
||||||
> []Pet FindPetsByStatus(ctx, status)
|
> []Pet FindPetsByStatus(ctx, status)
|
||||||
|
|
||||||
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
|
||||||
@ -125,6 +128,7 @@ Name | Type | Description | Notes
|
|||||||
## FindPetsByTags
|
## FindPetsByTags
|
||||||
|
|
||||||
> []Pet FindPetsByTags(ctx, tags)
|
> []Pet FindPetsByTags(ctx, tags)
|
||||||
|
|
||||||
Finds Pets by tags
|
Finds Pets by tags
|
||||||
|
|
||||||
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
||||||
@ -158,6 +162,7 @@ Name | Type | Description | Notes
|
|||||||
## GetPetById
|
## GetPetById
|
||||||
|
|
||||||
> Pet GetPetById(ctx, petId)
|
> Pet GetPetById(ctx, petId)
|
||||||
|
|
||||||
Find pet by ID
|
Find pet by ID
|
||||||
|
|
||||||
Returns a single pet
|
Returns a single pet
|
||||||
@ -191,6 +196,7 @@ Name | Type | Description | Notes
|
|||||||
## UpdatePet
|
## UpdatePet
|
||||||
|
|
||||||
> UpdatePet(ctx, body)
|
> UpdatePet(ctx, body)
|
||||||
|
|
||||||
Update an existing pet
|
Update an existing pet
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -222,6 +228,7 @@ Name | Type | Description | Notes
|
|||||||
## UpdatePetWithForm
|
## UpdatePetWithForm
|
||||||
|
|
||||||
> UpdatePetWithForm(ctx, petId, optional)
|
> UpdatePetWithForm(ctx, petId, optional)
|
||||||
|
|
||||||
Updates a pet in the store with form data
|
Updates a pet in the store with form data
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -265,6 +272,7 @@ Name | Type | Description | Notes
|
|||||||
## UploadFile
|
## UploadFile
|
||||||
|
|
||||||
> ApiResponse UploadFile(ctx, petId, optional)
|
> ApiResponse UploadFile(ctx, petId, optional)
|
||||||
|
|
||||||
uploads an image
|
uploads an image
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -308,6 +316,7 @@ Name | Type | Description | Notes
|
|||||||
## UploadFileWithRequiredFile
|
## UploadFileWithRequiredFile
|
||||||
|
|
||||||
> ApiResponse UploadFileWithRequiredFile(ctx, petId, requiredFile, optional)
|
> ApiResponse UploadFileWithRequiredFile(ctx, petId, requiredFile, optional)
|
||||||
|
|
||||||
uploads an image (required)
|
uploads an image (required)
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
@ -14,6 +14,7 @@ Method | HTTP request | Description
|
|||||||
## DeleteOrder
|
## DeleteOrder
|
||||||
|
|
||||||
> DeleteOrder(ctx, orderId)
|
> DeleteOrder(ctx, orderId)
|
||||||
|
|
||||||
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
|
||||||
@ -47,6 +48,7 @@ No authorization required
|
|||||||
## GetInventory
|
## GetInventory
|
||||||
|
|
||||||
> map[string]int32 GetInventory(ctx, )
|
> map[string]int32 GetInventory(ctx, )
|
||||||
|
|
||||||
Returns pet inventories by status
|
Returns pet inventories by status
|
||||||
|
|
||||||
Returns a map of status codes to quantities
|
Returns a map of status codes to quantities
|
||||||
@ -76,6 +78,7 @@ This endpoint does not need any parameter.
|
|||||||
## GetOrderById
|
## GetOrderById
|
||||||
|
|
||||||
> Order GetOrderById(ctx, orderId)
|
> Order GetOrderById(ctx, orderId)
|
||||||
|
|
||||||
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
|
||||||
@ -109,6 +112,7 @@ No authorization required
|
|||||||
## PlaceOrder
|
## PlaceOrder
|
||||||
|
|
||||||
> Order PlaceOrder(ctx, body)
|
> Order PlaceOrder(ctx, body)
|
||||||
|
|
||||||
Place an order for a pet
|
Place an order for a pet
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
@ -18,6 +18,7 @@ Method | HTTP request | Description
|
|||||||
## CreateUser
|
## CreateUser
|
||||||
|
|
||||||
> CreateUser(ctx, body)
|
> CreateUser(ctx, body)
|
||||||
|
|
||||||
Create user
|
Create user
|
||||||
|
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
@ -51,6 +52,7 @@ No authorization required
|
|||||||
## CreateUsersWithArrayInput
|
## CreateUsersWithArrayInput
|
||||||
|
|
||||||
> CreateUsersWithArrayInput(ctx, body)
|
> CreateUsersWithArrayInput(ctx, body)
|
||||||
|
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -82,6 +84,7 @@ No authorization required
|
|||||||
## CreateUsersWithListInput
|
## CreateUsersWithListInput
|
||||||
|
|
||||||
> CreateUsersWithListInput(ctx, body)
|
> CreateUsersWithListInput(ctx, body)
|
||||||
|
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -113,6 +116,7 @@ No authorization required
|
|||||||
## DeleteUser
|
## DeleteUser
|
||||||
|
|
||||||
> DeleteUser(ctx, username)
|
> DeleteUser(ctx, username)
|
||||||
|
|
||||||
Delete user
|
Delete user
|
||||||
|
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
@ -146,6 +150,7 @@ No authorization required
|
|||||||
## GetUserByName
|
## GetUserByName
|
||||||
|
|
||||||
> User GetUserByName(ctx, username)
|
> User GetUserByName(ctx, username)
|
||||||
|
|
||||||
Get user by user name
|
Get user by user name
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -177,6 +182,7 @@ No authorization required
|
|||||||
## LoginUser
|
## LoginUser
|
||||||
|
|
||||||
> string LoginUser(ctx, username, password)
|
> string LoginUser(ctx, username, password)
|
||||||
|
|
||||||
Logs user into the system
|
Logs user into the system
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -209,6 +215,7 @@ No authorization required
|
|||||||
## LogoutUser
|
## LogoutUser
|
||||||
|
|
||||||
> LogoutUser(ctx, )
|
> LogoutUser(ctx, )
|
||||||
|
|
||||||
Logs out current logged in user session
|
Logs out current logged in user session
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -236,6 +243,7 @@ No authorization required
|
|||||||
## UpdateUser
|
## UpdateUser
|
||||||
|
|
||||||
> UpdateUser(ctx, username, body)
|
> UpdateUser(ctx, username, body)
|
||||||
|
|
||||||
Updated user
|
Updated user
|
||||||
|
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
|
@ -11,6 +11,7 @@ Method | HTTP request | Description
|
|||||||
## Call123TestSpecialTags
|
## Call123TestSpecialTags
|
||||||
|
|
||||||
> Client Call123TestSpecialTags(ctx, body)
|
> Client Call123TestSpecialTags(ctx, body)
|
||||||
|
|
||||||
To test special tags
|
To test special tags
|
||||||
|
|
||||||
To test special tags and operation ID starting with number
|
To test special tags and operation ID starting with number
|
||||||
|
@ -24,6 +24,7 @@ Method | HTTP request | Description
|
|||||||
## CreateXmlItem
|
## CreateXmlItem
|
||||||
|
|
||||||
> CreateXmlItem(ctx, xmlItem)
|
> CreateXmlItem(ctx, xmlItem)
|
||||||
|
|
||||||
creates an XmlItem
|
creates an XmlItem
|
||||||
|
|
||||||
this route creates an XmlItem
|
this route creates an XmlItem
|
||||||
@ -59,6 +60,7 @@ No authorization required
|
|||||||
> bool FakeOuterBooleanSerialize(ctx, optional)
|
> bool FakeOuterBooleanSerialize(ctx, optional)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Test serialization of outer boolean types
|
Test serialization of outer boolean types
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -101,6 +103,7 @@ No authorization required
|
|||||||
> OuterComposite FakeOuterCompositeSerialize(ctx, optional)
|
> OuterComposite FakeOuterCompositeSerialize(ctx, optional)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Test serialization of object with outer number type
|
Test serialization of object with outer number type
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -143,6 +146,7 @@ No authorization required
|
|||||||
> float32 FakeOuterNumberSerialize(ctx, optional)
|
> float32 FakeOuterNumberSerialize(ctx, optional)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Test serialization of outer number types
|
Test serialization of outer number types
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -185,6 +189,7 @@ No authorization required
|
|||||||
> string FakeOuterStringSerialize(ctx, optional)
|
> string FakeOuterStringSerialize(ctx, optional)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Test serialization of outer string types
|
Test serialization of outer string types
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -227,6 +232,7 @@ No authorization required
|
|||||||
> TestBodyWithFileSchema(ctx, body)
|
> TestBodyWithFileSchema(ctx, body)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
For this test, the body for this request much reference a schema named `File`.
|
For this test, the body for this request much reference a schema named `File`.
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -260,6 +266,7 @@ No authorization required
|
|||||||
> TestBodyWithQueryParams(ctx, query, body)
|
> TestBodyWithQueryParams(ctx, query, body)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
|
||||||
|
|
||||||
@ -290,6 +297,7 @@ No authorization required
|
|||||||
## TestClientModel
|
## TestClientModel
|
||||||
|
|
||||||
> Client TestClientModel(ctx, body)
|
> Client TestClientModel(ctx, body)
|
||||||
|
|
||||||
To test \"client\" model
|
To test \"client\" model
|
||||||
|
|
||||||
To test \"client\" model
|
To test \"client\" model
|
||||||
@ -323,6 +331,7 @@ No authorization required
|
|||||||
## TestEndpointParameters
|
## TestEndpointParameters
|
||||||
|
|
||||||
> TestEndpointParameters(ctx, number, double, patternWithoutDelimiter, byte_, optional)
|
> TestEndpointParameters(ctx, number, double, patternWithoutDelimiter, byte_, optional)
|
||||||
|
|
||||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||||
|
|
||||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||||
@ -382,6 +391,7 @@ Name | Type | Description | Notes
|
|||||||
## TestEnumParameters
|
## TestEnumParameters
|
||||||
|
|
||||||
> TestEnumParameters(ctx, optional)
|
> TestEnumParameters(ctx, optional)
|
||||||
|
|
||||||
To test enum parameters
|
To test enum parameters
|
||||||
|
|
||||||
To test enum parameters
|
To test enum parameters
|
||||||
@ -431,6 +441,7 @@ No authorization required
|
|||||||
## TestGroupParameters
|
## TestGroupParameters
|
||||||
|
|
||||||
> TestGroupParameters(ctx, requiredStringGroup, requiredBooleanGroup, requiredInt64Group, optional)
|
> TestGroupParameters(ctx, requiredStringGroup, requiredBooleanGroup, requiredInt64Group, optional)
|
||||||
|
|
||||||
Fake endpoint to test group parameters (optional)
|
Fake endpoint to test group parameters (optional)
|
||||||
|
|
||||||
Fake endpoint to test group parameters (optional)
|
Fake endpoint to test group parameters (optional)
|
||||||
@ -481,6 +492,7 @@ No authorization required
|
|||||||
## TestInlineAdditionalProperties
|
## TestInlineAdditionalProperties
|
||||||
|
|
||||||
> TestInlineAdditionalProperties(ctx, param)
|
> TestInlineAdditionalProperties(ctx, param)
|
||||||
|
|
||||||
test inline additionalProperties
|
test inline additionalProperties
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -512,6 +524,7 @@ No authorization required
|
|||||||
## TestJsonFormData
|
## TestJsonFormData
|
||||||
|
|
||||||
> TestJsonFormData(ctx, param, param2)
|
> TestJsonFormData(ctx, param, param2)
|
||||||
|
|
||||||
test json serialization of form data
|
test json serialization of form data
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -546,6 +559,7 @@ No authorization required
|
|||||||
> TestQueryParameterCollectionFormat(ctx, pipe, ioutil, http, url, context)
|
> TestQueryParameterCollectionFormat(ctx, pipe, ioutil, http, url, context)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
To test the collection format in query parameters
|
To test the collection format in query parameters
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
@ -11,6 +11,7 @@ Method | HTTP request | Description
|
|||||||
## TestClassname
|
## TestClassname
|
||||||
|
|
||||||
> Client TestClassname(ctx, body)
|
> Client TestClassname(ctx, body)
|
||||||
|
|
||||||
To test class name in snake case
|
To test class name in snake case
|
||||||
|
|
||||||
To test class name in snake case
|
To test class name in snake case
|
||||||
|
@ -19,6 +19,7 @@ Method | HTTP request | Description
|
|||||||
## AddPet
|
## AddPet
|
||||||
|
|
||||||
> AddPet(ctx, body)
|
> AddPet(ctx, body)
|
||||||
|
|
||||||
Add a new pet to the store
|
Add a new pet to the store
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -50,6 +51,7 @@ Name | Type | Description | Notes
|
|||||||
## DeletePet
|
## DeletePet
|
||||||
|
|
||||||
> DeletePet(ctx, petId, optional)
|
> DeletePet(ctx, petId, optional)
|
||||||
|
|
||||||
Deletes a pet
|
Deletes a pet
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -92,6 +94,7 @@ Name | Type | Description | Notes
|
|||||||
## FindPetsByStatus
|
## FindPetsByStatus
|
||||||
|
|
||||||
> []Pet FindPetsByStatus(ctx, status)
|
> []Pet FindPetsByStatus(ctx, status)
|
||||||
|
|
||||||
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
|
||||||
@ -125,6 +128,7 @@ Name | Type | Description | Notes
|
|||||||
## FindPetsByTags
|
## FindPetsByTags
|
||||||
|
|
||||||
> []Pet FindPetsByTags(ctx, tags)
|
> []Pet FindPetsByTags(ctx, tags)
|
||||||
|
|
||||||
Finds Pets by tags
|
Finds Pets by tags
|
||||||
|
|
||||||
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
||||||
@ -158,6 +162,7 @@ Name | Type | Description | Notes
|
|||||||
## GetPetById
|
## GetPetById
|
||||||
|
|
||||||
> Pet GetPetById(ctx, petId)
|
> Pet GetPetById(ctx, petId)
|
||||||
|
|
||||||
Find pet by ID
|
Find pet by ID
|
||||||
|
|
||||||
Returns a single pet
|
Returns a single pet
|
||||||
@ -191,6 +196,7 @@ Name | Type | Description | Notes
|
|||||||
## UpdatePet
|
## UpdatePet
|
||||||
|
|
||||||
> UpdatePet(ctx, body)
|
> UpdatePet(ctx, body)
|
||||||
|
|
||||||
Update an existing pet
|
Update an existing pet
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -222,6 +228,7 @@ Name | Type | Description | Notes
|
|||||||
## UpdatePetWithForm
|
## UpdatePetWithForm
|
||||||
|
|
||||||
> UpdatePetWithForm(ctx, petId, optional)
|
> UpdatePetWithForm(ctx, petId, optional)
|
||||||
|
|
||||||
Updates a pet in the store with form data
|
Updates a pet in the store with form data
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -265,6 +272,7 @@ Name | Type | Description | Notes
|
|||||||
## UploadFile
|
## UploadFile
|
||||||
|
|
||||||
> ApiResponse UploadFile(ctx, petId, optional)
|
> ApiResponse UploadFile(ctx, petId, optional)
|
||||||
|
|
||||||
uploads an image
|
uploads an image
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -308,6 +316,7 @@ Name | Type | Description | Notes
|
|||||||
## UploadFileWithRequiredFile
|
## UploadFileWithRequiredFile
|
||||||
|
|
||||||
> ApiResponse UploadFileWithRequiredFile(ctx, petId, requiredFile, optional)
|
> ApiResponse UploadFileWithRequiredFile(ctx, petId, requiredFile, optional)
|
||||||
|
|
||||||
uploads an image (required)
|
uploads an image (required)
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
@ -14,6 +14,7 @@ Method | HTTP request | Description
|
|||||||
## DeleteOrder
|
## DeleteOrder
|
||||||
|
|
||||||
> DeleteOrder(ctx, orderId)
|
> DeleteOrder(ctx, orderId)
|
||||||
|
|
||||||
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
|
||||||
@ -47,6 +48,7 @@ No authorization required
|
|||||||
## GetInventory
|
## GetInventory
|
||||||
|
|
||||||
> map[string]int32 GetInventory(ctx, )
|
> map[string]int32 GetInventory(ctx, )
|
||||||
|
|
||||||
Returns pet inventories by status
|
Returns pet inventories by status
|
||||||
|
|
||||||
Returns a map of status codes to quantities
|
Returns a map of status codes to quantities
|
||||||
@ -76,6 +78,7 @@ This endpoint does not need any parameter.
|
|||||||
## GetOrderById
|
## GetOrderById
|
||||||
|
|
||||||
> Order GetOrderById(ctx, orderId)
|
> Order GetOrderById(ctx, orderId)
|
||||||
|
|
||||||
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
|
||||||
@ -109,6 +112,7 @@ No authorization required
|
|||||||
## PlaceOrder
|
## PlaceOrder
|
||||||
|
|
||||||
> Order PlaceOrder(ctx, body)
|
> Order PlaceOrder(ctx, body)
|
||||||
|
|
||||||
Place an order for a pet
|
Place an order for a pet
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
@ -18,6 +18,7 @@ Method | HTTP request | Description
|
|||||||
## CreateUser
|
## CreateUser
|
||||||
|
|
||||||
> CreateUser(ctx, body)
|
> CreateUser(ctx, body)
|
||||||
|
|
||||||
Create user
|
Create user
|
||||||
|
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
@ -51,6 +52,7 @@ No authorization required
|
|||||||
## CreateUsersWithArrayInput
|
## CreateUsersWithArrayInput
|
||||||
|
|
||||||
> CreateUsersWithArrayInput(ctx, body)
|
> CreateUsersWithArrayInput(ctx, body)
|
||||||
|
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -82,6 +84,7 @@ No authorization required
|
|||||||
## CreateUsersWithListInput
|
## CreateUsersWithListInput
|
||||||
|
|
||||||
> CreateUsersWithListInput(ctx, body)
|
> CreateUsersWithListInput(ctx, body)
|
||||||
|
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -113,6 +116,7 @@ No authorization required
|
|||||||
## DeleteUser
|
## DeleteUser
|
||||||
|
|
||||||
> DeleteUser(ctx, username)
|
> DeleteUser(ctx, username)
|
||||||
|
|
||||||
Delete user
|
Delete user
|
||||||
|
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
@ -146,6 +150,7 @@ No authorization required
|
|||||||
## GetUserByName
|
## GetUserByName
|
||||||
|
|
||||||
> User GetUserByName(ctx, username)
|
> User GetUserByName(ctx, username)
|
||||||
|
|
||||||
Get user by user name
|
Get user by user name
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -177,6 +182,7 @@ No authorization required
|
|||||||
## LoginUser
|
## LoginUser
|
||||||
|
|
||||||
> string LoginUser(ctx, username, password)
|
> string LoginUser(ctx, username, password)
|
||||||
|
|
||||||
Logs user into the system
|
Logs user into the system
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -209,6 +215,7 @@ No authorization required
|
|||||||
## LogoutUser
|
## LogoutUser
|
||||||
|
|
||||||
> LogoutUser(ctx, )
|
> LogoutUser(ctx, )
|
||||||
|
|
||||||
Logs out current logged in user session
|
Logs out current logged in user session
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -236,6 +243,7 @@ No authorization required
|
|||||||
## UpdateUser
|
## UpdateUser
|
||||||
|
|
||||||
> UpdateUser(ctx, username, body)
|
> UpdateUser(ctx, username, body)
|
||||||
|
|
||||||
Updated user
|
Updated user
|
||||||
|
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
|
@ -11,6 +11,7 @@ Method | HTTP request | Description
|
|||||||
## Call123TestSpecialTags
|
## Call123TestSpecialTags
|
||||||
|
|
||||||
> Client Call123TestSpecialTags(ctx, client)
|
> Client Call123TestSpecialTags(ctx, client)
|
||||||
|
|
||||||
To test special tags
|
To test special tags
|
||||||
|
|
||||||
To test special tags and operation ID starting with number
|
To test special tags and operation ID starting with number
|
||||||
|
@ -13,6 +13,7 @@ Method | HTTP request | Description
|
|||||||
> InlineResponseDefault FooGet(ctx, )
|
> InlineResponseDefault FooGet(ctx, )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
|
||||||
This endpoint does not need any parameter.
|
This endpoint does not need any parameter.
|
||||||
|
@ -24,6 +24,7 @@ Method | HTTP request | Description
|
|||||||
## FakeHealthGet
|
## FakeHealthGet
|
||||||
|
|
||||||
> HealthCheckResult FakeHealthGet(ctx, )
|
> HealthCheckResult FakeHealthGet(ctx, )
|
||||||
|
|
||||||
Health check endpoint
|
Health check endpoint
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -53,6 +54,7 @@ No authorization required
|
|||||||
> bool FakeOuterBooleanSerialize(ctx, optional)
|
> bool FakeOuterBooleanSerialize(ctx, optional)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Test serialization of outer boolean types
|
Test serialization of outer boolean types
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -95,6 +97,7 @@ No authorization required
|
|||||||
> OuterComposite FakeOuterCompositeSerialize(ctx, optional)
|
> OuterComposite FakeOuterCompositeSerialize(ctx, optional)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Test serialization of object with outer number type
|
Test serialization of object with outer number type
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -137,6 +140,7 @@ No authorization required
|
|||||||
> float32 FakeOuterNumberSerialize(ctx, optional)
|
> float32 FakeOuterNumberSerialize(ctx, optional)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Test serialization of outer number types
|
Test serialization of outer number types
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -179,6 +183,7 @@ No authorization required
|
|||||||
> string FakeOuterStringSerialize(ctx, optional)
|
> string FakeOuterStringSerialize(ctx, optional)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Test serialization of outer string types
|
Test serialization of outer string types
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -221,6 +226,7 @@ No authorization required
|
|||||||
> TestBodyWithFileSchema(ctx, fileSchemaTestClass)
|
> TestBodyWithFileSchema(ctx, fileSchemaTestClass)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
For this test, the body for this request much reference a schema named `File`.
|
For this test, the body for this request much reference a schema named `File`.
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -254,6 +260,7 @@ No authorization required
|
|||||||
> TestBodyWithQueryParams(ctx, query, user)
|
> TestBodyWithQueryParams(ctx, query, user)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
|
||||||
|
|
||||||
@ -284,6 +291,7 @@ No authorization required
|
|||||||
## TestClientModel
|
## TestClientModel
|
||||||
|
|
||||||
> Client TestClientModel(ctx, client)
|
> Client TestClientModel(ctx, client)
|
||||||
|
|
||||||
To test \"client\" model
|
To test \"client\" model
|
||||||
|
|
||||||
To test \"client\" model
|
To test \"client\" model
|
||||||
@ -317,6 +325,7 @@ No authorization required
|
|||||||
## TestEndpointParameters
|
## TestEndpointParameters
|
||||||
|
|
||||||
> TestEndpointParameters(ctx, number, double, patternWithoutDelimiter, byte_, optional)
|
> TestEndpointParameters(ctx, number, double, patternWithoutDelimiter, byte_, optional)
|
||||||
|
|
||||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||||
|
|
||||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||||
@ -376,6 +385,7 @@ Name | Type | Description | Notes
|
|||||||
## TestEnumParameters
|
## TestEnumParameters
|
||||||
|
|
||||||
> TestEnumParameters(ctx, optional)
|
> TestEnumParameters(ctx, optional)
|
||||||
|
|
||||||
To test enum parameters
|
To test enum parameters
|
||||||
|
|
||||||
To test enum parameters
|
To test enum parameters
|
||||||
@ -425,6 +435,7 @@ No authorization required
|
|||||||
## TestGroupParameters
|
## TestGroupParameters
|
||||||
|
|
||||||
> TestGroupParameters(ctx, requiredStringGroup, requiredBooleanGroup, requiredInt64Group, optional)
|
> TestGroupParameters(ctx, requiredStringGroup, requiredBooleanGroup, requiredInt64Group, optional)
|
||||||
|
|
||||||
Fake endpoint to test group parameters (optional)
|
Fake endpoint to test group parameters (optional)
|
||||||
|
|
||||||
Fake endpoint to test group parameters (optional)
|
Fake endpoint to test group parameters (optional)
|
||||||
@ -475,6 +486,7 @@ Name | Type | Description | Notes
|
|||||||
## TestInlineAdditionalProperties
|
## TestInlineAdditionalProperties
|
||||||
|
|
||||||
> TestInlineAdditionalProperties(ctx, requestBody)
|
> TestInlineAdditionalProperties(ctx, requestBody)
|
||||||
|
|
||||||
test inline additionalProperties
|
test inline additionalProperties
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -506,6 +518,7 @@ No authorization required
|
|||||||
## TestJsonFormData
|
## TestJsonFormData
|
||||||
|
|
||||||
> TestJsonFormData(ctx, param, param2)
|
> TestJsonFormData(ctx, param, param2)
|
||||||
|
|
||||||
test json serialization of form data
|
test json serialization of form data
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -540,6 +553,7 @@ No authorization required
|
|||||||
> TestQueryParameterCollectionFormat(ctx, pipe, ioutil, http, url, context)
|
> TestQueryParameterCollectionFormat(ctx, pipe, ioutil, http, url, context)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
To test the collection format in query parameters
|
To test the collection format in query parameters
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
@ -11,6 +11,7 @@ Method | HTTP request | Description
|
|||||||
## TestClassname
|
## TestClassname
|
||||||
|
|
||||||
> Client TestClassname(ctx, client)
|
> Client TestClassname(ctx, client)
|
||||||
|
|
||||||
To test class name in snake case
|
To test class name in snake case
|
||||||
|
|
||||||
To test class name in snake case
|
To test class name in snake case
|
||||||
|
@ -19,6 +19,7 @@ Method | HTTP request | Description
|
|||||||
## AddPet
|
## AddPet
|
||||||
|
|
||||||
> AddPet(ctx, pet)
|
> AddPet(ctx, pet)
|
||||||
|
|
||||||
Add a new pet to the store
|
Add a new pet to the store
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -50,6 +51,7 @@ Name | Type | Description | Notes
|
|||||||
## DeletePet
|
## DeletePet
|
||||||
|
|
||||||
> DeletePet(ctx, petId, optional)
|
> DeletePet(ctx, petId, optional)
|
||||||
|
|
||||||
Deletes a pet
|
Deletes a pet
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -92,6 +94,7 @@ Name | Type | Description | Notes
|
|||||||
## FindPetsByStatus
|
## FindPetsByStatus
|
||||||
|
|
||||||
> []Pet FindPetsByStatus(ctx, status)
|
> []Pet FindPetsByStatus(ctx, status)
|
||||||
|
|
||||||
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
|
||||||
@ -125,6 +128,7 @@ Name | Type | Description | Notes
|
|||||||
## FindPetsByTags
|
## FindPetsByTags
|
||||||
|
|
||||||
> []Pet FindPetsByTags(ctx, tags)
|
> []Pet FindPetsByTags(ctx, tags)
|
||||||
|
|
||||||
Finds Pets by tags
|
Finds Pets by tags
|
||||||
|
|
||||||
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
||||||
@ -158,6 +162,7 @@ Name | Type | Description | Notes
|
|||||||
## GetPetById
|
## GetPetById
|
||||||
|
|
||||||
> Pet GetPetById(ctx, petId)
|
> Pet GetPetById(ctx, petId)
|
||||||
|
|
||||||
Find pet by ID
|
Find pet by ID
|
||||||
|
|
||||||
Returns a single pet
|
Returns a single pet
|
||||||
@ -191,6 +196,7 @@ Name | Type | Description | Notes
|
|||||||
## UpdatePet
|
## UpdatePet
|
||||||
|
|
||||||
> UpdatePet(ctx, pet)
|
> UpdatePet(ctx, pet)
|
||||||
|
|
||||||
Update an existing pet
|
Update an existing pet
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -222,6 +228,7 @@ Name | Type | Description | Notes
|
|||||||
## UpdatePetWithForm
|
## UpdatePetWithForm
|
||||||
|
|
||||||
> UpdatePetWithForm(ctx, petId, optional)
|
> UpdatePetWithForm(ctx, petId, optional)
|
||||||
|
|
||||||
Updates a pet in the store with form data
|
Updates a pet in the store with form data
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -265,6 +272,7 @@ Name | Type | Description | Notes
|
|||||||
## UploadFile
|
## UploadFile
|
||||||
|
|
||||||
> ApiResponse UploadFile(ctx, petId, optional)
|
> ApiResponse UploadFile(ctx, petId, optional)
|
||||||
|
|
||||||
uploads an image
|
uploads an image
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -308,6 +316,7 @@ Name | Type | Description | Notes
|
|||||||
## UploadFileWithRequiredFile
|
## UploadFileWithRequiredFile
|
||||||
|
|
||||||
> ApiResponse UploadFileWithRequiredFile(ctx, petId, requiredFile, optional)
|
> ApiResponse UploadFileWithRequiredFile(ctx, petId, requiredFile, optional)
|
||||||
|
|
||||||
uploads an image (required)
|
uploads an image (required)
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
@ -14,6 +14,7 @@ Method | HTTP request | Description
|
|||||||
## DeleteOrder
|
## DeleteOrder
|
||||||
|
|
||||||
> DeleteOrder(ctx, orderId)
|
> DeleteOrder(ctx, orderId)
|
||||||
|
|
||||||
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
|
||||||
@ -47,6 +48,7 @@ No authorization required
|
|||||||
## GetInventory
|
## GetInventory
|
||||||
|
|
||||||
> map[string]int32 GetInventory(ctx, )
|
> map[string]int32 GetInventory(ctx, )
|
||||||
|
|
||||||
Returns pet inventories by status
|
Returns pet inventories by status
|
||||||
|
|
||||||
Returns a map of status codes to quantities
|
Returns a map of status codes to quantities
|
||||||
@ -76,6 +78,7 @@ This endpoint does not need any parameter.
|
|||||||
## GetOrderById
|
## GetOrderById
|
||||||
|
|
||||||
> Order GetOrderById(ctx, orderId)
|
> Order GetOrderById(ctx, orderId)
|
||||||
|
|
||||||
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
|
||||||
@ -109,6 +112,7 @@ No authorization required
|
|||||||
## PlaceOrder
|
## PlaceOrder
|
||||||
|
|
||||||
> Order PlaceOrder(ctx, order)
|
> Order PlaceOrder(ctx, order)
|
||||||
|
|
||||||
Place an order for a pet
|
Place an order for a pet
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
@ -18,6 +18,7 @@ Method | HTTP request | Description
|
|||||||
## CreateUser
|
## CreateUser
|
||||||
|
|
||||||
> CreateUser(ctx, user)
|
> CreateUser(ctx, user)
|
||||||
|
|
||||||
Create user
|
Create user
|
||||||
|
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
@ -51,6 +52,7 @@ No authorization required
|
|||||||
## CreateUsersWithArrayInput
|
## CreateUsersWithArrayInput
|
||||||
|
|
||||||
> CreateUsersWithArrayInput(ctx, user)
|
> CreateUsersWithArrayInput(ctx, user)
|
||||||
|
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -82,6 +84,7 @@ No authorization required
|
|||||||
## CreateUsersWithListInput
|
## CreateUsersWithListInput
|
||||||
|
|
||||||
> CreateUsersWithListInput(ctx, user)
|
> CreateUsersWithListInput(ctx, user)
|
||||||
|
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -113,6 +116,7 @@ No authorization required
|
|||||||
## DeleteUser
|
## DeleteUser
|
||||||
|
|
||||||
> DeleteUser(ctx, username)
|
> DeleteUser(ctx, username)
|
||||||
|
|
||||||
Delete user
|
Delete user
|
||||||
|
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
@ -146,6 +150,7 @@ No authorization required
|
|||||||
## GetUserByName
|
## GetUserByName
|
||||||
|
|
||||||
> User GetUserByName(ctx, username)
|
> User GetUserByName(ctx, username)
|
||||||
|
|
||||||
Get user by user name
|
Get user by user name
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -177,6 +182,7 @@ No authorization required
|
|||||||
## LoginUser
|
## LoginUser
|
||||||
|
|
||||||
> string LoginUser(ctx, username, password)
|
> string LoginUser(ctx, username, password)
|
||||||
|
|
||||||
Logs user into the system
|
Logs user into the system
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -209,6 +215,7 @@ No authorization required
|
|||||||
## LogoutUser
|
## LogoutUser
|
||||||
|
|
||||||
> LogoutUser(ctx, )
|
> LogoutUser(ctx, )
|
||||||
|
|
||||||
Logs out current logged in user session
|
Logs out current logged in user session
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -236,6 +243,7 @@ No authorization required
|
|||||||
## UpdateUser
|
## UpdateUser
|
||||||
|
|
||||||
> UpdateUser(ctx, username, user)
|
> UpdateUser(ctx, username, user)
|
||||||
|
|
||||||
Updated user
|
Updated user
|
||||||
|
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
|
@ -11,6 +11,7 @@ Method | HTTP request | Description
|
|||||||
## Call123TestSpecialTags
|
## Call123TestSpecialTags
|
||||||
|
|
||||||
> Client Call123TestSpecialTags(ctx, client)
|
> Client Call123TestSpecialTags(ctx, client)
|
||||||
|
|
||||||
To test special tags
|
To test special tags
|
||||||
|
|
||||||
To test special tags and operation ID starting with number
|
To test special tags and operation ID starting with number
|
||||||
|
@ -13,6 +13,7 @@ Method | HTTP request | Description
|
|||||||
> InlineResponseDefault FooGet(ctx, )
|
> InlineResponseDefault FooGet(ctx, )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
|
||||||
This endpoint does not need any parameter.
|
This endpoint does not need any parameter.
|
||||||
|
@ -24,6 +24,7 @@ Method | HTTP request | Description
|
|||||||
## FakeHealthGet
|
## FakeHealthGet
|
||||||
|
|
||||||
> HealthCheckResult FakeHealthGet(ctx, )
|
> HealthCheckResult FakeHealthGet(ctx, )
|
||||||
|
|
||||||
Health check endpoint
|
Health check endpoint
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -53,6 +54,7 @@ No authorization required
|
|||||||
> bool FakeOuterBooleanSerialize(ctx, optional)
|
> bool FakeOuterBooleanSerialize(ctx, optional)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Test serialization of outer boolean types
|
Test serialization of outer boolean types
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -95,6 +97,7 @@ No authorization required
|
|||||||
> OuterComposite FakeOuterCompositeSerialize(ctx, optional)
|
> OuterComposite FakeOuterCompositeSerialize(ctx, optional)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Test serialization of object with outer number type
|
Test serialization of object with outer number type
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -137,6 +140,7 @@ No authorization required
|
|||||||
> float32 FakeOuterNumberSerialize(ctx, optional)
|
> float32 FakeOuterNumberSerialize(ctx, optional)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Test serialization of outer number types
|
Test serialization of outer number types
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -179,6 +183,7 @@ No authorization required
|
|||||||
> string FakeOuterStringSerialize(ctx, optional)
|
> string FakeOuterStringSerialize(ctx, optional)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Test serialization of outer string types
|
Test serialization of outer string types
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -221,6 +226,7 @@ No authorization required
|
|||||||
> TestBodyWithFileSchema(ctx, fileSchemaTestClass)
|
> TestBodyWithFileSchema(ctx, fileSchemaTestClass)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
For this test, the body for this request much reference a schema named `File`.
|
For this test, the body for this request much reference a schema named `File`.
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -254,6 +260,7 @@ No authorization required
|
|||||||
> TestBodyWithQueryParams(ctx, query, user)
|
> TestBodyWithQueryParams(ctx, query, user)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
|
||||||
|
|
||||||
@ -284,6 +291,7 @@ No authorization required
|
|||||||
## TestClientModel
|
## TestClientModel
|
||||||
|
|
||||||
> Client TestClientModel(ctx, client)
|
> Client TestClientModel(ctx, client)
|
||||||
|
|
||||||
To test \"client\" model
|
To test \"client\" model
|
||||||
|
|
||||||
To test \"client\" model
|
To test \"client\" model
|
||||||
@ -317,6 +325,7 @@ No authorization required
|
|||||||
## TestEndpointParameters
|
## TestEndpointParameters
|
||||||
|
|
||||||
> TestEndpointParameters(ctx, number, double, patternWithoutDelimiter, byte_, optional)
|
> TestEndpointParameters(ctx, number, double, patternWithoutDelimiter, byte_, optional)
|
||||||
|
|
||||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||||
|
|
||||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||||
@ -376,6 +385,7 @@ Name | Type | Description | Notes
|
|||||||
## TestEnumParameters
|
## TestEnumParameters
|
||||||
|
|
||||||
> TestEnumParameters(ctx, optional)
|
> TestEnumParameters(ctx, optional)
|
||||||
|
|
||||||
To test enum parameters
|
To test enum parameters
|
||||||
|
|
||||||
To test enum parameters
|
To test enum parameters
|
||||||
@ -425,6 +435,7 @@ No authorization required
|
|||||||
## TestGroupParameters
|
## TestGroupParameters
|
||||||
|
|
||||||
> TestGroupParameters(ctx, requiredStringGroup, requiredBooleanGroup, requiredInt64Group, optional)
|
> TestGroupParameters(ctx, requiredStringGroup, requiredBooleanGroup, requiredInt64Group, optional)
|
||||||
|
|
||||||
Fake endpoint to test group parameters (optional)
|
Fake endpoint to test group parameters (optional)
|
||||||
|
|
||||||
Fake endpoint to test group parameters (optional)
|
Fake endpoint to test group parameters (optional)
|
||||||
@ -475,6 +486,7 @@ Name | Type | Description | Notes
|
|||||||
## TestInlineAdditionalProperties
|
## TestInlineAdditionalProperties
|
||||||
|
|
||||||
> TestInlineAdditionalProperties(ctx, requestBody)
|
> TestInlineAdditionalProperties(ctx, requestBody)
|
||||||
|
|
||||||
test inline additionalProperties
|
test inline additionalProperties
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -506,6 +518,7 @@ No authorization required
|
|||||||
## TestJsonFormData
|
## TestJsonFormData
|
||||||
|
|
||||||
> TestJsonFormData(ctx, param, param2)
|
> TestJsonFormData(ctx, param, param2)
|
||||||
|
|
||||||
test json serialization of form data
|
test json serialization of form data
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -540,6 +553,7 @@ No authorization required
|
|||||||
> TestQueryParameterCollectionFormat(ctx, pipe, ioutil, http, url, context)
|
> TestQueryParameterCollectionFormat(ctx, pipe, ioutil, http, url, context)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
To test the collection format in query parameters
|
To test the collection format in query parameters
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
@ -11,6 +11,7 @@ Method | HTTP request | Description
|
|||||||
## TestClassname
|
## TestClassname
|
||||||
|
|
||||||
> Client TestClassname(ctx, client)
|
> Client TestClassname(ctx, client)
|
||||||
|
|
||||||
To test class name in snake case
|
To test class name in snake case
|
||||||
|
|
||||||
To test class name in snake case
|
To test class name in snake case
|
||||||
|
@ -19,6 +19,7 @@ Method | HTTP request | Description
|
|||||||
## AddPet
|
## AddPet
|
||||||
|
|
||||||
> AddPet(ctx, pet)
|
> AddPet(ctx, pet)
|
||||||
|
|
||||||
Add a new pet to the store
|
Add a new pet to the store
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -50,6 +51,7 @@ Name | Type | Description | Notes
|
|||||||
## DeletePet
|
## DeletePet
|
||||||
|
|
||||||
> DeletePet(ctx, petId, optional)
|
> DeletePet(ctx, petId, optional)
|
||||||
|
|
||||||
Deletes a pet
|
Deletes a pet
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -92,6 +94,7 @@ Name | Type | Description | Notes
|
|||||||
## FindPetsByStatus
|
## FindPetsByStatus
|
||||||
|
|
||||||
> []Pet FindPetsByStatus(ctx, status)
|
> []Pet FindPetsByStatus(ctx, status)
|
||||||
|
|
||||||
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
|
||||||
@ -125,6 +128,7 @@ Name | Type | Description | Notes
|
|||||||
## FindPetsByTags
|
## FindPetsByTags
|
||||||
|
|
||||||
> []Pet FindPetsByTags(ctx, tags)
|
> []Pet FindPetsByTags(ctx, tags)
|
||||||
|
|
||||||
Finds Pets by tags
|
Finds Pets by tags
|
||||||
|
|
||||||
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
||||||
@ -158,6 +162,7 @@ Name | Type | Description | Notes
|
|||||||
## GetPetById
|
## GetPetById
|
||||||
|
|
||||||
> Pet GetPetById(ctx, petId)
|
> Pet GetPetById(ctx, petId)
|
||||||
|
|
||||||
Find pet by ID
|
Find pet by ID
|
||||||
|
|
||||||
Returns a single pet
|
Returns a single pet
|
||||||
@ -191,6 +196,7 @@ Name | Type | Description | Notes
|
|||||||
## UpdatePet
|
## UpdatePet
|
||||||
|
|
||||||
> UpdatePet(ctx, pet)
|
> UpdatePet(ctx, pet)
|
||||||
|
|
||||||
Update an existing pet
|
Update an existing pet
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -222,6 +228,7 @@ Name | Type | Description | Notes
|
|||||||
## UpdatePetWithForm
|
## UpdatePetWithForm
|
||||||
|
|
||||||
> UpdatePetWithForm(ctx, petId, optional)
|
> UpdatePetWithForm(ctx, petId, optional)
|
||||||
|
|
||||||
Updates a pet in the store with form data
|
Updates a pet in the store with form data
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -265,6 +272,7 @@ Name | Type | Description | Notes
|
|||||||
## UploadFile
|
## UploadFile
|
||||||
|
|
||||||
> ApiResponse UploadFile(ctx, petId, optional)
|
> ApiResponse UploadFile(ctx, petId, optional)
|
||||||
|
|
||||||
uploads an image
|
uploads an image
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -308,6 +316,7 @@ Name | Type | Description | Notes
|
|||||||
## UploadFileWithRequiredFile
|
## UploadFileWithRequiredFile
|
||||||
|
|
||||||
> ApiResponse UploadFileWithRequiredFile(ctx, petId, requiredFile, optional)
|
> ApiResponse UploadFileWithRequiredFile(ctx, petId, requiredFile, optional)
|
||||||
|
|
||||||
uploads an image (required)
|
uploads an image (required)
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
@ -14,6 +14,7 @@ Method | HTTP request | Description
|
|||||||
## DeleteOrder
|
## DeleteOrder
|
||||||
|
|
||||||
> DeleteOrder(ctx, orderId)
|
> DeleteOrder(ctx, orderId)
|
||||||
|
|
||||||
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
|
||||||
@ -47,6 +48,7 @@ No authorization required
|
|||||||
## GetInventory
|
## GetInventory
|
||||||
|
|
||||||
> map[string]int32 GetInventory(ctx, )
|
> map[string]int32 GetInventory(ctx, )
|
||||||
|
|
||||||
Returns pet inventories by status
|
Returns pet inventories by status
|
||||||
|
|
||||||
Returns a map of status codes to quantities
|
Returns a map of status codes to quantities
|
||||||
@ -76,6 +78,7 @@ This endpoint does not need any parameter.
|
|||||||
## GetOrderById
|
## GetOrderById
|
||||||
|
|
||||||
> Order GetOrderById(ctx, orderId)
|
> Order GetOrderById(ctx, orderId)
|
||||||
|
|
||||||
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
|
||||||
@ -109,6 +112,7 @@ No authorization required
|
|||||||
## PlaceOrder
|
## PlaceOrder
|
||||||
|
|
||||||
> Order PlaceOrder(ctx, order)
|
> Order PlaceOrder(ctx, order)
|
||||||
|
|
||||||
Place an order for a pet
|
Place an order for a pet
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
|
@ -18,6 +18,7 @@ Method | HTTP request | Description
|
|||||||
## CreateUser
|
## CreateUser
|
||||||
|
|
||||||
> CreateUser(ctx, user)
|
> CreateUser(ctx, user)
|
||||||
|
|
||||||
Create user
|
Create user
|
||||||
|
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
@ -51,6 +52,7 @@ No authorization required
|
|||||||
## CreateUsersWithArrayInput
|
## CreateUsersWithArrayInput
|
||||||
|
|
||||||
> CreateUsersWithArrayInput(ctx, user)
|
> CreateUsersWithArrayInput(ctx, user)
|
||||||
|
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -82,6 +84,7 @@ No authorization required
|
|||||||
## CreateUsersWithListInput
|
## CreateUsersWithListInput
|
||||||
|
|
||||||
> CreateUsersWithListInput(ctx, user)
|
> CreateUsersWithListInput(ctx, user)
|
||||||
|
|
||||||
Creates list of users with given input array
|
Creates list of users with given input array
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -113,6 +116,7 @@ No authorization required
|
|||||||
## DeleteUser
|
## DeleteUser
|
||||||
|
|
||||||
> DeleteUser(ctx, username)
|
> DeleteUser(ctx, username)
|
||||||
|
|
||||||
Delete user
|
Delete user
|
||||||
|
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
@ -146,6 +150,7 @@ No authorization required
|
|||||||
## GetUserByName
|
## GetUserByName
|
||||||
|
|
||||||
> User GetUserByName(ctx, username)
|
> User GetUserByName(ctx, username)
|
||||||
|
|
||||||
Get user by user name
|
Get user by user name
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -177,6 +182,7 @@ No authorization required
|
|||||||
## LoginUser
|
## LoginUser
|
||||||
|
|
||||||
> string LoginUser(ctx, username, password)
|
> string LoginUser(ctx, username, password)
|
||||||
|
|
||||||
Logs user into the system
|
Logs user into the system
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -209,6 +215,7 @@ No authorization required
|
|||||||
## LogoutUser
|
## LogoutUser
|
||||||
|
|
||||||
> LogoutUser(ctx, )
|
> LogoutUser(ctx, )
|
||||||
|
|
||||||
Logs out current logged in user session
|
Logs out current logged in user session
|
||||||
|
|
||||||
### Required Parameters
|
### Required Parameters
|
||||||
@ -236,6 +243,7 @@ No authorization required
|
|||||||
## UpdateUser
|
## UpdateUser
|
||||||
|
|
||||||
> UpdateUser(ctx, username, user)
|
> UpdateUser(ctx, username, user)
|
||||||
|
|
||||||
Updated user
|
Updated user
|
||||||
|
|
||||||
This can only be done by the logged in user.
|
This can only be done by the logged in user.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user