From 7be7a618286ba0505449dee8805029de68ca534e Mon Sep 17 00:00:00 2001 From: Clement Date: Wed, 15 May 2024 00:11:55 +0200 Subject: [PATCH] add radius route WIP --- Express/barAndCafe/src/app.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Express/barAndCafe/src/app.ts b/Express/barAndCafe/src/app.ts index 22e8676..4b5c8b4 100644 --- a/Express/barAndCafe/src/app.ts +++ b/Express/barAndCafe/src/app.ts @@ -1,4 +1,4 @@ -import { getCity } from "./openTripMaps" +import { getCity, getRadius } from "./openTripMaps" import express from "express" /** * Initialize Express application instance. @@ -54,4 +54,8 @@ app.get("/welcome", getWelcome) */ app.get("/otm/city", getCity) + +//XXX: faire la doc SWAGGER +app.get("/otm/radius", getRadius) + export default app \ No newline at end of file