forked from loafle/openapi-generator-original
update samples
This commit is contained in:
parent
23727befa7
commit
672a7e9c60
@ -65,7 +65,7 @@ declare -a scripts=(
|
||||
"./bin/apex-petstore.sh"
|
||||
"./bin/perl-petstore-all.sh"
|
||||
"./bin/dart-jaguar-petstore.sh"
|
||||
"./bin/dart-dio-petstore.sh"
|
||||
#"./bin/dart-dio-petstore.sh"
|
||||
"./bin/dart-petstore.sh"
|
||||
"./bin/dart2-petstore.sh"
|
||||
"./bin/java-play-framework-petstore-server-all.sh"
|
||||
|
@ -6,7 +6,6 @@ title: Generators List
|
||||
The following generators are available:
|
||||
|
||||
## CLIENT generators
|
||||
|
||||
* [ada](generators/ada)
|
||||
* [android](generators/android)
|
||||
* [apex](generators/apex)
|
||||
@ -20,6 +19,7 @@ The following generators are available:
|
||||
* [csharp-dotnet2 (deprecated)](generators/csharp-dotnet2)
|
||||
* [csharp-netcore](generators/csharp-netcore)
|
||||
* [dart](generators/dart)
|
||||
* [dart-dio](generators/dart-dio)
|
||||
* [dart-jaguar](generators/dart-jaguar)
|
||||
* [eiffel](generators/eiffel)
|
||||
* [elixir](generators/elixir)
|
||||
|
@ -11,6 +11,7 @@ Method | HTTP request | Description
|
||||
## Call123TestSpecialTags
|
||||
|
||||
> Client Call123TestSpecialTags(ctx, body)
|
||||
|
||||
To test special tags
|
||||
|
||||
To test special tags and operation ID starting with number
|
||||
|
@ -24,6 +24,7 @@ Method | HTTP request | Description
|
||||
## CreateXmlItem
|
||||
|
||||
> CreateXmlItem(ctx, xmlItem)
|
||||
|
||||
creates an XmlItem
|
||||
|
||||
this route creates an XmlItem
|
||||
@ -59,6 +60,7 @@ No authorization required
|
||||
> bool FakeOuterBooleanSerialize(ctx, optional)
|
||||
|
||||
|
||||
|
||||
Test serialization of outer boolean types
|
||||
|
||||
### Required Parameters
|
||||
@ -101,6 +103,7 @@ No authorization required
|
||||
> OuterComposite FakeOuterCompositeSerialize(ctx, optional)
|
||||
|
||||
|
||||
|
||||
Test serialization of object with outer number type
|
||||
|
||||
### Required Parameters
|
||||
@ -143,6 +146,7 @@ No authorization required
|
||||
> float32 FakeOuterNumberSerialize(ctx, optional)
|
||||
|
||||
|
||||
|
||||
Test serialization of outer number types
|
||||
|
||||
### Required Parameters
|
||||
@ -185,6 +189,7 @@ No authorization required
|
||||
> string FakeOuterStringSerialize(ctx, optional)
|
||||
|
||||
|
||||
|
||||
Test serialization of outer string types
|
||||
|
||||
### Required Parameters
|
||||
@ -227,6 +232,7 @@ No authorization required
|
||||
> TestBodyWithFileSchema(ctx, body)
|
||||
|
||||
|
||||
|
||||
For this test, the body for this request much reference a schema named `File`.
|
||||
|
||||
### Required Parameters
|
||||
@ -260,6 +266,7 @@ No authorization required
|
||||
> TestBodyWithQueryParams(ctx, query, body)
|
||||
|
||||
|
||||
|
||||
### Required Parameters
|
||||
|
||||
|
||||
@ -290,6 +297,7 @@ No authorization required
|
||||
## TestClientModel
|
||||
|
||||
> Client TestClientModel(ctx, body)
|
||||
|
||||
To test \"client\" model
|
||||
|
||||
To test \"client\" model
|
||||
@ -323,6 +331,7 @@ No authorization required
|
||||
## TestEndpointParameters
|
||||
|
||||
> TestEndpointParameters(ctx, number, double, patternWithoutDelimiter, byte_, optional)
|
||||
|
||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
|
||||
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
|
||||
@ -382,6 +391,7 @@ Name | Type | Description | Notes
|
||||
## TestEnumParameters
|
||||
|
||||
> TestEnumParameters(ctx, optional)
|
||||
|
||||
To test enum parameters
|
||||
|
||||
To test enum parameters
|
||||
@ -431,6 +441,7 @@ No authorization required
|
||||
## TestGroupParameters
|
||||
|
||||
> TestGroupParameters(ctx, requiredStringGroup, requiredBooleanGroup, requiredInt64Group, optional)
|
||||
|
||||
Fake endpoint to test group parameters (optional)
|
||||
|
||||
Fake endpoint to test group parameters (optional)
|
||||
@ -481,6 +492,7 @@ No authorization required
|
||||
## TestInlineAdditionalProperties
|
||||
|
||||
> TestInlineAdditionalProperties(ctx, param)
|
||||
|
||||
test inline additionalProperties
|
||||
|
||||
### Required Parameters
|
||||
@ -512,6 +524,7 @@ No authorization required
|
||||
## TestJsonFormData
|
||||
|
||||
> TestJsonFormData(ctx, param, param2)
|
||||
|
||||
test json serialization of form data
|
||||
|
||||
### Required Parameters
|
||||
@ -546,6 +559,7 @@ No authorization required
|
||||
> TestQueryParameterCollectionFormat(ctx, pipe, ioutil, http, url, context)
|
||||
|
||||
|
||||
|
||||
To test the collection format in query parameters
|
||||
|
||||
### Required Parameters
|
||||
|
@ -11,6 +11,7 @@ Method | HTTP request | Description
|
||||
## TestClassname
|
||||
|
||||
> Client TestClassname(ctx, body)
|
||||
|
||||
To test class name in snake case
|
||||
|
||||
To test class name in snake case
|
||||
|
@ -19,6 +19,7 @@ Method | HTTP request | Description
|
||||
## AddPet
|
||||
|
||||
> AddPet(ctx, body)
|
||||
|
||||
Add a new pet to the store
|
||||
|
||||
### Required Parameters
|
||||
@ -50,6 +51,7 @@ Name | Type | Description | Notes
|
||||
## DeletePet
|
||||
|
||||
> DeletePet(ctx, petId, optional)
|
||||
|
||||
Deletes a pet
|
||||
|
||||
### Required Parameters
|
||||
@ -92,6 +94,7 @@ Name | Type | Description | Notes
|
||||
## FindPetsByStatus
|
||||
|
||||
> []Pet FindPetsByStatus(ctx, status)
|
||||
|
||||
Finds Pets by status
|
||||
|
||||
Multiple status values can be provided with comma separated strings
|
||||
@ -125,6 +128,7 @@ Name | Type | Description | Notes
|
||||
## FindPetsByTags
|
||||
|
||||
> []Pet FindPetsByTags(ctx, tags)
|
||||
|
||||
Finds Pets by tags
|
||||
|
||||
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
|
||||
@ -158,6 +162,7 @@ Name | Type | Description | Notes
|
||||
## GetPetById
|
||||
|
||||
> Pet GetPetById(ctx, petId)
|
||||
|
||||
Find pet by ID
|
||||
|
||||
Returns a single pet
|
||||
@ -191,6 +196,7 @@ Name | Type | Description | Notes
|
||||
## UpdatePet
|
||||
|
||||
> UpdatePet(ctx, body)
|
||||
|
||||
Update an existing pet
|
||||
|
||||
### Required Parameters
|
||||
@ -222,6 +228,7 @@ Name | Type | Description | Notes
|
||||
## UpdatePetWithForm
|
||||
|
||||
> UpdatePetWithForm(ctx, petId, optional)
|
||||
|
||||
Updates a pet in the store with form data
|
||||
|
||||
### Required Parameters
|
||||
@ -265,6 +272,7 @@ Name | Type | Description | Notes
|
||||
## UploadFile
|
||||
|
||||
> ApiResponse UploadFile(ctx, petId, optional)
|
||||
|
||||
uploads an image
|
||||
|
||||
### Required Parameters
|
||||
@ -308,6 +316,7 @@ Name | Type | Description | Notes
|
||||
## UploadFileWithRequiredFile
|
||||
|
||||
> ApiResponse UploadFileWithRequiredFile(ctx, petId, requiredFile, optional)
|
||||
|
||||
uploads an image (required)
|
||||
|
||||
### Required Parameters
|
||||
|
@ -14,6 +14,7 @@ Method | HTTP request | Description
|
||||
## DeleteOrder
|
||||
|
||||
> DeleteOrder(ctx, orderId)
|
||||
|
||||
Delete purchase order by ID
|
||||
|
||||
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
|
||||
|
||||
> map[string]int32 GetInventory(ctx, )
|
||||
|
||||
Returns pet inventories by status
|
||||
|
||||
Returns a map of status codes to quantities
|
||||
@ -76,6 +78,7 @@ This endpoint does not need any parameter.
|
||||
## GetOrderById
|
||||
|
||||
> Order GetOrderById(ctx, orderId)
|
||||
|
||||
Find purchase order by ID
|
||||
|
||||
For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||
@ -109,6 +112,7 @@ No authorization required
|
||||
## PlaceOrder
|
||||
|
||||
> Order PlaceOrder(ctx, body)
|
||||
|
||||
Place an order for a pet
|
||||
|
||||
### Required Parameters
|
||||
|
@ -18,6 +18,7 @@ Method | HTTP request | Description
|
||||
## CreateUser
|
||||
|
||||
> CreateUser(ctx, body)
|
||||
|
||||
Create user
|
||||
|
||||
This can only be done by the logged in user.
|
||||
@ -51,6 +52,7 @@ No authorization required
|
||||
## CreateUsersWithArrayInput
|
||||
|
||||
> CreateUsersWithArrayInput(ctx, body)
|
||||
|
||||
Creates list of users with given input array
|
||||
|
||||
### Required Parameters
|
||||
@ -82,6 +84,7 @@ No authorization required
|
||||
## CreateUsersWithListInput
|
||||
|
||||
> CreateUsersWithListInput(ctx, body)
|
||||
|
||||
Creates list of users with given input array
|
||||
|
||||
### Required Parameters
|
||||
@ -113,6 +116,7 @@ No authorization required
|
||||
## DeleteUser
|
||||
|
||||
> DeleteUser(ctx, username)
|
||||
|
||||
Delete user
|
||||
|
||||
This can only be done by the logged in user.
|
||||
@ -146,6 +150,7 @@ No authorization required
|
||||
## GetUserByName
|
||||
|
||||
> User GetUserByName(ctx, username)
|
||||
|
||||
Get user by user name
|
||||
|
||||
### Required Parameters
|
||||
@ -177,6 +182,7 @@ No authorization required
|
||||
## LoginUser
|
||||
|
||||
> string LoginUser(ctx, username, password)
|
||||
|
||||
Logs user into the system
|
||||
|
||||
### Required Parameters
|
||||
@ -209,6 +215,7 @@ No authorization required
|
||||
## LogoutUser
|
||||
|
||||
> LogoutUser(ctx, )
|
||||
|
||||
Logs out current logged in user session
|
||||
|
||||
### Required Parameters
|
||||
@ -236,6 +243,7 @@ No authorization required
|
||||
## UpdateUser
|
||||
|
||||
> UpdateUser(ctx, username, body)
|
||||
|
||||
Updated user
|
||||
|
||||
This can only be done by the logged in user.
|
||||
|
Loading…
x
Reference in New Issue
Block a user