YamlMerger/Tests/YAMLMergerTests/Schema/06_Components/Post.yaml

25 lines
524 B
YAML

Post:
type: object
properties:
id:
type: integer
title:
type: string
body:
type: string
tags:
type: array
items:
type: string
reactions:
type: object
properties:
likes:
type: integer
dislikes:
type: integer
views:
type: integer
userId:
type: integer