-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
templates updates #986
templates updates #986
Conversation
barcigabri
commented
Oct 29, 2024
- feat: apiInner template update
- feat: added new template csharp
* Helper method to set username for the first HTTP basic authentication. | ||
* | ||
* @param username Username | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
togliere
* @param service Service to access to | ||
*/ | ||
public void setAWS4Configuration(String accessKey, String secretKey, String sessionToken, String region, String service) { | ||
{{#withAWSV4Signature}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
togliere
* @return Token request builder | ||
*/ | ||
public TokenRequestBuilder getTokenEndPoint() { | ||
for (Authentication apiAuth : authentications.values()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
togliere
@@ -286,8 +286,8 @@ public class {{classname}} { | |||
* @return {{.}}{{/returnType}} | |||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | |||
{{#responses.0}} | |||
* @http.response.details <table border="1"> | |||
<caption>Response Details</caption> | |||
* @http.response.details |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revertare
@@ -326,8 +326,8 @@ public class {{classname}} { | |||
* @return ApiResponse<{{returnType}}{{^returnType}}Void{{/returnType}}> | |||
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body | |||
{{#responses.0}} | |||
* @http.response.details <table border="1"> | |||
<caption>Response Details</caption> | |||
* @http.response.details |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revertare
@@ -394,8 +394,8 @@ public class {{classname}} { | |||
* @return The request call | |||
* @throws ApiException If fail to process the API call, e.g. serializing the request body object | |||
{{#responses.0}} | |||
* @http.response.details <table border="1"> | |||
<caption>Response Details</caption> | |||
* @http.response.details |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revertare
@@ -568,8 +568,8 @@ public class {{classname}} { | |||
* @param {{paramName}} {{description}} (required){{/requiredParams}} | |||
* @return API{{operationId}}Request | |||
{{#responses.0}} | |||
* @http.response.details <table border="1"> | |||
<caption>Response Details</caption> | |||
* @http.response.details |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revertare
## {{operationId}} | ||
|
||
{{^vendorExtensions.x-group-parameters}} | ||
<a id="{{operationId}}"></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revertare
@@ -97,8 +97,8 @@ public class {{classname}} { | |||
* @return Call to execute | |||
* @throws ApiException If fail to serialize the request body object | |||
{{#responses.0}} | |||
* @http.response.details <table border="1"> | |||
<caption>Response Details</caption> | |||
* @http.response.details |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
revertare