GitHub Raw JSON API

Live-Charts / LiveCharts2

5,289 C#

Beautiful, interactive charts, maps, and gauges. One API for every .NET UI framework.

WeatherForecast API Specification

Located in samples/UnoPlatformSample/UnoPlatformSample/Specs/WeatherForecast.swagger.json on branch HEAD

3.0.1 JSON 1 Endpoints 1.4 KB

Operations & Route Endpoints (1)

GET /api/weatherforecast
GetWeather
Raw JSON Specification
{
  "openapi": "3.0.1",
  "info": {
    "title": "WeatherForecast API",
    "version": "v1",
    "description": "Auto‑generated spec for the WeatherForecast endpoint"
  },
  "servers": [
    {
      "url": "https://localhost:5002",
      "description": "Local development server"
    }
  ],
  "paths": {
    "/api/weatherforecast": {
      "get": {
        "summary": "GetWeather",
        "operationId": "GetForecast",
        "tags": [
          "Weather"
        ],
        "responses": {
          "200": {
            "description": "A list of weather forecasts",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/WeatherForecast"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "WeatherForecast": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          },
          "temperatureC": {
            "type": "integer"
          },
          "summary": {
            "type": "string"
          }
        },
        "required": [
          "date",
          "temperatureC",
          "summary"
        ]
      }
    }
  }
}