forked from KeithGalli/python-api-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathswagger.yaml
More file actions
28 lines (28 loc) · 669 Bytes
/
Copy pathswagger.yaml
File metadata and controls
28 lines (28 loc) · 669 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
openapi: 3.0.0
info:
title: My API
version: '1.0'
paths:
/uppercase:
get:
tags:
- Text Processing
parameters:
- name: text
in: query
schema:
type: string
required: true
description: The text to be converted to uppercase
responses:
'200':
description: A successful GET request
content:
application/json:
schema:
type: object
properties:
text:
type: string
description: The text in uppercase
operationId: handlers.get_uppercase