Move operationIds to swagger:operation line

Signed-off-by: Tom Deseyn <tom.deseyn@gmail.com>
This commit is contained in:
Tom Deseyn
2021-02-03 14:22:26 +01:00
committed by Jhon Honce
parent 1214b1a38b
commit 5cbda3b789
9 changed files with 55 additions and 110 deletions

View File

@@ -8,10 +8,9 @@ import (
)
func (s *APIServer) registerArchiveHandlers(r *mux.Router) error {
// swagger:operation PUT /containers/{name}/archive compat putArchive
// swagger:operation PUT /containers/{name}/archive compat PutContainerArchive
// ---
// summary: Put files into a container
// operationId: PutContainerArchive
// description: Put a tar archive of files into a container
// tags:
// - containers (compat)
@@ -53,10 +52,9 @@ func (s *APIServer) registerArchiveHandlers(r *mux.Router) error {
// 500:
// $ref: "#/responses/InternalError"
// swagger:operation GET /containers/{name}/archive compat getArchive
// swagger:operation GET /containers/{name}/archive compat ContainerArchive
// ---
// summary: Get files from a container
// operationId: ContainerArchive
// description: Get a tar archive of files from a container
// tags:
// - containers (compat)