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
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
- name: Verify tag matches crate version
run: |
package_version="$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].version')"
package_version="$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[] | select(.name == "openapi-to-rust") | .version')"
test "${GITHUB_REF_NAME}" = "v${package_version}"
- run: cargo fmt --check
- run: cargo clippy --all-features -- -D warnings
Expand Down
16 changes: 14 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,18 @@ All notable changes are recorded here. This project follows semantic versioning,
with one pre-1.0 qualification: a minor release may change generated Rust APIs
when correcting output that was wrong or incomplete on the wire.

## [Unreleased]
## [0.8.0] - 2026-07-19

### Added

- An in-browser WASM playground at
[openapi-to-rust.dev/playground](https://openapi-to-rust.dev/playground):
paste a spec or fetch one by URL and get the exact generated file set —
byte-identical to `openapi-to-rust generate <SOURCE>` — with a downloadable
runnable crate.
- A default-on `cli` feature gating clap and reqwest. With
`--no-default-features` the library compiles on `wasm32-unknown-unknown`;
URL policy and spec parsing moved into the shared `spec_source` module.

### Fixed

Expand Down Expand Up @@ -94,7 +105,8 @@ when correcting output that was wrong or incomplete on the wire.
signed enum values, recursive unions, parameter collisions, optional request
bodies, range response codes, and path-segment encoding.

[Unreleased]: https://github.com/gpu-cli/openapi-to-rust/compare/v0.7.0...HEAD
[Unreleased]: https://github.com/gpu-cli/openapi-to-rust/compare/v0.8.0...HEAD
[0.8.0]: https://github.com/gpu-cli/openapi-to-rust/compare/v0.7.0...v0.8.0
[0.7.0]: https://github.com/gpu-cli/openapi-to-rust/compare/v0.6.0...v0.7.0
[0.6.0]: https://github.com/gpu-cli/openapi-to-rust/releases/tag/v0.6.0
[0.5.3]: https://github.com/gpu-cli/openapi-to-rust/compare/v0.5.2...v0.5.3
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exclude = ["tmp"]

[package]
name = "openapi-to-rust"
version = "0.7.0"
version = "0.8.0"
edition = "2024"
rust-version = "1.88.0"
autobins = false
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ hosted fixture:

```bash
cargo install --locked openapi-to-rust
openapi-to-rust generate https://raw.githubusercontent.com/gpu-cli/openapi-to-rust/v0.7.0/tests/fixtures/operation_extraction/simple_get.json
openapi-to-rust generate https://raw.githubusercontent.com/gpu-cli/openapi-to-rust/v0.8.0/tests/fixtures/operation_extraction/simple_get.json
```

This writes `src/generated/{types,client,mod}.rs` and the exact dependencies
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/docs/getting-started.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const install = `cargo install --locked openapi-to-rust
openapi-to-rust --version`;

const trial = `openapi-to-rust generate \\
https://raw.githubusercontent.com/gpu-cli/openapi-to-rust/v0.7.0/tests/fixtures/operation_extraction/simple_get.json`;
https://raw.githubusercontent.com/gpu-cli/openapi-to-rust/v0.8.0/tests/fixtures/operation_extraction/simple_get.json`;

const config = `[generator]
spec_path = "openapi.yaml"
Expand Down
4 changes: 2 additions & 2 deletions website/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const schemas = [
downloadUrl: "https://crates.io/crates/openapi-to-rust",
programmingLanguage: "Rust",
runtimePlatform: "Rust 1.88 or newer",
softwareVersion: "0.7.0",
softwareVersion: "0.8.0",
license: "https://opensource.org/license/mit",
keywords: "OpenAPI generator Rust, Rust API client generator, Axum server generator, Reqwest codegen",
},
Expand Down Expand Up @@ -94,7 +94,7 @@ const schemas = [
<a class="button button-primary" href="/playground">Try it in your browser <span aria-hidden="true">→</span></a>
<a class="button button-secondary" href="/docs/getting-started">Install the CLI <span aria-hidden="true">→</span></a>
</div>
<p class="hero-meta">v0.7.0 · Rust 1.88+ · MIT licensed</p>
<p class="hero-meta">v0.8.0 · Rust 1.88+ · MIT licensed</p>
</div>

<a
Expand Down
Loading