1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
use super::*;
#[derive(
Debug, PartialEq, Serialize, Deserialize, Clone, Getters, Sparsable, Default, OApiCheck, OApiExt,
)]
#[getset(get = "pub")]
#[serde(rename_all = "camelCase")]
#[serde(default)]
pub struct OApiComponents {
links: HashMap<String, OApiLink>,
schemas: HashMap<String, OperatorSelector<OApiSchema>>,
responses: HashMap<String, OApiResponse>,
parameters: HashMap<String, OApiParameter>,
examples: HashMap<String, OApiExampleSelector>,
request_bodies: HashMap<String, OApiRequestBody>,
headers: HashMap<String, OApiHeader>,
security_schemes: HashMap<String, OApiSecurityScheme>,
callbacks: HashMap<String, OApiCallback>,
#[serde(flatten)]
#[getset(get)]
_extension: HashMap<String, Value>,
}