tutorial-angular/swagger.yaml

18 lines
305 B
YAML

openapi: 3.0.0
info:
title: Fake API
version: "1.0"
paths:
/api/posts:
get:
summary: Get all posts
responses:
'200':
description: List of posts
/api/users:
get:
summary: Get all users
responses:
'200':
description: List of users