{"swagger":"2.0","info":{"version":"0.0.1","title":"3VinSerg Premiere Service"},"host":"localhost:9991","basePath":"/api/v1","schemes":["http","https"],"consumes":["application/json"],"produces":["application/json","application/xml"],"paths":{"/premiere/list":{"x-swagger-router-controller":"premiere","get":{"description":"list of premieres","operationId":"listPremiere","parameters":[{"name":"premier","in":"query","description":"The name of the premier in list","required":false,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PremierList"}},"default":{"description":"Error","schema":{"$ref":"#/definitions/ErrorResponse"}}}}},"/premiere/data":{"x-swagger-router-controller":"premiere","get":{"description":"return types of categories to which is subscribed","operationId":"PremiereData","parameters":[{"name":"data","in":"query","description":"The data of any premiere","required":false,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/PremierData"}},"default":{"description":"Error","schema":{"$ref":"#/definitions/ErrorResponse"}}}}},"/premiere/reservations":{"x-swagger-router-controller":"premiere","get":{"description":"List of reservations","operationId":"PremiereReservations","parameters":[{"name":"reservation","in":"query","description":"The type of subscribed for the categoty","required":false,"type":"string"}],"responses":{"200":{"description":"Success","schema":{"$ref":"#/definitions/Reservations"}},"default":{"description":"Error","schema":{"$ref":"#/definitions/ErrorResponse"}}}}},"/swagger":{"x-swagger-pipe":"swagger_raw"}},"definitions":{"PremierList":{"required":["name"],"properties":{"name":{"type":"string"}}},"PremierData":{"required":["name"],"properties":{"name":{"type":"string"},"sport":{"type":"string"},"time":{"type":"string"}}},"Reservations":{"required":["name"],"properties":{"name":{"type":"string"},"time":{"type":"string"},"place":{"type":"string"}}},"ErrorResponse":{"required":["message"],"properties":{"message":{"type":"string"}}}}}