Forum Discussion
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.
Related Content
- 4 years ago
- 3 years ago
- 7 years ago
Recent Discussions
- 7 days ago
- 7 days ago
- 24 days ago