github.com/kubeshop/testkube@v1.17.23/pkg/api/v1/testkube/model_problem.go (about)

     1  /*
     2   * Testkube API
     3   *
     4   * Testkube provides a Kubernetes-native framework for test definition, execution and results
     5   *
     6   * API version: 1.0.0
     7   * Contact: testkube@kubeshop.io
     8   * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
     9   */
    10  package testkube
    11  
    12  // problem response in case of error
    13  type Problem struct {
    14  	// Type contains a URI that identifies the problem type.
    15  	Type_ string `json:"type,omitempty"`
    16  	// Title is a short, human-readable summary of the problem type. This title SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization.
    17  	Title string `json:"title,omitempty"`
    18  	// HTTP status code for this occurrence of the problem.
    19  	Status int32 `json:"status,omitempty"`
    20  	// A human-readable explanation specific to this occurrence of the problem.
    21  	Detail string `json:"detail,omitempty"`
    22  	// A URI that identifies the specific occurrence of the problem. This URI may or may not yield further information if de-referenced.
    23  	Instance string `json:"instance,omitempty"`
    24  }