Skip to content

Commit

Permalink
Create api-gateway-config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
AravindRajeshkanna authored Sep 18, 2024
1 parent 8958ac2 commit d9ad073
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions api-gateway-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"swagger": "2.0",
"info": {
"version": "1.0.0",
"title": "My API Gateway Example",
"description": "API Gateway configuration for Node.js Express application"
},
"host": "api.example.com",
"basePath": "/",
"schemes": ["https"],
"paths": {
"/health": {
"get": {
"summary": "API Health Check",
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/api/data": {
"get": {
"summary": "Get Data",
"responses": {
"200": {
"description": "Data returned"
}
}
}
}
}
}

0 comments on commit d9ad073

Please sign in to comment.