openapi: refactor yaml
- move
security
to the top level, with per-operation overrides in /healthz and /openapi.json - move repeated responses and parameters to the
components
section - this makes the openapi validator happy!
Bug: #366668
Edited by Slavina Stefanova