Skip to main content

Crate postman_collection

Crate postman_collection 

Source
Expand description

Postman Collection serialization and deserialization helpers.

Postman Collection input is parsed from JSON by default. JSON serialization is available by default. Enable the crate feature yaml to also accept YAML input and serialize parsed collections with to_yaml.

Re-exports§

pub use errors::Error;
pub use errors::Result;

Modules§

errors
Errors that Postman Collection functions may return
v1_0_0
v2_0_0
v2_1_0

Enums§

PostmanCollection
Supported versions of Postman Collection.
PostmanCollectionVersion
Supported versions of Postman Collection.

Functions§

from_path
Deserialize a Postman Collection from a path
from_reader
Deserialize a Postman Collection from type which implements Read
from_slice
Deserialize a Postman Collection from a byte slice
from_str
Deserialize a Postman Collection from a string slice
to_json
Serialize Postman Collection spec to JSON string
to_yamlyaml
Serialize a Postman Collection to a YAML string.