8 releases
0.9.4 | Mar 18, 2025 |
---|---|
0.9.3 | Sep 25, 2024 |
0.9.0 | Jul 2, 2024 |
0.8.0 | Jun 5, 2024 |
0.6.0 | Apr 2, 2024 |
#431 in HTTP server
14,186 downloads per month
Used in surf-disco
300KB
5.5K
SLoC
Tide Disco
Discoverability support for Tide
We say a system is discoverable if guesses and mistakes regarding usage are rewarded with relevant documentation and assistance at producing correct requests. To offer this capability in a practical way, it is helpful to specify the API in data files, rather than code, so that all relevant text can be edited in one concise readable specification.
Leverages TOML to specify
- Routes with typed parameters
- Route documentation
- Route error messages
- General documentation
Goals
- Context-sensitive help
- Spelling suggestions
- Reference documentation assembled from route documentation
- Forms and other user interfaces to aid in the construction of correct inputs
- Localization
- Novice and expert help
- Flexible route parsing, e.g. named parameters rather than positional parameters
- API fuzz testing automation based on parameter types
Future
WebSocket support Runtime control over logging
Dependencies
~26–43MB
~693K SLoC