elements
elements copied to clipboard
Model attributes of type null not rendered
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,
But not in standalone version of elements. Only type string is shown.
Expected Behavior
Both types (e.g. string and null) should be rendered.
Possible Workaround/Solution
No workaround possible
Steps to Reproduce
- Create a model with one attribute. Attribute type set to string and null.
- 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: