sailpoint-oss / developer.sailpoint.com

The codebase that makes up developer.sailpoint.com, including developer documentation. This codebase is open source and welcomes contributions.
https://developer.sailpoint.com
MIT License
30 stars 79 forks source link

[Bug] Not properly rending request body schema of type "array of objects" #77

Closed colin-mckibben-sp closed 1 year ago

colin-mckibben-sp commented 1 year ago

Describe the bug

This endpoint has the following request body schema:

requestBody:
    required: true
    description: >-
      A list of account update operations according to the [JSON Patch](https://tools.ietf.org/html/rfc6902) standard.
    content:
      application/json-patch+json:
        schema:
            type: array
            items:
              type: object

It is rendered as follows:

image

“type” is not a property of this schema.

To Reproduce Steps to reproduce the behavior:

Go to this endpoint: https://developer.sailpoint.com/idn/api/v3/update-account

Expected behavior

The schema for the request body should properly display that it is an array of objects.

Actual behavior

The schema for the request body is showing an array of "type", which makes no sense.

Operating System (please complete the following information):

Browser (please complete the following information):

colin-mckibben-sp commented 1 year ago

Fixed as part of earlier release.