-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hi,
We're seeing a parse warning when trying to lint the following API spec:
Example: -- invalid allOf variant
---
openapi: 3.0.3
info:
title: Test
version: 3.0.0
servers:
- url: /test
description: Test
tags:
- name: Test
description: test
paths:
/test:
post:
description: test
operationId: test
tags:
- Test
requestBody:
content:
application/vnd.api+json:
schema:
allOf:
- type: object
properties:
prop1:
type: string
required: [prop1]
- oneOf:
- type: object
properties:
prop2:
type: string
- type: object
properties:
prop3:
type: string
responses:
'201':
description: success
content:
application/vnd.api+json:
schema:
type: object
location:
schema:
type: string
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working