vault/sdk/helper/testhelpers
Max Bowsher e057ee0750
OpenAPI: Define default response structure for ListOperations (#21934)
* OpenAPI: Define default response structure for ListOperations

Almost all Vault ListOperation responses have an identical response
schema. Update the OpenAPI generator to know this, and remove a few
instances where that standard response schema had been manually
copy/pasted into place in individual endpoints.

* changelog

* Only render StandardListResponse schema, if an operation uses it

* Teach the response schema validation test helper about the default list schema too

---------

Co-authored-by: Anton Averchenkov <84287187+averche@users.noreply.github.com>
2023-07-25 11:22:33 -04:00
..
schema OpenAPI: Define default response structure for ListOperations (#21934) 2023-07-25 11:22:33 -04:00
output_test.go New helper methods for generating readable loggable strings (#20911) 2023-06-01 13:12:16 +00:00
output.go New helper methods for generating readable loggable strings (#20911) 2023-06-01 13:12:16 +00:00