Forum Discussion
1 Reply
Hi, I tested this with the following spec:
openapi: 3.0.0
info:
version: 1.0.0
title: Issue 1190
license:
name: Apache-2.0
url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
paths:
/example:
get:
operationId: example
responses:
'200':
description: successful operation
content:
'application/json':
schema:
$ref: "#/components/schemas/XomeObj"
components:
schemas:
SomeObj1:
type: object
properties:
lorem:
type: array
minItems: 1
additionalProperties: false
items:
type: object
properties:
firstName:
type: string
lastName:
type: stringAnd parser threw a warning:
- attribute paths.'/example'(get).responses.200.content.'application/json'.schema.#/components/schemas/XomeObj is missing
Please try updating to the latest parser version.
And let us know if this fixes the issue, or if the case happening to you is different.