-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add simulationRoutes to store, display at base / route #280
Conversation
Package Changes Through 2f42d89There are 1 changes which include @simulacrum/foundation-simulator with minor Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
0c8ef65
to
974671e
Compare
The following preview packages have been published by Covector:
|
a78a0ea
to
dcbcfa5
Compare
We still want to handle the routes configured through |
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