swagger: add operationIds that match with docker

Signed-off-by: Tom Deseyn <tom.deseyn@gmail.com>
This commit is contained in:
Tom Deseyn
2021-01-27 13:48:16 +01:00
committed by Jhon Honce
parent 2b13c5d92a
commit 1214b1a38b
9 changed files with 90 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ func (s *APIServer) registerArchiveHandlers(r *mux.Router) error {
// swagger:operation PUT /containers/{name}/archive compat putArchive
// ---
// summary: Put files into a container
// operationId: PutContainerArchive
// description: Put a tar archive of files into a container
// tags:
// - containers (compat)
@@ -55,6 +56,7 @@ func (s *APIServer) registerArchiveHandlers(r *mux.Router) error {
// swagger:operation GET /containers/{name}/archive compat getArchive
// ---
// summary: Get files from a container
// operationId: ContainerArchive
// description: Get a tar archive of files from a container
// tags:
// - containers (compat)