forked from loafle/openapi-generator-original
Merge remote-tracking branch 'origin/master' into 2.3.0
This commit is contained in:
@@ -35,7 +35,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new FakeApi();
|
||||
var body = new OuterBoolean(); // OuterBoolean | Input boolean as post body (optional)
|
||||
|
||||
@@ -96,7 +95,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new FakeApi();
|
||||
var body = new OuterComposite(); // OuterComposite | Input composite as post body (optional)
|
||||
|
||||
@@ -157,7 +155,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new FakeApi();
|
||||
var body = new OuterNumber(); // OuterNumber | Input number as post body (optional)
|
||||
|
||||
@@ -218,7 +215,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new FakeApi();
|
||||
var body = new OuterString(); // OuterString | Input string as post body (optional)
|
||||
|
||||
@@ -279,7 +275,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new FakeApi();
|
||||
var body = new ModelClient(); // ModelClient | client model
|
||||
|
||||
@@ -341,7 +336,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
// Configure HTTP basic authorization: http_basic_test
|
||||
Configuration.Default.Username = "YOUR_USERNAME";
|
||||
Configuration.Default.Password = "YOUR_PASSWORD";
|
||||
@@ -432,7 +426,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new FakeApi();
|
||||
var enumFormStringArray = new List<string>(); // List<string> | Form parameter enum test (string array) (optional)
|
||||
var enumFormString = enumFormString_example; // string | Form parameter enum test (string) (optional) (default to -efg)
|
||||
|
||||
@@ -27,7 +27,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new Fake_classname_tags123Api();
|
||||
var body = new ModelClient(); // ModelClient | client model
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
// Configure OAuth2 access token for authorization: petstore_auth
|
||||
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
|
||||
|
||||
@@ -100,7 +99,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
// Configure OAuth2 access token for authorization: petstore_auth
|
||||
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
|
||||
|
||||
@@ -166,7 +164,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
// Configure OAuth2 access token for authorization: petstore_auth
|
||||
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
|
||||
|
||||
@@ -231,7 +228,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
// Configure OAuth2 access token for authorization: petstore_auth
|
||||
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
|
||||
|
||||
@@ -296,7 +292,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
// Configure API key authorization: api_key
|
||||
Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
|
||||
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||
@@ -363,7 +358,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
// Configure OAuth2 access token for authorization: petstore_auth
|
||||
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
|
||||
|
||||
@@ -427,7 +421,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
// Configure OAuth2 access token for authorization: petstore_auth
|
||||
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
|
||||
|
||||
@@ -495,7 +488,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
// Configure OAuth2 access token for authorization: petstore_auth
|
||||
Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";
|
||||
|
||||
|
||||
@@ -32,7 +32,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new StoreApi();
|
||||
var orderId = orderId_example; // string | ID of the order that needs to be deleted
|
||||
|
||||
@@ -93,7 +92,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
// Configure API key authorization: api_key
|
||||
Configuration.Default.ApiKey.Add("api_key", "YOUR_API_KEY");
|
||||
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||
@@ -156,7 +154,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new StoreApi();
|
||||
var orderId = 789; // long? | ID of pet that needs to be fetched
|
||||
|
||||
@@ -218,7 +215,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new StoreApi();
|
||||
var body = new Order(); // Order | order placed for purchasing the pet
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new UserApi();
|
||||
var body = new User(); // User | Created user object
|
||||
|
||||
@@ -97,7 +96,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new UserApi();
|
||||
var body = new List<User>(); // List<User> | List of user object
|
||||
|
||||
@@ -158,7 +156,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new UserApi();
|
||||
var body = new List<User>(); // List<User> | List of user object
|
||||
|
||||
@@ -219,7 +216,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new UserApi();
|
||||
var username = username_example; // string | The name that needs to be deleted
|
||||
|
||||
@@ -280,7 +276,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new UserApi();
|
||||
var username = username_example; // string | The name that needs to be fetched. Use user1 for testing.
|
||||
|
||||
@@ -342,7 +337,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new UserApi();
|
||||
var username = username_example; // string | The user name for login
|
||||
var password = password_example; // string | The password for login in clear text
|
||||
@@ -406,7 +400,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new UserApi();
|
||||
|
||||
try
|
||||
@@ -463,7 +456,6 @@ namespace Example
|
||||
{
|
||||
public void main()
|
||||
{
|
||||
|
||||
var apiInstance = new UserApi();
|
||||
var username = username_example; // string | name that need to be deleted
|
||||
var body = new User(); // User | Updated user object
|
||||
|
||||
Reference in New Issue
Block a user