cablelabs / lpwanserver

LPWAN Provisioning & Management Server
https://lpwanserver.com
Apache License 2.0
37 stars 11 forks source link

NetworkProtocol input/output validation and documentation #355

Closed rhythnic closed 4 years ago

rhythnic commented 4 years ago

Create JSON schemas for the entities passed back and forth between NetworkProtocol handlers and the NetworkProtocol model. Validate results from handlers in the app. Validate both inputs and outputs in the tests.

Create in-code jsdocs for the NetworkProtocol handler methods.

rhythnic commented 4 years ago

Unnecessary. The networkSettings are validated before insertion into DB, which is sufficient for now.