Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ conversion = [
ammonia = "4"
async-trait = "0.1"
axum = { version = "0.8", features = ["multipart"] }
axum-extra = { version = "0.12", features = ["cookie", "query"] }
axum-extra = { version = "0.12", features = [
"cookie",
"query",
"typed-header",
] }
base64 = "0.22"
bytes = "1"
chrono = { version = "0.4", features = ["serde"] }
Expand All @@ -51,6 +55,7 @@ frunk-enum-core = { version = "0.3", optional = true }
frunk-enum-derive = { version = "0.3", optional = true }
frunk_core = { version = "0.4", optional = true }
frunk_derives = { version = "0.4", optional = true }
headers = "0.4"
http = "1"
lazy_static = "1"
regex = "1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ pub trait ErrorHandler<E: std::fmt::Debug + Send + Sync + 'static = ()> {
async fn handle_error(
&self,
method: &::http::Method,
host: &axum_extra::extract::Host,
host: &headers::Host,
cookies: &axum_extra::extract::CookieJar,
error: E
) -> Result<axum::response::Response, http::StatusCode> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use async_trait::async_trait;
use axum::extract::*;
use axum_extra::extract::{CookieJar, Host};
use axum_extra::extract::CookieJar;
use bytes::Bytes;
use headers::Host;
use http::Method;
use serde::{Deserialize, Serialize};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
use std::collections::HashMap;

use axum::{body::Body, extract::*, response::Response, routing::*};
use axum_extra::extract::{CookieJar, Host, Query as QueryExtra};
use axum_extra::{
TypedHeader,
extract::{CookieJar, Query as QueryExtra},
};
use bytes::Bytes;
use http::{header::CONTENT_TYPE, HeaderMap, HeaderName, HeaderValue, Method, StatusCode};
use headers::Host;
use http::{HeaderMap, HeaderName, HeaderValue, Method, StatusCode, header::CONTENT_TYPE};
use tracing::error;
use validator::{Validate, ValidationErrors};

use crate::{header, types::*};

#[allow(unused_imports)]
use crate::{apis, models};

use crate::{header, types::*};
#[allow(unused_imports)]
use crate::{models::check_xss_string, models::check_xss_vec_string, models::check_xss_map_string, models::check_xss_map_nested, models::check_xss_map};
use crate::{
models::check_xss_map, models::check_xss_map_nested, models::check_xss_map_string,
models::check_xss_string, models::check_xss_vec_string,
};
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#[tracing::instrument(skip_all)]
async fn {{#vendorExtensions}}{{{x-operation-id}}}{{/vendorExtensions}}<I, A, E{{#havingAuthMethod}}, C{{/havingAuthMethod}}>(
method: Method,
host: Host,
TypedHeader(host): TypedHeader<Host>,
cookies: CookieJar,
{{#headerParams.size}}
headers: HeaderMap,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.18.0-SNAPSHOT
7.19.0-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ conversion = [
ammonia = "4"
async-trait = "0.1"
axum = { version = "0.8", features = ["multipart"] }
axum-extra = { version = "0.12", features = ["cookie", "query"] }
axum-extra = { version = "0.12", features = [
"cookie",
"query",
"typed-header",
] }
base64 = "0.22"
bytes = "1"
chrono = { version = "0.4", features = ["serde"] }
Expand All @@ -30,6 +34,7 @@ frunk-enum-core = { version = "0.3", optional = true }
frunk-enum-derive = { version = "0.3", optional = true }
frunk_core = { version = "0.4", optional = true }
frunk_derives = { version = "0.4", optional = true }
headers = "0.4"
http = "1"
lazy_static = "1"
regex = "1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ server, you can easily generate a server stub.
To see how to make this your own, look here: [README]((https://openapi-generator.tech))

- API version: 1.0.0
- Generator version: 7.18.0-SNAPSHOT
- Generator version: 7.19.0-SNAPSHOT



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub trait ErrorHandler<E: std::fmt::Debug + Send + Sync + 'static = ()> {
async fn handle_error(
&self,
method: &::http::Method,
host: &axum_extra::extract::Host,
host: &headers::Host,
cookies: &axum_extra::extract::CookieJar,
error: E,
) -> Result<axum::response::Response, http::StatusCode> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use async_trait::async_trait;
use axum::extract::*;
use axum_extra::extract::{CookieJar, Host};
use axum_extra::extract::CookieJar;
use bytes::Bytes;
use headers::Host;
use http::Method;
use serde::{Deserialize, Serialize};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
use std::collections::HashMap;

use axum::{body::Body, extract::*, response::Response, routing::*};
use axum_extra::extract::{CookieJar, Host, Query as QueryExtra};
use axum_extra::{
TypedHeader,
extract::{CookieJar, Query as QueryExtra},
};
use bytes::Bytes;
use headers::Host;
use http::{HeaderMap, HeaderName, HeaderValue, Method, StatusCode, header::CONTENT_TYPE};
use tracing::error;
use validator::{Validate, ValidationErrors};

use crate::{header, types::*};

#[allow(unused_imports)]
use crate::{apis, models};

use crate::{header, types::*};
#[allow(unused_imports)]
use crate::{
models::check_xss_map, models::check_xss_map_nested, models::check_xss_map_string,
Expand Down Expand Up @@ -61,7 +63,7 @@ fn get_payment_method_by_id_validation(
#[tracing::instrument(skip_all)]
async fn get_payment_method_by_id<I, A, E, C>(
method: Method,
host: Host,
TypedHeader(host): TypedHeader<Host>,
cookies: CookieJar,
headers: HeaderMap,
Path(path_params): Path<models::GetPaymentMethodByIdPathParams>,
Expand Down Expand Up @@ -216,7 +218,7 @@ fn get_payment_methods_validation() -> std::result::Result<(), ValidationErrors>
#[tracing::instrument(skip_all)]
async fn get_payment_methods<I, A, E, C>(
method: Method,
host: Host,
TypedHeader(host): TypedHeader<Host>,
cookies: CookieJar,
headers: HeaderMap,
State(api_impl): State<I>,
Expand Down Expand Up @@ -365,7 +367,7 @@ fn post_make_payment_validation(
#[tracing::instrument(skip_all)]
async fn post_make_payment<I, A, E, C>(
method: Method,
host: Host,
TypedHeader(host): TypedHeader<Host>,
cookies: CookieJar,
headers: HeaderMap,
State(api_impl): State<I>,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.18.0-SNAPSHOT
7.19.0-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ conversion = [
ammonia = "4"
async-trait = "0.1"
axum = { version = "0.8", features = ["multipart"] }
axum-extra = { version = "0.12", features = ["cookie", "query"] }
axum-extra = { version = "0.12", features = [
"cookie",
"query",
"typed-header",
] }
base64 = "0.22"
bytes = "1"
chrono = { version = "0.4", features = ["serde"] }
Expand All @@ -30,6 +34,7 @@ frunk-enum-core = { version = "0.3", optional = true }
frunk-enum-derive = { version = "0.3", optional = true }
frunk_core = { version = "0.4", optional = true }
frunk_derives = { version = "0.4", optional = true }
headers = "0.4"
http = "1"
lazy_static = "1"
regex = "1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ server, you can easily generate a server stub.
To see how to make this your own, look here: [README]((https://openapi-generator.tech))

- API version: 1.0.0
- Generator version: 7.18.0-SNAPSHOT
- Generator version: 7.19.0-SNAPSHOT



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub trait ErrorHandler<E: std::fmt::Debug + Send + Sync + 'static = ()> {
async fn handle_error(
&self,
method: &::http::Method,
host: &axum_extra::extract::Host,
host: &headers::Host,
cookies: &axum_extra::extract::CookieJar,
error: E,
) -> Result<axum::response::Response, http::StatusCode> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use async_trait::async_trait;
use axum::extract::*;
use axum_extra::extract::{CookieJar, Host};
use axum_extra::extract::CookieJar;
use bytes::Bytes;
use headers::Host;
use http::Method;
use serde::{Deserialize, Serialize};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
use std::collections::HashMap;

use axum::{body::Body, extract::*, response::Response, routing::*};
use axum_extra::extract::{CookieJar, Host, Query as QueryExtra};
use axum_extra::{
TypedHeader,
extract::{CookieJar, Query as QueryExtra},
};
use bytes::Bytes;
use headers::Host;
use http::{HeaderMap, HeaderName, HeaderValue, Method, StatusCode, header::CONTENT_TYPE};
use tracing::error;
use validator::{Validate, ValidationErrors};

use crate::{header, types::*};

#[allow(unused_imports)]
use crate::{apis, models};

use crate::{header, types::*};
#[allow(unused_imports)]
use crate::{
models::check_xss_map, models::check_xss_map_nested, models::check_xss_map_string,
Expand Down Expand Up @@ -59,7 +61,7 @@ fn get_payment_method_by_id_validation(
#[tracing::instrument(skip_all)]
async fn get_payment_method_by_id<I, A, E, C>(
method: Method,
host: Host,
TypedHeader(host): TypedHeader<Host>,
cookies: CookieJar,
headers: HeaderMap,
Path(path_params): Path<models::GetPaymentMethodByIdPathParams>,
Expand Down Expand Up @@ -163,7 +165,7 @@ fn get_payment_methods_validation() -> std::result::Result<(), ValidationErrors>
#[tracing::instrument(skip_all)]
async fn get_payment_methods<I, A, E, C>(
method: Method,
host: Host,
TypedHeader(host): TypedHeader<Host>,
cookies: CookieJar,
headers: HeaderMap,
State(api_impl): State<I>,
Expand Down Expand Up @@ -261,7 +263,7 @@ fn post_make_payment_validation(
#[tracing::instrument(skip_all)]
async fn post_make_payment<I, A, E, C>(
method: Method,
host: Host,
TypedHeader(host): TypedHeader<Host>,
cookies: CookieJar,
headers: HeaderMap,
State(api_impl): State<I>,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.18.0-SNAPSHOT
7.19.0-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ conversion = [
ammonia = "4"
async-trait = "0.1"
axum = { version = "0.8", features = ["multipart"] }
axum-extra = { version = "0.12", features = ["cookie", "query"] }
axum-extra = { version = "0.12", features = [
"cookie",
"query",
"typed-header",
] }
base64 = "0.22"
bytes = "1"
chrono = { version = "0.4", features = ["serde"] }
Expand All @@ -30,6 +34,7 @@ frunk-enum-core = { version = "0.3", optional = true }
frunk-enum-derive = { version = "0.3", optional = true }
frunk_core = { version = "0.4", optional = true }
frunk_derives = { version = "0.4", optional = true }
headers = "0.4"
http = "1"
lazy_static = "1"
regex = "1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ server, you can easily generate a server stub.
To see how to make this your own, look here: [README]((https://openapi-generator.tech))

- API version: 1.0.7
- Generator version: 7.18.0-SNAPSHOT
- Generator version: 7.19.0-SNAPSHOT



Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use async_trait::async_trait;
use axum::extract::*;
use axum_extra::extract::{CookieJar, Host};
use axum_extra::extract::CookieJar;
use bytes::Bytes;
use headers::Host;
use http::Method;
use serde::{Deserialize, Serialize};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub trait ErrorHandler<E: std::fmt::Debug + Send + Sync + 'static = ()> {
async fn handle_error(
&self,
method: &::http::Method,
host: &axum_extra::extract::Host,
host: &headers::Host,
cookies: &axum_extra::extract::CookieJar,
error: E,
) -> Result<axum::response::Response, http::StatusCode> {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
use std::collections::HashMap;

use axum::{body::Body, extract::*, response::Response, routing::*};
use axum_extra::extract::{CookieJar, Host, Query as QueryExtra};
use axum_extra::{
TypedHeader,
extract::{CookieJar, Query as QueryExtra},
};
use bytes::Bytes;
use headers::Host;
use http::{HeaderMap, HeaderName, HeaderValue, Method, StatusCode, header::CONTENT_TYPE};
use tracing::error;
use validator::{Validate, ValidationErrors};

use crate::{header, types::*};

#[allow(unused_imports)]
use crate::{apis, models};

use crate::{header, types::*};
#[allow(unused_imports)]
use crate::{
models::check_xss_map, models::check_xss_map_nested, models::check_xss_map_string,
Expand Down Expand Up @@ -50,7 +52,7 @@ fn multipart_related_request_post_validation() -> std::result::Result<(), Valida
#[tracing::instrument(skip_all)]
async fn multipart_related_request_post<I, A, E>(
method: Method,
host: Host,
TypedHeader(host): TypedHeader<Host>,
cookies: CookieJar,
State(api_impl): State<I>,
body: axum::body::Body,
Expand Down Expand Up @@ -111,7 +113,7 @@ fn multipart_request_post_validation() -> std::result::Result<(), ValidationErro
#[tracing::instrument(skip_all)]
async fn multipart_request_post<I, A, E>(
method: Method,
host: Host,
TypedHeader(host): TypedHeader<Host>,
cookies: CookieJar,
State(api_impl): State<I>,
body: Multipart,
Expand Down Expand Up @@ -171,7 +173,7 @@ fn multiple_identical_mime_types_post_validation() -> std::result::Result<(), Va
#[tracing::instrument(skip_all)]
async fn multiple_identical_mime_types_post<I, A, E>(
method: Method,
host: Host,
TypedHeader(host): TypedHeader<Host>,
cookies: CookieJar,
State(api_impl): State<I>,
body: axum::body::Body,
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.18.0-SNAPSHOT
7.19.0-SNAPSHOT
Loading
Loading