feat(openapi): add payment get to openapi (#6539)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in>
This commit is contained in:
Narayan Bhat
2024-11-13 15:23:40 +05:30
committed by GitHub
parent b82e7429e2
commit 600cf44684
14 changed files with 541 additions and 95 deletions

View File

@ -51,8 +51,8 @@ pub mod routes {
impl Analytics {
#[cfg(feature = "v2")]
pub fn server(_state: AppState) -> Scope {
todo!()
pub fn server(state: AppState) -> Scope {
web::scope("/analytics").app_data(web::Data::new(state))
}
#[cfg(feature = "v1")]
pub fn server(state: AppState) -> Scope {