diff --git a/cherrybomb-oas/src/new_oas/paths.rs b/cherrybomb-oas/src/new_oas/paths.rs index 874227c..f0b9ebb 100644 --- a/cherrybomb-oas/src/new_oas/paths.rs +++ b/cherrybomb-oas/src/new_oas/paths.rs @@ -8,4 +8,32 @@ pub struct Paths { pub paths: HashMap, #[serde(flatten)] pub extensions: HashMap, -} \ No newline at end of file +} + +#[derive(Debug, Clone, Serialize, Deserialize, Default)] +pub struct PathItem { + pub item_ref: Option, + pub summary: Option, + pub description: Option, + pub get: Option, + pub put: Option, + pub post: Option, + pub delete: Option, + pub options: Option, + pub head: Option, + pub patch: Option, + pub trace: Option, + pub servers: Option>, + pub parameters: Option>, +} + +enum ParamRef { + Ref(RelReference), + Param(Parameter), +} + +pub struct Operation { + +} + +