28 lines
590 B
YAML
28 lines
590 B
YAML
openapi: 3.0.3
|
|
info:
|
|
version: "1.0.0"
|
|
title: 'Schemas for example'
|
|
description: 'Defines all the schemas used in example API'
|
|
|
|
paths:
|
|
/fake_path_required_for_model_generation:
|
|
get:
|
|
responses:
|
|
'200':
|
|
description: OK
|
|
|
|
components:
|
|
schemas:
|
|
ExampleSchema:
|
|
type: object
|
|
properties:
|
|
id:
|
|
type: string
|
|
format: uuid
|
|
example: "b1e0773f-ef0c-43cf-a1df-52d17f4a3017"
|
|
name:
|
|
nullable: false
|
|
type: string
|
|
description:
|
|
nullable: true
|
|
type: string |