Skip to content

Commit

Permalink
Fix wrong type in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Elscrux committed May 28, 2024
1 parent f0c904f commit 842d8d4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import edu.kit.provideq.toolbox.meta.ProblemManagerProvider;
import edu.kit.provideq.toolbox.meta.ProblemSolver;
import edu.kit.provideq.toolbox.meta.ProblemType;
import edu.kit.provideq.toolbox.meta.SubRoutineDefinition;
import io.swagger.v3.oas.annotations.enums.ParameterIn;
import org.springdoc.core.fn.builders.content.Builder;
import org.springframework.beans.factory.annotation.Autowired;
Expand Down Expand Up @@ -133,7 +132,7 @@ private static Builder getOkResponseContent(ProblemManager<?, ?> manager) {
.name(manager.getType().getId())
.value(example))
.array(arraySchemaBuilder().schema(
schemaBuilder().implementation(SubRoutineDefinition.class)));
schemaBuilder().implementation(SubRoutineDefinitionDto.class)));
}

private String getSubRoutinesRouteForProblemType(ProblemType<?, ?> type) {
Expand Down

0 comments on commit 842d8d4

Please sign in to comment.