mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-04 05:59:48 +08:00
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:
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user