Docs.rs
oas3-0.5.0
oas3 0.5.0
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
robjtede
Dependencies
bytes ^1.5
normal
colored ^2
normal
optional
derive_more ^0.99
normal
futures-util ^0.3
normal
http ^1
normal
log ^0.4
normal
once_cell ^1
normal
prettytable-rs ^0.10
normal
optional
regex ^1
normal
reqwest ^0.12
normal
optional
semver ^1
normal
serde ^1
normal
serde_json ^1
normal
serde_yaml ^0.9
normal
url ^2
normal
color-eyre ^0.6
dev
dotenvy ^0.15
dev
eyre ^0.6
dev
maplit ^1
dev
pretty_assertions ^1
dev
pretty_env_logger ^0.5
dev
tokio ^1
dev
Versions
73.91%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
oas3
0.5.0
Function
oas3
::
to_yaml
Copy item path
source
ยท
[
−
]
pub fn to_yaml(spec: &
OpenApiV3Spec
) ->
Result
<
String
,
Error
>
Expand description
Try serializing to a YAML string.