feat(merchant_account_v2): add merchant_account_v2 domain and diesel models (#5365)

Co-authored-by: hrithikesh026 <hrithikesh.vm@juspay.in>
Co-authored-by: Prajjwal Kumar <prajjwal.kumar@juspay.in>
Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Narayan Bhat
2024-07-19 19:09:31 +05:30
committed by GitHub
parent b51c8e1d12
commit 5861c5a63b
40 changed files with 1124 additions and 195 deletions

View File

@ -2,12 +2,8 @@ mod openapi;
mod routes;
fn main() {
#[cfg(not(feature = "v2"))]
let relative_file_path = "api-reference/openapi_spec.json";
#[cfg(feature = "v2")]
let relative_file_path = "api-reference/v2/openapi_spec.json";
let mut file_path = router_env::workspace_path();
file_path.push(relative_file_path);