sw4rm_rs/shared/
parameter_location.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Serialize, Deserialize, Copy, Clone, Ord, PartialOrd, Eq, PartialEq)]
4#[serde(rename_all = "lowercase")]
5pub enum ParameterLocation {
6    Query,
7    Header,
8    Path,
9    FormData,
10    Body,
11    Cookie
12}
13impl Default for ParameterLocation {
14    fn default() -> Self { Self::Query }
15}