Skip to content
Snippets Groups Projects
Commit b2565ea0 authored by Martin Vogel's avatar Martin Vogel
Browse files

refactor: fix doc (planning#2246)

refactor: fix doc (planning#2246)
parent 162097f7
No related branches found
No related tags found
1 merge request!436planning#2267: Destination API Client
...@@ -5,7 +5,7 @@ import dev.fitko.fitconnect.api.exceptions.internal.RestApiException; ...@@ -5,7 +5,7 @@ import dev.fitko.fitconnect.api.exceptions.internal.RestApiException;
import java.util.Map; import java.util.Map;
/** /**
* HTTP-Service that provides basic HTTP verbs for GET, PUT and POST requests. * HTTP-Service that provides basic HTTP verbs for GET, PUT, POST, PATCH, and DELETE requests.
*/ */
public interface HttpClient { public interface HttpClient {
......
...@@ -93,7 +93,7 @@ public class DestinationClient { ...@@ -93,7 +93,7 @@ public class DestinationClient {
* List all self-created destinations and their configurations. * List all self-created destinations and their configurations.
* *
* @param offset position in the dataset * @param offset position in the dataset
* @param limit number of destinations in result-set (max. is 500) * @param limit number of destinations in a result-set (max. is 500)
* @return {@link Destinations} object with a set of destinations * @return {@link Destinations} object with a set of destinations
* @throws FitConnectDestinationException if the destinations couldn't be retrieved or a technical error occurred * @throws FitConnectDestinationException if the destinations couldn't be retrieved or a technical error occurred
*/ */
...@@ -136,7 +136,7 @@ public class DestinationClient { ...@@ -136,7 +136,7 @@ public class DestinationClient {
* *
* @param destinationId unique identifier of the destination * @param destinationId unique identifier of the destination
* @param offset position in the dataset * @param offset position in the dataset
* @param limit number of destinations in result-set (max. is 500) * @param limit number of destinations in the result-set (max. is 500)
* @return {@link ApiJwks} list of JWKs * @return {@link ApiJwks} list of JWKs
* @throws FitConnectDestinationException if the keys couldn't be retrieved or a technical error occurred * @throws FitConnectDestinationException if the keys couldn't be retrieved or a technical error occurred
*/ */
......
...@@ -6,6 +6,8 @@ import dev.fitko.fitconnect.api.domain.validation.ValidationResult; ...@@ -6,6 +6,8 @@ import dev.fitko.fitconnect.api.domain.validation.ValidationResult;
public class DestinationValidator { public class DestinationValidator {
// TODO should we validate any DTOs before sending them to the api ?
public ValidationResult validateNewDestination(CreateDestination createDestination){ public ValidationResult validateNewDestination(CreateDestination createDestination){
return ValidationResult.ok(); return ValidationResult.ok();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment