Commit 28b2c008 authored by Muhammad Umair Zafar's avatar Muhammad Umair Zafar
Browse files

remove the previous code in api_*.go files and replace it with a dummy handler...

remove the previous code in api_*.go files and replace it with a dummy handler functions in the sandbox_api.go as per the development guide
parent b46e57f0
Loading
Loading
Loading
Loading
+0 −24
Original line number Diff line number Diff line
/*
 * MEC Sandbox API
 *
 * The MEC Sandbox API described using OpenAPI
 *
 * API version: 0.0.3
 * Contact: cti_support@etsi.org
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */
package swagger

import (
	"net/http"
)

func Login(w http.ResponseWriter, r *http.Request) {
	w.Header().Set("Content-Type", "application/json; charset=UTF-8")
	w.WriteHeader(http.StatusOK)
}

func Logout(w http.ResponseWriter, r *http.Request) {
	w.Header().Set("Content-Type", "application/json; charset=UTF-8")
	w.WriteHeader(http.StatusOK)
}
+47 −0
Original line number Diff line number Diff line
package server

import "net/http"

func Login(w http.ResponseWriter, r *http.Request) {
	login(w, r)
}

func Logout(w http.ResponseWriter, r *http.Request) {
	logout(w, r)
}

func SandboxAppInstancesGET(w http.ResponseWriter, r *http.Request) {
	sandboxAppInstancesGET(w, r)
}

func SandboxLogsSubscriptionsDELETE(w http.ResponseWriter, r *http.Request) {
	sandboxLogsSubscriptionsDELETE(w, r)
}

func SandboxLogsSubscriptionsPOST(w http.ResponseWriter, r *http.Request) {
	sandboxLogsSubscriptionsPOST(w, r)
}

func SandboxMecServicesGET(w http.ResponseWriter, r *http.Request) {
	sandboxMecServicesGET(w, r)
}

func SandboxMecServicesPOST(w http.ResponseWriter, r *http.Request) {
	sandboxMecServicesPOST(w, r)
}

func SandboxNetworkScenariosGET(w http.ResponseWriter, r *http.Request) {
	sandboxNetworkScenariosGET(w, r)
}

func SandboxNetworkScenariosPOST(w http.ResponseWriter, r *http.Request) {
	sandboxNetworkScenariosPOST(w, r)
}

func SandboxUeControllerGET(w http.ResponseWriter, r *http.Request) {
	sandboxUeControllerGET(w, r)
}

func SandboxUeControllerPATCH(w http.ResponseWriter, r *http.Request) {
	sandboxUeControllerPATCH(w, r)
}
+0 −19
Original line number Diff line number Diff line
/*
 * MEC Sandbox API
 *
 * The MEC Sandbox API described using OpenAPI
 *
 * API version: 0.0.3
 * Contact: cti_support@etsi.org
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */
package swagger

import (
	"net/http"
)

func SandboxAppInstancesGET(w http.ResponseWriter, r *http.Request) {
	w.Header().Set("Content-Type", "application/json; charset=UTF-8")
	w.WriteHeader(http.StatusOK)
}
+0 −24
Original line number Diff line number Diff line
/*
 * MEC Sandbox API
 *
 * The MEC Sandbox API described using OpenAPI
 *
 * API version: 0.0.3
 * Contact: cti_support@etsi.org
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */
package swagger

import (
	"net/http"
)

func SandboxLogsSubscriptionsDELETE(w http.ResponseWriter, r *http.Request) {
	w.Header().Set("Content-Type", "application/json; charset=UTF-8")
	w.WriteHeader(http.StatusOK)
}

func SandboxLogsSubscriptionsPOST(w http.ResponseWriter, r *http.Request) {
	w.Header().Set("Content-Type", "application/json; charset=UTF-8")
	w.WriteHeader(http.StatusOK)
}
+0 −24
Original line number Diff line number Diff line
/*
 * MEC Sandbox API
 *
 * The MEC Sandbox API described using OpenAPI
 *
 * API version: 0.0.3
 * Contact: cti_support@etsi.org
 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
 */
package swagger

import (
	"net/http"
)

func SandboxMecServicesGET(w http.ResponseWriter, r *http.Request) {
	w.Header().Set("Content-Type", "application/json; charset=UTF-8")
	w.WriteHeader(http.StatusOK)
}

func SandboxMecServicesPOST(w http.ResponseWriter, r *http.Request) {
	w.Header().Set("Content-Type", "application/json; charset=UTF-8")
	w.WriteHeader(http.StatusOK)
}
Loading