You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Contractual needs to support any API boundary (client-to-server, server-to-server) regardless of the protocol being used. While we currently support OpenAPI, we need to expand to other protocols like Protobuf and JSON Schema to serve diverse API architectures better.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Background
Contractual needs to support any API boundary (client-to-server, server-to-server) regardless of the protocol being used. While we currently support OpenAPI, we need to expand to other protocols like Protobuf and JSON Schema to serve diverse API architectures better.
Proposed CLI Structure 📋
Directory Structure
Core Commands to Implement
contractual init
✨contractual
(root command).tsp
files in thetsps
directorycontractual contract [.tsp name]
🔧--server-only
,--client-only
contractual version [.tsp name]
contractual diff [.tsp name]
🔍Questions to Resolve
toml
file that configures type spec. This seems relevant.Beta Was this translation helpful? Give feedback.
All reactions