Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
[skip ci] Fixed some Java-Doc issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Wiechmann committed Sep 30, 2019
1 parent 1f07931 commit ffdb193
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class CommandParameters {
/**
* Use this constructor manually build a CommandParameters instance.
* This is useful when calling Swagger-Promote other classes or running tests.
* @param manualParams
* @param manualParams to be used for parameter lookup internally
*/
public CommandParameters (Map<String, String> manualParams) {
this.manualParams = manualParams;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ public class APIImportConfigAdapter {

/**
* Constructor just for testing. Don't use it!
* @param apiConfig the desired API to test with
* @param apiConfigFile this is the given config file
*/
public APIImportConfigAdapter(IAPI apiConfig, String apiConfigFile) {
this.apiConfig = apiConfig;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ private static void getCsrfToken(HttpResponse response, boolean useAdminClient)
* This helps to use features, that are introduced with a certain version or even service-pack.
* @param version has the API-Manager this version of higher?
* @return false if API-Manager doesn't have this version otherwise true
* @throws AppException if the API-Manager version can't be detected
*/
public static boolean hasAPIManagerVersion(String version) {
try {
Expand Down Expand Up @@ -740,6 +739,9 @@ public JsonNode getExistingAPI(String apiPath, List<NameValuePair> filter, Strin
* as it's stored in the API-Manager. The result is basically used to create the APIManagerAPI in
* method getAPIManagerAPI
* @param apiPath path of the API, which can be considered as the key.
* @param filter restrict the search by these filters
* @param type must be TYPE_FRONT_END or TYPE_FRONT_END
* @param logMessage flag to control if the error message should be printed or not
* @return the JSON-Configuration as it's returned from the API-Manager REST-API /proxies endpoint.
* @throws AppException if the API can't be found or created
*/
Expand Down Expand Up @@ -1169,7 +1171,7 @@ public static JsonNode getCertInfo(InputStream certFile, CaCert cert) throws App
/**
* Helper method to translate a Base64 encoded format
* as it's needed by the API-Manager.
* @param certFile input stream to the certificate file
* @param certificate the certificate content
* @param filename the name of the certificate file used as a reference in the generated Json object
* @throws AppException when the certificate information can't be created
* @return a Json-Object structure as needed by the API-Manager
Expand Down

0 comments on commit ffdb193

Please sign in to comment.