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
Would be great to have a simple client side tool that validated your json
In API: expose an endpoint that does not require validation that accepts an api.json file and returns a validation message or maybe just a list of validation errors.
Having no errors would be a sign that the json validated.
Then we could provide a wrapper (go client?) that provided a nice CLI, e.g:
apidoc validate api.json
=> Your document is valid
apidoc validate api.json
=> Your document is invalid:
"foo" is not a valid type
The text was updated successfully, but these errors were encountered:
Would be great to have a simple client side tool that validated your json
In API: expose an endpoint that does not require validation that accepts an api.json file and returns a validation message or maybe just a list of validation errors.
Having no errors would be a sign that the json validated.
Then we could provide a wrapper (go client?) that provided a nice CLI, e.g:
apidoc validate api.json
=> Your document is valid
apidoc validate api.json
=> Your document is invalid:
The text was updated successfully, but these errors were encountered: