-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest-openapi.yaml
More file actions
42 lines (39 loc) · 841 Bytes
/
test-openapi.yaml
File metadata and controls
42 lines (39 loc) · 841 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
openapi: 3.0.0
info:
title: Test API
version: 1.0.0
description: A simple test API for OpenAPI integration testing
servers:
- url: https://httpbin.org
paths:
/status/200:
get:
summary: Get status 200
description: Returns a 200 OK response
responses:
'200':
description: Successful response
/post:
post:
summary: Post data
description: Posts data to the server
requestBody:
content:
application/json:
schema:
type: object
properties:
key:
type: string
responses:
'200':
description: Successful response
components:
schemas:
TestData:
type: object
properties:
id:
type: integer
name:
type: string