Show In Component Source View
To view the source code of a component without leaving the editor you're working in. You can use the Component Source view. The latter shows the source code automatically when you click on a component. E.g., a schema, tag, security scheme, server, path, or operation.
Open Component Source View
You can open the Component Source View by right-clicking a component then selecting Show Component Source:
The following depicts a security flow source code. But the same is valid when clicking any of the other components mentioned above.
Toggle between JSON/YAML Formats
You can toggle between viewing YAML and JSON using the toggle button at the top-right of the Component Source.
Example: Toggling the above YAML to JSON format: