Aleksandr created IGNITE-20798:
----------------------------------

             Summary: Verify every endpoint works in Swagger UI
                 Key: IGNITE-20798
                 URL: https://issues.apache.org/jira/browse/IGNITE-20798
             Project: Ignite
          Issue Type: Improvement
          Components: rest
            Reporter: Aleksandr


After IGNITE-20783 is done there is a docker-compose file that launches swagger 
ui. The thing is that I've tested a couple of endpoints manually but now I can 
see that some of them are not working in swagger ui. For example, try to fetch 
the node configuration.

The problem is that there is a lack of content-type annotations in the api 
definitions and "Content-Type" header must be enabled for CORS. 

The goal of this issue is to check every endpoint available in Swagger UI and 
fix all issues that happens there. And add "Content-Type" for CORS. 

result.put("micronaut.server.cors.configurations.web.allowed-headers", 
List.of("Authorization", "Content-Type"));



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to