elements icon indicating copy to clipboard operation
elements copied to clipboard

Model attributes of type null not rendered

Open jschaefer77 opened this issue 2 years ago • 0 comments

Some of our models have attribute types like string and in addition null.

Context

Current Behavior

In Stoplight Studio type string and null is rendered in preview mode, image

But not in standalone version of elements. Only type string is shown. image

Expected Behavior

Both types (e.g. string and null) should be rendered.

Possible Workaround/Solution

No workaround possible

Steps to Reproduce

  1. Create a model with one attribute. Attribute type set to string and null.
  2. Check how the attribute is rendered in elements.

Environment

  • Version used: 7.5.15
  • Environment name and version (e.g. Chrome 39, node.js 5.4): Chrome and Firefox
  • Operating System and version (desktop or mobile):
  • Link to your environment/workspace/project:

jschaefer77 avatar Apr 28 '22 06:04 jschaefer77