Fix typo in oas spec output

Fixes #4867
This commit is contained in:
rijkvanzanten
2021-04-08 17:01:14 -04:00
parent c6d974d998
commit 5b14a8e715

View File

@@ -223,11 +223,11 @@ class OASSpecsService implements SpecificationSubService {
{
type: 'array',
items: {
$ref: `#/components/schema/${tag.name}`,
$ref: `#/components/schemas/${tag.name}`,
},
},
{
$ref: `#/components/schema/${tag.name}`,
$ref: `#/components/schemas/${tag.name}`,
},
],
},
@@ -245,7 +245,7 @@ class OASSpecsService implements SpecificationSubService {
properties: {
data: {
items: {
$ref: `#/components/schema/${tag.name}`,
$ref: `#/components/schemas/${tag.name}`,
},
},
},
@@ -274,7 +274,7 @@ class OASSpecsService implements SpecificationSubService {
content: {
'application/json': {
schema: {
$ref: `#/components/schema/${tag.name}`,
$ref: `#/components/schemas/${tag.name}`,
},
},
},
@@ -290,7 +290,7 @@ class OASSpecsService implements SpecificationSubService {
properties: {
data: {
items: {
$ref: `#/components/schema/${tag.name}`,
$ref: `#/components/schemas/${tag.name}`,
},
},
},