Netflix DGS configuration dgs.graphql.graphiql.enabled=true is not working

Netflix DGS configuration dgs.graphql.graphiql.enabled=true is not working


0

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.


Load 6 more related questions


Show fewer related questions

0



Leave a Reply

Your email address will not be published. Required fields are marked *