Skip to content
This repository was archived by the owner on Mar 14, 2021. It is now read-only.

Commit fedaa11

Browse files
committed
define simple api
1 parent 443d519 commit fedaa11

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

src/api/openapi.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
openapi: 3.0.2
2+
info:
3+
title: sample api for openapi-generatr-spring
4+
version: 1.0.0
5+
6+
paths:
7+
/ping:
8+
9+
get:
10+
summary: returns a single "pong" string.
11+
description: very simple sample endpoint
12+
responses:
13+
'200':
14+
content:
15+
text/plain:
16+
schema:
17+
type: string
18+
description: "pong"

0 commit comments

Comments
 (0)