27 lines
535 B
YAML
27 lines
535 B
YAML
basePath: /api
|
|
host: localhost:8080
|
|
info:
|
|
contact: {}
|
|
description: This is a simple time tracker API.
|
|
title: Time Tracker API
|
|
version: "1.0"
|
|
paths:
|
|
/:
|
|
get:
|
|
description: Get a hello message
|
|
operationId: hello
|
|
produces:
|
|
- text/plain
|
|
responses:
|
|
"200":
|
|
description: Hello from the Time Tracker Backend!
|
|
schema:
|
|
type: string
|
|
summary: Say hello
|
|
securityDefinitions:
|
|
BearerAuth:
|
|
in: header
|
|
name: Authorization
|
|
type: apiKey
|
|
swagger: "2.0"
|