Add openapi-to-rust to sdk category#96
Open
lightsofapollo wants to merge 2 commits into
Open
Conversation
Rust code generator for OpenAPI 3.1 specs that produces typed structs, async HTTP clients, and SSE streaming clients. Handles discriminated unions, anyOf/oneOf, allOf composition, and reconnecting SSE — useful for LLM APIs like OpenAI and Anthropic. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Per review on PR APIs-guru#96, tools.yaml is sorted by GitHub URL. Move the openapi-to-rust entry from the end of the file to its correct slot between gopher-fleece/gleece and grpc-ecosystem/grpc-gateway.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
openapi-to-rust— a Rust code generator that produces strongly-typed structs, async HTTP clients, and SSE streaming clients from OpenAPI 3.1 specs.Why it fills a gap in the existing list
The current Rust entries in
tools.yamlare mostly OpenAPI 3.0 parsers/serializers (openapi3-rust,keycloak-openapi). There isn't a Rust 3.1 client generator with first-class streaming support listed.openapi-to-rustcovers:oneOf/anyOf/allOf, discriminated unions\$refresolution — handles circular references and deep nestingEntry
```yaml
description: Generate strongly-typed Rust structs, async HTTP clients, and SSE streaming clients from OpenAPI 3.1 specs. Supports discriminated unions, anyOf/oneOf, allOf composition, circular $refs, and reconnecting SSE — built for LLM APIs (OpenAI, Anthropic) and similar.
github: https://github.com/gpu-cli/openapi-to-rust
v3: true
language: Rust
category: sdk
uuid: 2bf0f104-2acd-41ef-9fd4-4fa32e35eb50
downloads: 0
```
Format follows the same minimal style used in recent add-tool PRs (#88, #95) — auto-populated fields (stars/forks/etc.) left for the upstream tooling.