WebApiBootstrap/openapi.yaml

38 lines
No EOL
944 B
YAML

openapi: 3.0.1
info:
title: 'WebApiBootstrap.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
version: '1.0'
paths:
/weatherforecast:
get:
tags:
- 'WebApiBootstrap.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
operationId: GetWeatherForecast
responses:
'200':
description: OK
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
format: int32
temperatureF:
type: integer
format: int32
nullable: true
summary:
type: string
nullable: true
additionalProperties: false