AllYourGoods / team-do-minor

Our teams name is TeamDOminor. The purpose of this repo's code is for the devops minor assignment
2 stars 1 forks source link

Create GET /restaurant/{id} endpoint to retrieve a restaurant by id #60

Open faroeq33 opened 5 days ago

faroeq33 commented 5 days ago

Requestor : Terminal Tovenaars

Endpoint: GET /restaurants/{id}/menu Input format : ID of the restaurant
Output Format :

{ 
  "id": "string", 
  "name": "string", 
  "address": { 
    "longitude": 0, 
    "latitude": 0, 
    "houseNumber": "string", 
    "zipCode": "string", 
    "city": "string", 
    "streetName": "string" 
  }, 
  "banner": { 
    "url": "string", 
    "altText": "string" 
  }, 
  "logo": { 
    "url": "string", 
    "altText": "string" 
  }, 
  "aboutUs": "string", 
  "phoneNumber": "string", 
  "openingTimes": [ 
    { 
      "day": "string", 
      "open": "string", 
      "close": "string" 
    } 
  ], 
  "radius": 0 
}
faroeq33 commented 5 days ago

Deze story is al voor een groot gedeelte gedaan, waarschijnlijk moet de return body worden veranderd

faroeq33 commented 5 days ago

Ready to test for with Terminal Tovenaars, from development branch

elderds16 commented 4 days ago

@faroeq33 en deze