1
0
Files
hs.hsadmin.ng/src/main/resources/api-definition/api-definition.yaml
T

47 lines
1.1 KiB
YAML

openapi: 3.0.1
info:
title: Hostsharing hsadmin-ng API
version: v0
servers:
- url: http://localhost:8080
description: Local development default URL.
paths:
/api/ping:
get:
tags:
- test
operationId: ping
responses:
"200":
description: OK
content:
'text/plain':
schema:
type: string
/api/pong:
get:
tags:
- test
operationId: pong
responses:
"200":
description: OK
content:
'text/plain':
schema:
type: string
post:
tags:
- test
operationId: pongPost
responses:
"200":
description: OK
content:
'text/plain':
schema:
type: string