add radius route WIP
This commit is contained in:
parent
820ec397ea
commit
7be7a61828
@ -1,4 +1,4 @@
|
|||||||
import { getCity } from "./openTripMaps"
|
import { getCity, getRadius } from "./openTripMaps"
|
||||||
import express from "express"
|
import express from "express"
|
||||||
/**
|
/**
|
||||||
* Initialize Express application instance.
|
* Initialize Express application instance.
|
||||||
@ -54,4 +54,8 @@ app.get("/welcome", getWelcome)
|
|||||||
*/
|
*/
|
||||||
app.get("/otm/city", getCity)
|
app.get("/otm/city", getCity)
|
||||||
|
|
||||||
|
|
||||||
|
//XXX: faire la doc SWAGGER
|
||||||
|
app.get("/otm/radius", getRadius)
|
||||||
|
|
||||||
export default app
|
export default app
|
Loading…
x
Reference in New Issue
Block a user