forked from loafle/openapi-generator-original
use $ref instead of inline def for form parameters
This commit is contained in:
@@ -202,14 +202,7 @@ paths:
|
||||
content:
|
||||
application/x-www-form-urlencoded:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
description: Updated name of the pet
|
||||
type: string
|
||||
status:
|
||||
description: Updated status of the pet
|
||||
type: string
|
||||
$ref: '#/components/schemas/PetFormParameters'
|
||||
delete:
|
||||
tags:
|
||||
- pet
|
||||
@@ -706,3 +699,14 @@ components:
|
||||
type: string
|
||||
message:
|
||||
type: string
|
||||
PetFormParameters:
|
||||
title: form parameters for pet
|
||||
description: form parameters for pet
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
description: Updated name of the pet
|
||||
type: string
|
||||
status:
|
||||
description: Updated status of the pet
|
||||
type: string
|
||||
Reference in New Issue
Block a user