elm-open-api-cli
elm-open-api-cli copied to clipboard
A CLI tool for generating Elm modules from Open API specs.
https://github.com/wolfadex/elm-open-api-cli/blob/b6d90a63fddec9562135a9e03feafebcaa527c7f/src/Cli.elm#L86 This could be resolved permanently by implementing #117
Day dream idea, scan the local elm.json and see if these dependencies are already installed and only suggest installing if they aren't. _Originally posted by @wolfadex in https://github.com/wolfadex/elm-open-api-cli/pull/143#discussion_r1770640311_
https://github.com/wolfadex/elm-open-api-cli/blob/3b16258eca6c6d5f1a91d62d5bcf0fef1bd9edc2/src/OpenApi/Generate.elm#L2159-L2162 This error message could be improved to give examples of how to resolve it. An example of the output might look like ``` Warning: Among the 1 possible responses,...
**Describe the bug** Enum properties are created as strings, rather than custom types, and their decoders don't validate the decoded strings. **To Reproduce** Run the generator with this schema: ```yaml...
Servers can have variables like ```json { "servers": [ { "url": "https://{tenant}.app.com", "description": "Production server", "variables": { "tenant": { "default": "demo" } } }, { "url": "https://{tenant}.staging.app.com", "description": "Staging server",...
Resolves #117, fixes #148
`int64` is being handled as an Elm `Int`, which is unsafe. It should be `String` or some `BigInt` type.
**Describe the bug** The Clerk OAS generates 2 type aliases with the name `SAMLConnection`. One is a record alias and the other is an alias of another record alias (`SchemasSAMLConnection`)....
Thank you for your tremendous work on this package! I have found this issue: Given this spec ``` { "openapi": "3.1.0", "info": { "title": "API", "version": "0.1.0" }, "servers": [...