aide/openapi/
callback.rs

1use crate::openapi::*;
2use indexmap::IndexMap;
3
4/// A map of possible out-of band callbacks related to the parent operation.
5/// Each value in the map is a Path Item Object that describes a set of
6/// requests that may be initiated by the API provider and the expected
7/// responses. The key value used to identify the callback object is an
8/// expression, evaluated at runtime, that identifies a URL to use for the
9/// callback operation.
10pub type Callback = IndexMap<String, ReferenceOr<PathItem>>;