Skip to content

Commit

Permalink
fix helidon openapi
Browse files Browse the repository at this point in the history
Signed-off-by: tvallin <thibault.vallin@oracle.com>
  • Loading branch information
tvallin committed Sep 18, 2023
1 parent 8edac72 commit 35178b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,11 @@
import jakarta.ws.rs.core.Response;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;

@Disabled("Jackson is still required")
class MainTest {
private static Server server;

Expand Down
5 changes: 5 additions & 0 deletions openapi/src/main/java/io/helidon/openapi/OpenAPISupport.java
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,11 @@ private Optional<MediaType> chooseResponseMediaType(ServerRequest req) {
*/
private static class HelidonAnnotationScannerExtension implements AnnotationScannerExtension {

@Override
public Object parseValue(String value) {
return parseExtension(null, value);
}

@Override
public Object parseExtension(String key, String value) {

Expand Down

0 comments on commit 35178b4

Please sign in to comment.