Docs.rs
openapi-to-rust-0.8.0
openapi-to-rust 0.8.0
Permalink
Docs.rs crate page
MIT
20 July 2026
Links
Homepage
Repository
crates.io
Source
Owners
lightsofapollo
Dependencies
clap ^4.5
normal
optional
heck ^0.5
normal
insta ^1.41
normal
optional
once_cell ^1.19
normal
prettyplease ^0.2
normal
proc-macro2 ^1.0
normal
quote ^1.0
normal
reqwest ^0.12
normal
optional
serde ^1.0
normal
serde_json ^1.0
normal
serde_yaml ^0.9
normal
specta ^2.0.0-rc
normal
optional
syn ^2.0
normal
tempfile ^3.0
normal
optional
thiserror ^1.0
normal
toml ^0.8
normal
toml_edit ^0.22
normal
url ^2
normal
insta ^1.41
dev
serde_yaml ^0.9
dev
tempfile ^3.0
dev
Versions
43.82%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
parse_spec
openapi_
to_
rust
0.8.0
In openapi_
to_
rust::
spec_
source
openapi_to_rust
::
spec_source
Function
parse_
spec
Copy item path
Source
pub fn parse_spec(content: &
str
, input: &
str
) ->
Result
<
Value
,
Box
<dyn
Error
>>