automation-tests/pkg/api/server
Ed Santiago 2a411bcbfa Swagger: fix inconsistencies (try #2)
As I've mentioned once or twice, hand-maintained swagger docs
are evil. This commit attempts to fix:

  * Inconsistent methods (swagger says POST but code signature
    says GET)

  * Inconsistent capitalization

  * Typos ("Mounter", "pood")

  * Completely wrong paths (/inspect vs /json)

  * Missing .Method() registrations

  * Missing /libpod in some /volumes paths

  * Incorrect method declaration: /libpod/containers/.../kill
    was correct (POST) in swagger but wrong in the code itself
    (http.MethodGet). Correct the latter to MethodPost

This is two hours' work, even with a script I have that
tries to cross-check everything.

Swagger docs should not be human-maintained.

Signed-off-by: Ed Santiago <santiago@redhat.com>
2020-02-18 11:07:07 -07:00
..
docs.go APIv2 review corrections #3 2020-01-25 15:09:09 -06:00
handler_api.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
listener_api.go Add service endpoint 2020-01-21 16:35:45 -06:00
register_auth.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_containers.go Swagger: fix inconsistencies (try #2) 2020-02-18 11:07:07 -07:00
register_distribution.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_events.go Swagger: fix inconsistencies (try #2) 2020-02-18 11:07:07 -07:00
register_exec.go Swagger: fix inconsistencies (try #2) 2020-02-18 11:07:07 -07:00
register_healthcheck.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_images.go Swagger: fix inconsistencies (try #2) 2020-02-18 11:07:07 -07:00
register_info.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_monitor.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_ping.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_plugins.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_pods.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_swagger.go Add /swagger/ endpoint to serve swagger yaml to clients 2020-02-04 16:39:54 -07:00
register_swarm.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
register_system.go Swagger: fix inconsistencies (try #2) 2020-02-18 11:07:07 -07:00
register_version.go Swagger: fix inconsistencies (try #2) 2020-02-18 11:07:07 -07:00
register_volumes.go Swagger: fix inconsistencies (try #2) 2020-02-18 11:07:07 -07:00
server.go Fix handler and systemd activation errors 2020-02-17 10:29:32 -07:00
swagger.go [CI:DOCS]add apiv2 endpoints for exec 2020-02-03 12:40:01 -06:00