21 lines
423 B
YAML
21 lines
423 B
YAML
openapi: 3.0.0
|
|
info:
|
|
title: Test API
|
|
version: 1.0.0
|
|
servers:
|
|
- url: http://example.com
|
|
paths:
|
|
/todos:
|
|
get:
|
|
summary: Get all todos
|
|
operationId: getTodos
|
|
responses:
|
|
'200':
|
|
description: OK
|
|
parameters:
|
|
- name: Authorization
|
|
in: header
|
|
required: true
|
|
schema:
|
|
type: string
|
|
description: The authorization token |