-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
It would be very helpful if the spec contained information about required properties. Required is currently only used for req, cmd properties as far as I can tell.
I am in the process of writing some code that can generate the full API for Rust directly from the json spec files, which would decrease effort duplication to keep things up to date.
Rust has the Option<> feature which allows us to have properties that are optional. It would be nice to know which properties are always required to be sent to the notecard as well as which properties can always be expected to be sent back from the notecard.
This way we can generate the API accurately and not just have to add Option<> to all properties no matter what.
Metadata
Metadata
Assignees
Labels
No labels