mirror of
https://github.com/containers/podman.git
synced 2025-07-15 03:02:52 +08:00
Enable swagger validation for each PR
* Update swagger:operation's to pass validation * 'name' path parameter now used throughout API * Added #/response/ok for 200 returns, TBD values have been replaced with legal values. Signed-off-by: Jhon Honce <jhonce@redhat.com>
This commit is contained in:
29
pkg/api/server/docs.go
Normal file
29
pkg/api/server/docs.go
Normal file
@ -0,0 +1,29 @@
|
||||
// Package api Provides a container compatible interface. (Experimental)
|
||||
//
|
||||
// This documentation describes the HTTP Libpod interface. It is to be considered
|
||||
// only as experimental as this point. The endpoints, parameters, inputs, and
|
||||
// return values can all change.
|
||||
//
|
||||
// Terms Of Service:
|
||||
//
|
||||
// Schemes: http, https
|
||||
// Host: podman.io
|
||||
// BasePath: /
|
||||
// Version: 0.0.1
|
||||
// License: Apache-2.0 https://opensource.org/licenses/Apache-2.0
|
||||
// Contact: Podman <podman@lists.podman.io> https://podman.io/community/
|
||||
// Extensions:
|
||||
// x-logo:
|
||||
// - url: https://raw.githubusercontent.com/containers/libpod/master/logo/podman-logo.png
|
||||
// - altText: "Podman logo"
|
||||
//
|
||||
// Produces:
|
||||
// - application/json
|
||||
// - text/plain
|
||||
// - text/html
|
||||
//
|
||||
// Consumes:
|
||||
// - application/json
|
||||
// - application/x-tar
|
||||
// swagger:meta
|
||||
package server
|
Reference in New Issue
Block a user