{ "components": {"schemas":{"dto.ConfirmReservationResponse":{"properties":{"id":{"type":"string"},"message":{"type":"string"},"success":{"type":"boolean"}},"required":["id","message","success"],"type":"object"},"dto.CreateEventRequest":{"properties":{"artist":{"items":{"type":"string"},"type":"array","uniqueItems":false},"description":{"type":"string"},"eventDate":{"type":"string"},"images":{"items":{"type":"string"},"type":"array","uniqueItems":false},"locationId":{"type":"string"},"name":{"type":"string"},"thumbnail":{"type":"string"}},"required":["artist","description","eventDate","images","locationId","name","thumbnail"],"type":"object"},"dto.CreateEventResponse":{"properties":{"id":{"type":"string"}},"required":["id"],"type":"object"},"dto.CreateEventZoneRequest":{"properties":{"color":{"type":"string"},"description":{"type":"string"},"eventID":{"type":"string"},"locationId":{"type":"string"},"name":{"type":"string"},"price":{"type":"number"},"zoneNumber":{"type":"integer"}},"required":["color","description","eventID","locationId","name","price","zoneNumber"],"type":"object"},"dto.CreateEventZoneResponse":{"properties":{"id":{"type":"string"}},"required":["id"],"type":"object"},"dto.CreateLocationRequest":{"properties":{"city":{"type":"string"},"country":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"stateProvince":{"type":"string"},"venueName":{"type":"string"},"zones":{"items":{"$ref":"#/components/schemas/dto.CreateLocationZoneRequest"},"type":"array","uniqueItems":false}},"required":["city","country","latitude","longitude","stateProvince","venueName","zones"],"type":"object"},"dto.CreateLocationResponse":{"properties":{"id":{"type":"string"}},"type":"object"},"dto.CreateLocationZoneRequest":{"properties":{"capacity":{"type":"integer"},"numberOfRows":{"type":"integer"},"seatsPerRow":{"type":"integer"},"zoneName":{"type":"string"},"zoneNumber":{"type":"integer"}},"required":["capacity","numberOfRows","seatsPerRow","zoneName","zoneNumber"],"type":"object"},"dto.CreateReservationRequest":{"properties":{"eventId":{"type":"string"},"seats":{"items":{"$ref":"#/components/schemas/dto.CreateReservationSeatDTO"},"minItems":1,"type":"array","uniqueItems":false}},"required":["eventId","seats"],"type":"object"},"dto.CreateReservationResponse":{"properties":{"id":{"type":"string"}},"required":["id"],"type":"object"},"dto.CreateReservationSeatDTO":{"properties":{"column":{"type":"integer"},"row":{"type":"integer"},"zoneNumber":{"type":"integer"}},"required":["column","row","zoneNumber"],"type":"object"},"dto.DeleteReservationResponse":{"properties":{"id":{"type":"string"}},"required":["id"],"type":"object"},"dto.EventListResponse":{"properties":{"list":{"items":{"$ref":"#/components/schemas/dto.EventResponse"},"type":"array","uniqueItems":false}},"required":["list"],"type":"object"},"dto.EventResponse":{"properties":{"artist":{"items":{"type":"string"},"type":"array","uniqueItems":false},"createdAt":{"type":"string"},"description":{"type":"string"},"eventDate":{"type":"string"},"id":{"type":"string"},"images":{"items":{"type":"string"},"type":"array","uniqueItems":false},"locationId":{"type":"string"},"name":{"type":"string"},"thumbnail":{"type":"string"},"updatedAt":{"type":"string"}},"required":["artist","createdAt","description","eventDate","id","images","locationId","name","thumbnail","updatedAt"],"type":"object"},"dto.EventZoneListResponse":{"properties":{"list":{"items":{"$ref":"#/components/schemas/dto.EventZoneResponse"},"type":"array","uniqueItems":false}},"required":["list"],"type":"object"},"dto.EventZoneResponse":{"properties":{"color":{"type":"string"},"description":{"type":"string"},"eventId":{"type":"string"},"id":{"type":"string"},"isSoldOut":{"type":"boolean"},"locationId":{"type":"string"},"name":{"type":"string"},"price":{"type":"number"},"zoneNumber":{"type":"integer"}},"required":["color","description","eventId","id","isSoldOut","locationId","name","price","zoneNumber"],"type":"object"},"dto.GetEventSeatsResponse":{"properties":{"seats":{"items":{"$ref":"#/components/schemas/dto.SeatStatusDTO"},"type":"array","uniqueItems":false}},"required":["seats"],"type":"object"},"dto.GetReservationResponse":{"properties":{"eventId":{"type":"string"},"id":{"type":"string"},"seats":{"items":{"$ref":"#/components/schemas/dto.SeatDTO"},"type":"array","uniqueItems":false},"status":{"type":"string"},"stripeClientSecret":{"type":"string"},"timeLeft":{"type":"number"},"totalPrice":{"type":"number"},"userId":{"type":"string"}},"required":["eventId","id","seats","status","stripeClientSecret","timeLeft","totalPrice","userId"],"type":"object"},"dto.HttpError":{"properties":{"error":{"type":"string"}},"required":["error"],"type":"object"},"dto.HttpResponse-dto_ConfirmReservationResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.ConfirmReservationResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_CreateEventResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.CreateEventResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_CreateEventZoneResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.CreateEventZoneResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_CreateLocationResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.CreateLocationResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_CreateReservationResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.CreateReservationResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_DeleteReservationResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.DeleteReservationResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_EventListResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.EventListResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_EventResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.EventResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_EventZoneListResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.EventZoneListResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_GetEventSeatsResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.GetEventSeatsResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_GetReservationResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.GetReservationResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_ListLocationsResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.ListLocationsResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_ListReservationResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.ListReservationResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_LocationResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.LocationResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_LoginResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.LoginResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_RefreshTokenResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.RefreshTokenResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_UpdateEventResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.UpdateEventResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_UpdateEventZoneResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.UpdateEventZoneResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_UpdateLocationResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.UpdateLocationResponse"}},"required":["result"],"type":"object"},"dto.HttpResponse-dto_UserResponse":{"properties":{"result":{"$ref":"#/components/schemas/dto.UserResponse"}},"required":["result"],"type":"object"},"dto.ListLocationsResponse":{"properties":{"list":{"items":{"$ref":"#/components/schemas/dto.LocationResponse"},"type":"array","uniqueItems":false}},"type":"object"},"dto.ListReservationResponse":{"properties":{"reservations":{"items":{"$ref":"#/components/schemas/dto.GetReservationResponse"},"type":"array","uniqueItems":false}},"required":["reservations"],"type":"object"},"dto.LocationResponse":{"properties":{"city":{"type":"string"},"country":{"type":"string"},"id":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"stateProvince":{"type":"string"},"venueName":{"type":"string"},"zones":{"items":{"$ref":"#/components/schemas/dto.ZoneResponse"},"type":"array","uniqueItems":false}},"required":["city","country","id","latitude","longitude","stateProvince","venueName","zones"],"type":"object"},"dto.LoginRequest":{"properties":{"idToken":{"type":"string"},"provider":{"type":"string"}},"type":"object"},"dto.LoginResponse":{"properties":{"accessToken":{"type":"string"},"exp":{"type":"integer"},"isNewUser":{"type":"boolean"},"refreshToken":{"type":"string"},"user":{"$ref":"#/components/schemas/dto.UserResponse"}},"required":["accessToken","exp","isNewUser","refreshToken","user"],"type":"object"},"dto.RefreshTokenRequest":{"properties":{"refreshToken":{"type":"string"}},"required":["refreshToken"],"type":"object"},"dto.RefreshTokenResponse":{"properties":{"accessToken":{"type":"string"},"exp":{"type":"integer"},"refreshToken":{"type":"string"}},"required":["accessToken","exp","refreshToken"],"type":"object"},"dto.SeatDTO":{"properties":{"column":{"type":"integer"},"price":{"type":"number"},"row":{"type":"integer"},"zoneNumber":{"type":"integer"}},"required":["column","row","zoneNumber"],"type":"object"},"dto.SeatStatusDTO":{"properties":{"column":{"type":"integer"},"row":{"type":"integer"},"status":{"description":"\"PENDING\" or \"RESERVED\"","type":"string"},"zoneNumber":{"type":"integer"}},"required":["column","row","status","zoneNumber"],"type":"object"},"dto.UpdateEventRequest":{"properties":{"artist":{"items":{"type":"string"},"type":"array","uniqueItems":false},"description":{"type":"string"},"eventDate":{"type":"string"},"images":{"items":{"type":"string"},"type":"array","uniqueItems":false},"locationId":{"type":"string"},"name":{"type":"string"},"thumbnail":{"type":"string"}},"type":"object"},"dto.UpdateEventResponse":{"properties":{"id":{"type":"string"}},"required":["id"],"type":"object"},"dto.UpdateEventZoneRequest":{"properties":{"color":{"type":"string"},"description":{"type":"string"},"eventId":{"type":"string"},"isSoldOut":{"type":"boolean"},"locationId":{"type":"string"},"name":{"type":"string"},"price":{"type":"number"},"zoneNumber":{"type":"integer"}},"type":"object"},"dto.UpdateEventZoneResponse":{"properties":{"id":{"type":"string"}},"required":["id"],"type":"object"},"dto.UpdateLocationRequest":{"properties":{"city":{"type":"string"},"country":{"type":"string"},"latitude":{"type":"number"},"longitude":{"type":"number"},"stateProvince":{"type":"string"},"venueName":{"type":"string"},"zones":{"items":{"$ref":"#/components/schemas/dto.UpdateLocationZoneRequest"},"type":"array","uniqueItems":false}},"required":["city","country","latitude","longitude","stateProvince","venueName","zones"],"type":"object"},"dto.UpdateLocationResponse":{"properties":{"id":{"type":"string"}},"type":"object"},"dto.UpdateLocationZoneRequest":{"properties":{"capacity":{"type":"integer"},"numberOfRows":{"type":"integer"},"seatsPerRow":{"type":"integer"},"zoneName":{"type":"string"},"zoneNumber":{"type":"integer"}},"required":["capacity","numberOfRows","seatsPerRow","zoneName","zoneNumber"],"type":"object"},"dto.UpdateProfileRequest":{"properties":{"birthdate":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"phone":{"type":"string"},"profileImage":{"type":"string"}},"required":["birthdate","firstname","lastname","phone","profileImage"],"type":"object"},"dto.UserResponse":{"properties":{"birthdate":{"type":"string"},"createdAt":{"type":"string"},"deletedAt":{"type":"string"},"email":{"type":"string"},"firstname":{"type":"string"},"id":{"type":"string"},"lastname":{"type":"string"},"phone":{"type":"string"},"profileImage":{"type":"string"},"provider":{"type":"string"},"role":{"type":"string"},"updatedAt":{"type":"string"}},"required":["birthdate","createdAt","email","firstname","id","lastname","phone","profileImage","provider","role","updatedAt"],"type":"object"},"dto.ZoneResponse":{"properties":{"capacity":{"type":"integer"},"numberOfRows":{"type":"integer"},"seatsPerRow":{"type":"integer"},"zoneName":{"type":"string"},"zoneNumber":{"type":"integer"}},"required":["capacity","numberOfRows","seatsPerRow","zoneName","zoneNumber"],"type":"object"}},"securitySchemes":{"ApiKeyAuth":{"in":"header","name":"Authorization","type":"apiKey"}}}, "info": {"description":"A Concert Gateway API Documentation","title":"A Concert Gateway","version":"1.0.0"}, "externalDocs": {"description":"","url":""}, "paths": {"/v1/auth/login":{"post":{"description":"Login","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.LoginRequest"}}},"description":"request request","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_LoginResponse"}}},"description":"OK"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"summary":"Login","tags":["auth"]}},"/v1/auth/logout":{"post":{"description":"Logout","responses":{"204":{"description":"No Content"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Logout","tags":["auth"]}},"/v1/auth/me":{"get":{"description":"Get Profile","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_UserResponse"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get Profile","tags":["auth"]},"patch":{"description":"Update Profile","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.UpdateProfileRequest"}}},"description":"request request","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_UserResponse"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Update Profile","tags":["auth"]}},"/v1/auth/refresh":{"post":{"description":"Refresh Token","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.RefreshTokenRequest"}}},"description":"request request","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_RefreshTokenResponse"}}},"description":"OK"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Unauthorized"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"summary":"Refresh Token","tags":["auth"]}},"/v1/events":{"get":{"description":"List Events","parameters":[{"description":"query","in":"query","name":"query","schema":{"type":"integer"}},{"description":"sortBy","in":"query","name":"sortBy","schema":{"type":"integer"}},{"description":"order","in":"query","name":"order","schema":{"type":"string"}},{"description":"page","in":"query","name":"page","schema":{"type":"string"}},{"description":"limit","in":"query","name":"limit","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_EventListResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"summary":"List Events","tags":["events"]},"post":{"description":"Create Event","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.CreateEventRequest"}}},"description":"Create event request","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_CreateEventResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Create Event","tags":["events"]}},"/v1/events/event-zones/{id}":{"delete":{"description":"Delete Event Zone","parameters":[{"description":"Event Zone ID","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Delete Event Zone","tags":["event-zones"]},"put":{"description":"Update Event Zone","parameters":[{"description":"Event Zone ID","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.UpdateEventZoneRequest"}}},"description":"Update event zone request","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_UpdateEventZoneResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Update Event Zone","tags":["event-zones"]}},"/v1/events/{eventId}/seats":{"get":{"description":"Get all reserved/pending seats for an event","parameters":[{"description":"Event ID","in":"path","name":"eventId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_GetEventSeatsResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"summary":"Get Event Seats","tags":["events"]}},"/v1/events/{id}":{"delete":{"description":"Delete Event","parameters":[{"description":"Event ID","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Delete Event","tags":["events"]},"get":{"description":"Get Event","parameters":[{"description":"Event ID","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_EventResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"summary":"Get Event","tags":["events"]},"put":{"description":"Update Event","parameters":[{"description":"Event ID","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.UpdateEventRequest"}}},"description":"Update event request","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_UpdateEventResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Update Event","tags":["events"]}},"/v1/events/{id}/event-zones":{"get":{"description":"Get Event Zones by Event ID","parameters":[{"description":"Event ID","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_EventZoneListResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"summary":"Get Event Zones by Event ID","tags":["event-zones"]},"post":{"description":"Create Event Zone","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.CreateEventZoneRequest"}}},"description":"Create event zone request","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_CreateEventZoneResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Create Event Zone","tags":["event-zones"]}},"/v1/locations":{"get":{"description":"List Locations","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_ListLocationsResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"summary":"List Locations","tags":["locations"]},"post":{"description":"Create Location","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.CreateLocationRequest"}}},"description":"Create location request","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_CreateLocationResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Create Location","tags":["locations"]}},"/v1/locations/{id}":{"delete":{"description":"Delete Location","parameters":[{"description":"Location ID","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Delete Location","tags":["locations"]},"get":{"description":"Get Location","parameters":[{"description":"Location ID","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_LocationResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"summary":"Get Location","tags":["locations"]},"put":{"description":"Update Location","parameters":[{"description":"Location ID","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.UpdateLocationRequest"}}},"description":"Update location request","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_UpdateLocationResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Update Location","tags":["locations"]}},"/v1/reservations":{"get":{"description":"List all reservations for a user","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_ListReservationResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"List Reservations","tags":["reservations"]},"post":{"description":"Create a new reservation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.CreateReservationRequest"}}},"description":"Create reservation request","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_CreateReservationResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Create Reservation","tags":["reservations"]}},"/v1/reservations/{id}":{"delete":{"description":"Delete a reservation","parameters":[{"description":"Reservation ID","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_DeleteReservationResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Delete Reservation","tags":["reservations"]},"get":{"description":"Get a reservation by ID","parameters":[{"description":"Reservation ID","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_GetReservationResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Get Reservation","tags":["reservations"]}},"/v1/reservations/{id}/confirm":{"post":{"description":"Confirm a reservation","parameters":[{"description":"Reservation ID","in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpResponse-dto_ConfirmReservationResponse"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Bad Request"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/dto.HttpError"}}},"description":"Internal Server Error"}},"security":[{"ApiKeyAuth":[]}],"summary":"Confirm Reservation","tags":["reservations"]}}}, "openapi": "3.1.0" }