Closed ad-world closed 1 month ago
What is your plan regarding call-sites that are using
arrayExample
today?
First step is to update all @arrayExample
's in WPT to just use @example
. There are only 2, so it is a trivial task.
Next step is to generate WPT docs locally (with this update and check diffs with current wallet-platform.yaml. Nothing should change.
Next step is to bump openapi-generator in dev-portal (after this is merged), so that the changes are put into effect
:tada: This PR is included in version @api-ts/openapi-generator@4.24.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:
:tada: This PR is included in version @api-ts/express-wrapper@1.0.28 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:
:tada: This PR is included in version @api-ts/typed-express-router@1.1.8 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:
:tada: This PR is included in version @api-ts/superagent-wrapper@1.2.3 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:
:tada: This PR is included in version @api-ts/io-ts-http@3.1.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:
DX-622
This PR removes support for the @arrayExample jsdoc, and extends the functionality of the @example tag so that it can be used with arrays to show array example and non-array examples as well.
This is how to use the new functionality.
Case 1. Want to show an example of an item within the array
This will render as this:
Case 2. Want to render an array example
This is how it would render:
Case 3. Want to render an item + array example
This is how it would render: