asyncapi-react icon indicating copy to clipboard operation
asyncapi-react copied to clipboard

feat: config option to expand/collapse the examples payload

Open thim81 opened this issue 4 years ago • 3 comments

Description

There are a number of configuration options, it would be nice if you could configure the default expand/collapse behaviour for the "Examples" section.

Reasons

As a visitor of the AsyncAPI documentation, you want to see the details of the message properties and having a the example visibile next to message properties, makes it easier to correlate the content of the value with an actual example value.

Attachments

2022-01-26 at 11 25 00

thim81 avatar Jan 26 '22 10:01 thim81

@thim81 Hi! If we go with that direction I think that we should have also option to expand payload and headers on the left (to be consistent).

magicmatatjahu avatar Jan 26 '22 12:01 magicmatatjahu

Agreed, that would be another feature request depending on this request.

thim81 avatar Jan 26 '22 12:01 thim81

This issue has been automatically marked as stale because it has not had recent activity :sleeping:

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience :heart:

github-actions[bot] avatar May 27 '22 00:05 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity :sleeping:

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience :heart:

github-actions[bot] avatar Nov 02 '22 00:11 github-actions[bot]

Resolved by https://github.com/asyncapi/asyncapi-react/pull/621

magicmatatjahu avatar Jan 31 '23 11:01 magicmatatjahu