Skip to content

Commit

Permalink
feat(openapi): Add open api routes for routing v2 (#5686)
Browse files Browse the repository at this point in the history
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
  • Loading branch information
Aprabhat19 and hyperswitch-bot[bot] authored Aug 27, 2024
1 parent c3c9b27 commit 6bb9767
Show file tree
Hide file tree
Showing 16 changed files with 665 additions and 23 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
openapi: patch /v2/profiles/{profile_id}/activate_routing_algorithm
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
openapi: patch /v2/profiles/{profile_id}/deactivate_routing_algorithm
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
openapi: get /v2/profiles/{profile_id}/routing_algorithm
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
openapi: get /v2/profiles/{profile_id}/fallback_routing
---
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
openapi: post /v2/profiles/{profile_id}/fallback_routing
---
3 changes: 3 additions & 0 deletions api-reference-v2/api-reference/routing/routing--create.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
openapi: post /v2/routing_algorithm
---
3 changes: 3 additions & 0 deletions api-reference-v2/api-reference/routing/routing--retrieve.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
openapi: get /v2/routing_algorithm/{routing_algorithm_id}
---
14 changes: 13 additions & 1 deletion api-reference-v2/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,19 @@
"pages": [
"api-reference/business-profile/business-profile--create",
"api-reference/business-profile/business-profile--update",
"api-reference/business-profile/business-profile--retrieve"
"api-reference/business-profile/business-profile--retrieve",
"api-reference/business-profile/business-profile--activate-routing-algorithm",
"api-reference/business-profile/business-profile--retrieve-active-routing-algorithm",
"api-reference/business-profile/business-profile--deactivate-routing-algorithm",
"api-reference/business-profile/business-profile--update-default-fallback-routing-algorithm",
"api-reference/business-profile/business-profile--retrieve-default-fallback-routing-algorithm"
]
},
{
"group": "Routing",
"pages": [
"api-reference/routing/routing--create",
"api-reference/routing/routing--retrieve"
]
}
],
Expand Down
Loading

0 comments on commit 6bb9767

Please sign in to comment.