Open Elise17 opened 4 months ago
We implemented a first version of the graphql documentation, called graphiql. Graphiql is an official graphql interface which allows you to have interactive documentation. It also allows you to send queries and see the result or detailed error messages. But we realized that using graphiql would have security impacts. In fact there would be no CSRF check and no CSP header on the nginx (even when the documentation option is enabled.)
We will implement the documentation with dociql (static documentation). This documentation will be generated with a configuration file.
@Elise17 Did you already implement the dociql function? Is there a branch number? Thanks!
Enrich the GraphQL API with with its own documentation.
The documentation must contain all queries and mutations of Cases :
and also all queries and mutations of Iocs :