Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

OpenAPI V2 documents do not properly render anyOf including nullable references #762

Copy link
Copy link
@darrelmiller

Description

@darrelmiller
Issue body actions

#1005
#1004

The following OpenAPI description does not render the complex object properly in V2

openapi: 3.0.0
info:
  title: asdads
  version: 1.0.0
paths:
  /:
   get:
     responses:
       200:
         description: ok
         content:
           application/json:
             schema:
               type: object
               properties:
                 complex:
                   anyOf:
                     - $ref: '#/components/schemas/complex'
                     - nullable: true
components:
  schemas:
    complex:
      type: object
      properties:
        name: 
          type: string
  
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

priority:p1High priority but not blocking. Causes major but not critical loss of functionality SLA <=7daysHigh priority but not blocking. Causes major but not critical loss of functionality SLA <=7daystype:bugA broken experienceA broken experience

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.