mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
b0971fdec6
* foundry completeness * tests + openapi sample * bing grounding sample * options integration tests * merge conflict fix * fix failing test * add mcp approval handling
62 lines
1.5 KiB
JSON
62 lines
1.5 KiB
JSON
{
|
|
"openapi": "3.1.0",
|
|
"info": {
|
|
"title": "wttr.in Weather API",
|
|
"description": "Retrieves current weather data for a location using wttr.in service",
|
|
"version": "v1.0.0"
|
|
},
|
|
"servers": [
|
|
{
|
|
"url": "https://wttr.in"
|
|
}
|
|
],
|
|
"paths": {
|
|
"/{location}": {
|
|
"get": {
|
|
"operationId": "GetCurrentWeather",
|
|
"summary": "Get weather information for a specific location",
|
|
"description": "Get weather information for a specific location",
|
|
"parameters": [
|
|
{
|
|
"name": "location",
|
|
"in": "path",
|
|
"description": "City or location to retrieve the weather for",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "format",
|
|
"in": "query",
|
|
"description": "Format in which to return data. Always use 3.",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"default": 3
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Successful response",
|
|
"content": {
|
|
"text/plain": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Location not found"
|
|
}
|
|
},
|
|
"deprecated": false
|
|
}
|
|
}
|
|
},
|
|
"components": {
|
|
"schemas": {}
|
|
}
|
|
} |