trpc-openapi icon indicating copy to clipboard operation
trpc-openapi copied to clipboard

Support for examples key

Open chrisdengso opened this issue 3 years ago • 0 comments

Hello :)

I see you've recently added support for adding examples. Would it be possible to support the examples key in addition to example. (singular vs plural).

Both are valid in the OpenApi spec: https://swagger.io/docs/specification/adding-examples/

Cheers

chrisdengso avatar Nov 04 '23 05:11 chrisdengso