{ "openapi": "3.1.0", "info": { "title": "Get weather data", "description": "Retrieves current weather data for a location based on wttr.in.", "version": "v1.0.0" }, "servers": [ { "url": "https://wttr.in" } ], "paths": { "/{location}": { "get": { "description": "Get weather information for a specific location", "operationId": "GetCurrentWeather", "parameters": [ { "name": "location", "in": "path", "description": "City or location to retrieve the weather for", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Successful response", "content": { "text/plain": { "schema": { "type": "string" } } } }, "404": { "description": "Location not found" } }, "deprecated": false } } }, "components": { "schemas": {} } }