You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using stoplight elements to documents our webhooks, so the events we provide on our services that our clients can consume. The schema of the events sometimes contains read-only properties, but these are not visible in the payload of the webhook in the docs, despite being present in the schema.
Context
We're using stoplight elements to documents our webhooks, so the events we provide on our services that our clients can consume. The schema of the events sometimes contains read-only properties, but these are not visible in the payload of the webhook in the docs, despite being present in the schema.
Current Behavior
Given the following schema: https://gist.github.com/browniebroke/5b7c5be806ae36e95232768ff04cefd6
Read only
field_1
is not documented:Expected Behavior
Expected to see a
field_1
in the docs, above thefield_2
property.Possible Workaround/Solution
No workaround found yet, except switching to another theme.
Steps to Reproduce
See demo here: https://elements-demo.stoplight.io/?spec=https://gist.githubusercontent.com/browniebroke/5b7c5be806ae36e95232768ff04cefd6/raw/e7ae6de13d13f8f17b66aad743d35ff303600bcc/demo.yaml#/webhooks/Event-created/post
Sample schema: https://gist.github.com/browniebroke/5b7c5be806ae36e95232768ff04cefd6
Environment
The text was updated successfully, but these errors were encountered: