elm-open-api-cli
elm-open-api-cli copied to clipboard
Support for custom headers
Is there a way send custom headers with the generated Cmd/Task endpoints? For instance for cache control, authentication ...
With regards to authentication, you can specify it in the openapi spec and then the generator will make the functions take additional parameters.
For cache control, the tool doesn't currently support it.
@wolfadex now that we have the more granular effects, we could have elm/http.taskRecord?
Oh! We can do that now!! Will add it to the list of things to do
@myrho you can now use elm/http.taskrecord as the effect type and change the resulting record