use GET as default http method

This commit is contained in:
Adil Hafeez 2024-12-06 00:48:11 -08:00
parent ea086b6ff9
commit 9a1dbc60b8
9 changed files with 16 additions and 5 deletions

View file

@ -202,9 +202,9 @@ pub struct EndpointDetails {
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash, Default)]
pub enum HttpMethod {
#[default]
#[serde(rename = "GET")]
Get,
#[default]
#[serde(rename = "POST")]
Post,
}