remove old schema
This commit is contained in:
@@ -1,47 +0,0 @@
|
||||
openapi: 3.0.2
|
||||
info:
|
||||
title: my-api
|
||||
version: 0.0.0
|
||||
paths:
|
||||
/users:
|
||||
post:
|
||||
operationId: CreateUser
|
||||
parameters: []
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/CreateUserRequest'
|
||||
required: true
|
||||
responses:
|
||||
'201':
|
||||
description: 201 response
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/CreateUserResponse'
|
||||
components:
|
||||
schemas:
|
||||
CreateUserRequest:
|
||||
type: object
|
||||
properties:
|
||||
firstName:
|
||||
type: string
|
||||
lastName:
|
||||
type: string
|
||||
required:
|
||||
- firstName
|
||||
- lastName
|
||||
CreateUserResponse:
|
||||
type: object
|
||||
properties:
|
||||
firstName:
|
||||
type: string
|
||||
lastName:
|
||||
type: string
|
||||
role:
|
||||
type: string
|
||||
required:
|
||||
- firstName
|
||||
- lastName
|
||||
- role
|
||||
Reference in New Issue
Block a user