Skip to content

Comma sign does not appear after a value declared as null (API Reference). #851

@ricardoaerobr

Description

@ricardoaerobr

Describe the bug
When the field has a value declared as null in an API Reference, the comma sign located immediately after the value is not rendered in the Developer Portal, even though it is present in the OpenAPI documentation.

To Reproduce
Steps to reproduce the behavior:

  1. Access the documentation for an endpoint on the Developer Portal that contains any null parameter in the response or request body (e.g., Get information about account).
  2. Check that there are no commas after the values ​​indicated as null.
  3. Access the OpenAPI documentation for the endpoint viewed in the Developer Portal.
  4. Confirm that commas are present after values ​​indicated as null.

Expected behavior
Comma signs present after fields indicated with a value of null must be rendered correctly in the Developer Portal API Reference.

Screenshots

  • API Reference (Developer Portal):
image
  • VS Code screen (OpenAPI code):
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions