{"openapi":"3.0.0","info":{"version":"1.0.0","title":"API Trip plan","description":" API приложения для для создания и изменения путешествий"},"paths":{"/get_country":{"get":{"summary":"Возвращает информацию о странах","responses":{"200":{"description":"The response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/definitions/countries"}}}}}}}},"/get_city":{"get":{"summary":"Возвращает информацию о городах","parameters":[{"name":"county_id","in":"query","description":"id страны","schema":{"type":"integer"}}],"responses":{"200":{"description":"The response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/definitions/cities"}}}}}}}}},"definitions":{"countries":{"required":true,"type":"array","items":{"example":[{"country_id":1,"country_name":"Russian Federation"},{"country_id":2,"country_name":"Georgia"}]}},"cities":{"required":true,"type":"array","items":{"example":[{"city_id":1,"city_name":"Moscow"},{"city_id":2,"city_name":"Saint-Petersburg"}]}}},"servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/LIANESS_1/112/1.0.0"}]}