github.com/containers/libpod@v1.9.4-0.20220419124438-4284fd425507/pkg/api/handlers/compat/swagger.go (about)

     1  package compat
     2  
     3  import (
     4  	"github.com/containers/libpod/pkg/api/handlers/utils"
     5  	"github.com/containers/storage/pkg/archive"
     6  )
     7  
     8  // Create container
     9  // swagger:response ContainerCreateResponse
    10  type swagCtrCreateResponse struct {
    11  	// in:body
    12  	Body struct {
    13  		utils.ContainerCreateResponse
    14  	}
    15  }
    16  
    17  // Wait container
    18  // swagger:response ContainerWaitResponse
    19  type swagCtrWaitResponse struct {
    20  	// in:body
    21  	Body struct {
    22  		// container exit code
    23  		StatusCode int
    24  		Error      struct {
    25  			Message string
    26  		}
    27  	}
    28  }
    29  
    30  // Object Changes
    31  // swagger:response Changes
    32  type swagChangesResponse struct {
    33  	// in:body
    34  	Body struct {
    35  		Changes []archive.Change
    36  	}
    37  }