Skip to content

Commit f3ae9d2

Browse files
committed
fix schema
1 parent d143b33 commit f3ae9d2

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

modules/api/pkg/handler/apihandler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ func CreateHTTPAPIHandler(iManager integration.Manager) (*restful.Container, err
773773
Writes(ingress.IngressDetail{}).
774774
Returns(http.StatusOK, "OK", ingress.IngressDetail{}))
775775
apiV1Ws.Route(
776-
apiV1Ws.GET("/ingress/{namespace}/{ingress}/event").To(apiHandler.handleGetIngressEvent).
776+
apiV1Ws.GET("/ingress/{namespace}/{name}/event").To(apiHandler.handleGetIngressEvent).
777777
// docs
778778
Doc("returns a list of Events for Ingress").
779779
Param(apiV1Ws.PathParameter("namespace", "namespace of the Ingress")).

modules/web/schema/schema.graphql

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
# Copyright 2017 The Kubernetes Authors.
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS,
11-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
# See the License for the specific language governing permissions and
13-
# limitations under the License.
14-
151
schema @transport(subgraph: "api", kind: "rest") {
162
query: Query
173
mutation: Mutation

0 commit comments

Comments
 (0)