{ "openapi": "3.0.1", "info": { "title": "api | v1", "version": "1.0.0" }, "paths": { "/weatherforecast": { "get": { "tags": [ "api" ], "summary": "Here is a summary", "description": "This is a description", "operationId": "GetWeatherForecast", "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/WeatherForecast" } } } } } } } } }, "components": { "schemas": { "WeatherForecast": { "required": [ "date", "temperatureC", "summary" ], "type": "object", "properties": { "date": { "type": "string", "format": "date" }, "temperatureC": { "type": "integer", "format": "int32" }, "summary": { "type": "string", "nullable": true }, "temperatureF": { "type": "integer", "format": "int32" } } } } }, "tags": [ { "name": "api" } ] }