Skip to content

Commit c1076ba

Browse files
committed
Fix API documentation, 'Port' to 'port'
1 parent 864cf3e commit c1076ba

File tree

17 files changed

+21
-21
lines changed

17 files changed

+21
-21
lines changed

api/openapi-spec/swagger.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/admissionregistration/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ type ServiceReference struct {
335335
Path *string
336336

337337
// If specified, the port on the service that hosting webhook.
338-
// `Port` should be a valid port number (1-65535, inclusive).
338+
// `port` should be a valid port number (1-65535, inclusive).
339339
// +optional
340340
Port int32
341341
}

pkg/apis/auditregistration/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ type ServiceReference struct {
193193
Path *string
194194

195195
// If specified, the port on the service that hosting webhook.
196-
// `Port` should be a valid port number (1-65535, inclusive).
196+
// `port` should be a valid port number (1-65535, inclusive).
197197
// +optional
198198
Port int32
199199
}

staging/src/k8s.io/api/admissionregistration/v1beta1/generated.proto

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ type ServiceReference struct {
347347

348348
// If specified, the port on the service that hosting webhook.
349349
// Default to 443 for backward compatibility.
350-
// `Port` should be a valid port number (1-65535, inclusive).
350+
// `port` should be a valid port number (1-65535, inclusive).
351351
// +optional
352352
Port *int32 `json:"port,omitempty" protobuf:"varint,4,opt,name=port"`
353353
}

staging/src/k8s.io/api/admissionregistration/v1beta1/types_swagger_doc_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/auditregistration/v1alpha1/generated.proto

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/api/auditregistration/v1alpha1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ type ServiceReference struct {
192192

193193
// If specified, the port on the service that hosting webhook.
194194
// Default to 443 for backward compatibility.
195-
// `Port` should be a valid port number (1-65535, inclusive).
195+
// `port` should be a valid port number (1-65535, inclusive).
196196
// +optional
197197
Port *int32 `json:"port,omitempty" protobuf:"varint,4,opt,name=port"`
198198
}

staging/src/k8s.io/api/auditregistration/v1alpha1/types_swagger_doc_generated.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ type ServiceReference struct {
156156
Path *string
157157

158158
// If specified, the port on the service that hosting webhook.
159-
// `Port` should be a valid port number (1-65535, inclusive).
159+
// `port` should be a valid port number (1-65535, inclusive).
160160
// +optional
161161
Port int32
162162
}

0 commit comments

Comments
 (0)