Import from internal git
This commit is contained in:
28
architecture/api/apis/example/example-schemas.yaml
Normal file
28
architecture/api/apis/example/example-schemas.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
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:
|
||||
Example:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: string
|
||||
format: uuid
|
||||
example: "b1e0773f-ef0c-43cf-a1df-52d17f4a3017"
|
||||
name:
|
||||
nullable: false
|
||||
type: string
|
||||
description:
|
||||
nullable: true
|
||||
type: string
|
||||
Reference in New Issue
Block a user