Netflix DGS configuration dgs.graphql.graphiql.enabled=true is not working.
I have also added this config – dgs.graphql.graphiql.path=/graphiql
I have a spring boot application in maven and I have implemented my graphQL APIs using Netflix DGS. APIs are working fine using postman but when I try to enable graphiql by hitting /graphiql end point, it gives me the below error.
Error –
javax.servlet.ServletException: Could not resolve view with name 'forward:/graphiql/index.html' in servlet with name 'dispatcherServlet'
at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1385)
Can anyone please help me resolve this issue.