Closed jbolda closed 1 month ago
There are 1 changes which include @simulacrum/foundation-simulator with minor
Add another change file through the GitHub UI by following this link.
Read about change files or the docs at github.com/jbolda/covector
The following preview packages have been published by Covector:
@simulacrum/foundation-simulator@0.1.0-foundation-simulator-route-list.ab1c616
ab1c616
We still want to handle the routes configured through extendRouter
. After this, we can review and merge.
Motivation
To improve transparency and flexibility, we include a page at the root that lists all of the routes, and the ability to signal which response to return.
Approach
Pipe OpenAPI routes into the simulation store. Return these items through a small form to adjust that state. Also, pipe that state into the OpenAPI handlers to improve the usability.
Example