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
I'd like to see us create a formal API specification for SecureDrop
Description
While working on implementing dynamic testing for SD, I found myself in a situation where it would have been useful to have a formalized OpenAPI specification of the API to facilitate testing.
This got me thinking that there could be a number of uses for having a formal specification of the API beyond testing, including (but not limited to) having a clearly documented API, making it easier to audit the API, and even making it easier for ourselves or other developers to write new clients.
I'm curious to hear what everyone else thinks about it, whether you agree that it would be useful, and if so, how to add this specification? OpenAPI is relatively common for this, but we might want to explore other alternatives.
The text was updated successfully, but these errors were encountered:
Thanks for raising this, @L3th3. I'm very much in favor, both in general of this idea and specifically of OpenAPI, though I'm also open to other options. In places like #5104 and freedomofpress/securedrop-client#1549, we'd already benefit from being able to discuss API changes as specification-level diffs well in advance of considering their implementation.
Let me know if you'd like to work together on this!
We decided today that we will formalize an API spec the next time we add to or modify the API, whether for #5104 or for specific extensions of the current API to support an MVP version of securedrop-sdk and the SecureDrop Client.
What
I'd like to see us create a formal API specification for SecureDrop
Description
While working on implementing dynamic testing for SD, I found myself in a situation where it would have been useful to have a formalized OpenAPI specification of the API to facilitate testing.
This got me thinking that there could be a number of uses for having a formal specification of the API beyond testing, including (but not limited to) having a clearly documented API, making it easier to audit the API, and even making it easier for ourselves or other developers to write new clients.
I'm curious to hear what everyone else thinks about it, whether you agree that it would be useful, and if so, how to add this specification? OpenAPI is relatively common for this, but we might want to explore other alternatives.
The text was updated successfully, but these errors were encountered: