Loading go-apps/meep-loc-serv/api/swagger.yaml +3 −0 Original line number Diff line number Diff line Loading @@ -2436,6 +2436,9 @@ components: type: string x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: URI required: - status - detail type: object RetrievalStatus: enum: Loading go-apps/meep-loc-serv/server/convert.go +9 −0 Original line number Diff line number Diff line Loading @@ -297,3 +297,12 @@ func convertStringToConnectionType(conType string) ConnectionType { return CONTYPE_UNKNOWN } } func convertProblemDetailstoJson(probdetails *ProblemDetails) string { jsonInfo, err := json.Marshal(*probdetails) if err != nil { log.Println(err.Error()) return "" } return string(jsonInfo) } No newline at end of file go-apps/meep-loc-serv/server/loc-serv.go +160 −149 File changed.Preview size limit exceeded, changes collapsed. Show changes go-apps/meep-loc-serv/server/model_problem_details.go +2 −2 Original line number Diff line number Diff line Loading @@ -25,11 +25,11 @@ package server type ProblemDetails struct { // A human-readable explanation specific to this occurrence of the problem Detail string `json:"detail,omitempty"` Detail string `json:"detail"` // A URI reference that identifies the specific occurrence of the problem Instance string `json:"instance,omitempty"` // The HTTP status code for this occurrence of the problem Status int32 `json:"status,omitempty"` Status int32 `json:"status"` // A short, human-readable summary of the problem type Title string `json:"title,omitempty"` // A URI reference according to IETF RFC 3986 that identifies the problem type Loading Loading
go-apps/meep-loc-serv/api/swagger.yaml +3 −0 Original line number Diff line number Diff line Loading @@ -2436,6 +2436,9 @@ components: type: string x-etsi-mec-cardinality: 0..1 x-etsi-mec-origin-type: URI required: - status - detail type: object RetrievalStatus: enum: Loading
go-apps/meep-loc-serv/server/convert.go +9 −0 Original line number Diff line number Diff line Loading @@ -297,3 +297,12 @@ func convertStringToConnectionType(conType string) ConnectionType { return CONTYPE_UNKNOWN } } func convertProblemDetailstoJson(probdetails *ProblemDetails) string { jsonInfo, err := json.Marshal(*probdetails) if err != nil { log.Println(err.Error()) return "" } return string(jsonInfo) } No newline at end of file
go-apps/meep-loc-serv/server/loc-serv.go +160 −149 File changed.Preview size limit exceeded, changes collapsed. Show changes
go-apps/meep-loc-serv/server/model_problem_details.go +2 −2 Original line number Diff line number Diff line Loading @@ -25,11 +25,11 @@ package server type ProblemDetails struct { // A human-readable explanation specific to this occurrence of the problem Detail string `json:"detail,omitempty"` Detail string `json:"detail"` // A URI reference that identifies the specific occurrence of the problem Instance string `json:"instance,omitempty"` // The HTTP status code for this occurrence of the problem Status int32 `json:"status,omitempty"` Status int32 `json:"status"` // A short, human-readable summary of the problem type Title string `json:"title,omitempty"` // A URI reference according to IETF RFC 3986 that identifies the problem type Loading