fn parse_operation( path: &str, method: Method, op: &Value, doc: &Value, ) -> Result<Operation, String>