Skip to content

Add support for examples and data types display in Open API plugin - #200

Merged
mgks merged 2 commits into
docmd-io:mainfrom
w666:feature-199-support-examples-in-open-api-plugin
Aug 17, 2026
Merged

Add support for examples and data types display in Open API plugin#200
mgks merged 2 commits into
docmd-io:mainfrom
w666:feature-199-support-examples-in-open-api-plugin

Conversation

@w666

@w666 w666 commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Close #199

Adds support for examples sections and data type display.

I have done manual testing making sure it does render the spec file I need it for.

Other notable changes:

  • Add styles to disable and enable hover on table rows
  • Disable highlighting rows on hover for nested tables are rendered inside <td>
  • Re-enable highlighting explicitly in nested tables

Disclaimer:

  • I've used AI to help me draft initial changes then refactored parts that were not implemented correct.
  • I haven't found any formatter in the project, so my IDE slightly changed some parts. Since I am using prettier I tried to adjust my config according to project style, but it does not quite match it. Please let me know if I missed something.

There are some screenshots with the changes. I had to blur some of the PII data.

New section with body description and examples
image

Expanded body

image

Expanded error response that may contain more than one error format

image

@mgks
mgks merged commit 589cc57 into docmd-io:main Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add support for examples in Open API specs

2 participants