Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 28 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

## [0.8.0] - 2026-06-17

### Fixed

- [Missing fields with recursive `allOf.$ref` inheritance](https://github.com/wolfadex/elm-open-api-cli/pull/182). [Adam DiCarlo](https://github.com/adamdicarlo0)
- Paths security should override global security. [Adam DiCarlo](https://github.com/adamdicarlo0)
- Replace "OneOf" type names with hash to reduce the size, to avoid a corrupted cache issue with the Elm compiler [lucamug](https://github.com/lucamug)

### Added

- Support for params being passed in the header
- Support for `type : null`
- Support for `const : <value>`
- Support for oauth2
- HTTP BearerToken support
- [Support for `additionalProperties` in objects](https://github.com/wolfadex/elm-open-api-cli/pull/184). [Adam DiCarlo](https://github.com/adamdicarlo0)
- Support for `application/octet-stream`. [Rónán](https://github.com/ronanyeah)
- Support for path-level parameters. [Neyts Zupan](https://github.com/zupo)
- [Leonardo Taglialegne](https://github.com/miniBill):
- Support for `type : null`
- Support for `const : <value>`
- Improved error messages
- Warnings for missing formats
- Support for URI format
- Support for the post-authentication token use in oauth2
- Support for object params
- Support for bytes
- Handle duplicate server listings
- Support for UUIDs format
- Improved YAML support
- Support for cookie authentication
- Support for `anyOf` where possible
- Support for `password` format
- Lists of 2 or 3 are now formated as `Tuple`s
- Support for `multipart/form-data`
- Support for recursive types
- Support for regex pattern


## [0.7.0] - 2024-09-23

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2022-2025 Wolfgang Schuster
Copyright (c) 2022-2026 Wolfgang Schuster

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
139 changes: 68 additions & 71 deletions cli/elm.json
Original file line number Diff line number Diff line change
@@ -1,75 +1,72 @@
{
"type": "application",
"source-directories": [
"src",
"../src"
],
"elm-version": "0.19.1",
"dependencies": {
"direct": {
"dillonkearns/elm-cli-options-parser": "5.0.1",
"dillonkearns/elm-pages": "12.2.1",
"elm/bytes": "1.0.8",
"elm/core": "1.0.5",
"elm/json": "1.1.4",
"elm/parser": "1.1.0",
"elm/regex": "1.0.0",
"elm/url": "1.0.0",
"elmcraft/core-extra": "2.3.0",
"json-tools/json-schema": "1.0.2",
"json-tools/json-value": "1.0.1",
"mdgriffith/elm-codegen": "6.0.3",
"miniBill/elm-fast-dict": "1.2.6",
"miniBill/elm-parser-error-extra": "1.0.1",
"miniBill/elm-yaml": "1.0.0",
"pithub/elm-parser-bug-workaround": "1.0.0",
"robinheghan/murmur3": "1.0.0",
"the-sett/elm-pretty-printer": "3.3.1",
"wolfadex/elm-ansi": "3.0.1",
"wolfadex/elm-open-api": "2.0.0"
},
"indirect": {
"BrianHicks/elm-string-graphemes": "1.0.4",
"Chadtech/elm-bool-extra": "2.4.2",
"MaybeJustJames/yaml": "2.1.7",
"NoRedInk/elm-json-decode-pipeline": "1.0.1",
"avh4/elm-color": "1.0.0",
"danyx23/elm-mimetype": "4.0.1",
"dillonkearns/elm-bcp47-language-tag": "2.0.0",
"dillonkearns/elm-date-or-date-time": "2.0.0",
"dillonkearns/elm-form": "3.1.0",
"dillonkearns/elm-ts-json": "2.1.3",
"dividat/elm-semver": "2.0.0",
"elm/browser": "1.0.2",
"elm/file": "1.0.5",
"elm/html": "1.0.1",
"elm/http": "2.0.0",
"elm/random": "1.0.0",
"elm/time": "1.0.0",
"elm/virtual-dom": "1.0.5",
"elm-community/dict-extra": "2.4.0",
"elm-community/json-extra": "4.3.0",
"elm-community/list-extra": "8.7.0",
"elm-explorations/test": "2.2.1",
"fredcy/elm-parseint": "2.0.1",
"jluckyiv/elm-utc-date-strings": "1.0.0",
"justinmimbs/date": "4.1.0",
"miniBill/elm-codec": "2.3.1",
"miniBill/elm-unicode": "1.1.2",
"noahzgordon/elm-color-extra": "1.0.2",
"pithub/elm-parser-extra": "1.0.0",
"robinheghan/fnv1a": "1.0.0",
"rtfeldman/elm-css": "18.0.0",
"rtfeldman/elm-hex": "1.0.0",
"rtfeldman/elm-iso8601-date-strings": "1.1.4",
"stil4m/elm-syntax": "7.3.9",
"stil4m/structured-writer": "1.0.3",
"the-sett/elm-syntax-dsl": "6.0.5",
"zwilias/elm-utf-tools": "2.0.1"
}
"type": "application",
"source-directories": ["src", "../src"],
"elm-version": "0.19.1",
"dependencies": {
"direct": {
"dillonkearns/elm-cli-options-parser": "5.0.1",
"dillonkearns/elm-pages": "12.2.1",
"elm/bytes": "1.0.8",
"elm/core": "1.0.5",
"elm/json": "1.1.4",
"elm/parser": "1.1.0",
"elm/regex": "1.0.0",
"elm/url": "1.0.0",
"elmcraft/core-extra": "2.3.0",
"json-tools/json-schema": "1.0.2",
"json-tools/json-value": "1.0.1",
"mdgriffith/elm-codegen": "6.0.3",
"miniBill/elm-fast-dict": "1.2.6",
"miniBill/elm-parser-error-extra": "1.0.1",
"miniBill/elm-yaml": "1.0.0",
"pithub/elm-parser-bug-workaround": "1.0.0",
"robinheghan/murmur3": "1.0.0",
"the-sett/elm-pretty-printer": "3.3.1",
"wolfadex/elm-ansi": "3.0.1",
"wolfadex/elm-open-api": "2.0.0"
},
"test-dependencies": {
"direct": {},
"indirect": {}
"indirect": {
"BrianHicks/elm-string-graphemes": "1.0.4",
"Chadtech/elm-bool-extra": "2.4.2",
"MaybeJustJames/yaml": "2.1.7",
"NoRedInk/elm-json-decode-pipeline": "1.0.1",
"avh4/elm-color": "1.0.0",
"danyx23/elm-mimetype": "4.0.1",
"dillonkearns/elm-bcp47-language-tag": "2.0.0",
"dillonkearns/elm-date-or-date-time": "2.0.0",
"dillonkearns/elm-form": "3.1.0",
"dillonkearns/elm-ts-json": "2.1.3",
"dividat/elm-semver": "2.0.0",
"elm/browser": "1.0.2",
"elm/file": "1.0.5",
"elm/html": "1.0.1",
"elm/http": "2.0.0",
"elm/random": "1.0.0",
"elm/time": "1.0.0",
"elm/virtual-dom": "1.0.5",
"elm-community/dict-extra": "2.4.0",
"elm-community/json-extra": "4.3.0",
"elm-community/list-extra": "8.7.0",
"elm-explorations/test": "2.2.1",
"fredcy/elm-parseint": "2.0.1",
"jluckyiv/elm-utc-date-strings": "1.0.0",
"justinmimbs/date": "4.1.0",
"miniBill/elm-codec": "2.3.1",
"miniBill/elm-unicode": "1.1.2",
"noahzgordon/elm-color-extra": "1.0.2",
"pithub/elm-parser-extra": "1.0.0",
"robinheghan/fnv1a": "1.0.0",
"rtfeldman/elm-css": "18.0.0",
"rtfeldman/elm-hex": "1.0.0",
"rtfeldman/elm-iso8601-date-strings": "1.1.4",
"stil4m/elm-syntax": "7.3.9",
"stil4m/structured-writer": "1.0.3",
"the-sett/elm-syntax-dsl": "6.0.5",
"zwilias/elm-utf-tools": "2.0.1"
}
},
"test-dependencies": {
"direct": {},
"indirect": {}
}
}
2 changes: 2 additions & 0 deletions mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tools]
node = "latest"
72 changes: 36 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"name": "elm-open-api",
"version": "0.7.0",
"description": "A tool for generating Elm SDKs from OpenAPI Specs.",
"main": "dist/elm-open-api.js",
"bin": "dist/elm-open-api.js",
"type": "module",
"scripts": {
"dev": "cd cli && elm-pages run src/Cli.elm",
"docs": "elm make --docs=docs.json",
"build": "cd cli && elm-pages bundle-script src/Cli.elm --output ../dist/elm-open-api.js --optimize 1",
"review": "elm-review",
"review:watch": "elm-review --watch --fix",
"format": "elm-format src tests --validate",
"test": "elm-test",
"test:gen": "cd cli && elm-pages run src/TestGenScript.elm",
"test:watch": "elm-test --watch",
"pub": "npm run build && npm publish"
},
"author": "Wolfgang Schuster",
"license": "MIT",
"devDependencies": {
"@lydell/elm-json": "0.2.13-1",
"@redocly/cli": "1.11.0",
"elm": "0.19.1-6",
"elm-codegen": "^0.6.3",
"elm-format": "0.8.7",
"elm-optimize-level-2": "0.3.5",
"elm-pages": "^3.5.0",
"elm-review": "^2.13.5",
"elm-test": "^0.19.1-revision17",
"lamdera": "^0.19.1-1.4.0",
"vite": "^6.0.3"
},
"volta": {
"node": "20.11.0"
}
"name": "elm-open-api",
"version": "0.8.0",
"description": "A tool for generating Elm SDKs from OpenAPI Specs.",
"main": "dist/elm-open-api.js",
"bin": "dist/elm-open-api.js",
"type": "module",
"scripts": {
"dev": "cd cli && elm-pages run src/Cli.elm",
"docs": "elm make --docs=docs.json",
"build": "cd cli && elm-pages bundle-script src/Cli.elm --output ../dist/elm-open-api.js --optimize 1",
"review": "elm-review",
"review:watch": "elm-review --watch --fix",
"format": "elm-format src tests --validate",
"test": "elm-test",
"test:gen": "cd cli && elm-pages run src/TestGenScript.elm",
"test:watch": "elm-test --watch",
"pub": "npm run build && npm publish"
},
"author": "Wolfgang Schuster",
"license": "MIT",
"devDependencies": {
"@lydell/elm-json": "0.2.13-1",
"@redocly/cli": "1.11.0",
"elm": "0.19.1-6",
"elm-codegen": "^0.6.3",
"elm-format": "0.8.7",
"elm-optimize-level-2": "0.3.5",
"elm-pages": "^3.5.0",
"elm-review": "^2.13.5",
"elm-test": "^0.19.1-revision17",
"lamdera": "^0.19.1-1.4.0",
"vite": "^6.0.3"
},
"volta": {
"node": "20.11.0"
}
}
Loading