Fix API documentation, 'Port' to 'port'

This commit is contained in:
Mehdy Bohlool 2019-03-06 14:11:08 -08:00
parent 864cf3e33a
commit c1076ba05a
17 changed files with 21 additions and 21 deletions

View File

@ -123,7 +123,7 @@
"type": "string"
},
"port": {
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `Port` should be a valid port number (1-65535, inclusive).",
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
"format": "int32",
"type": "integer"
}
@ -2923,7 +2923,7 @@
"type": "string"
},
"port": {
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `Port` should be a valid port number (1-65535, inclusive).",
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
"format": "int32",
"type": "integer"
}
@ -16777,7 +16777,7 @@
"type": "string"
},
"port": {
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `Port` should be a valid port number (1-65535, inclusive).",
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
"format": "int32",
"type": "integer"
}
@ -18144,7 +18144,7 @@
"type": "string"
},
"port": {
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `Port` should be a valid port number (1-65535, inclusive).",
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
"format": "int32",
"type": "integer"
}
@ -18315,7 +18315,7 @@
"type": "string"
},
"port": {
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `Port` should be a valid port number (1-65535, inclusive).",
"description": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
"format": "int32",
"type": "integer"
}

View File

@ -335,7 +335,7 @@ type ServiceReference struct {
Path *string
// If specified, the port on the service that hosting webhook.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port int32
}

View File

@ -193,7 +193,7 @@ type ServiceReference struct {
Path *string
// If specified, the port on the service that hosting webhook.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port int32
}

View File

@ -126,7 +126,7 @@ message ServiceReference {
// If specified, the port on the service that hosting webhook.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
optional int32 port = 4;
}

View File

@ -347,7 +347,7 @@ type ServiceReference struct {
// If specified, the port on the service that hosting webhook.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port *int32 `json:"port,omitempty" protobuf:"varint,4,opt,name=port"`
}

View File

@ -73,7 +73,7 @@ var map_ServiceReference = map[string]string{
"namespace": "`namespace` is the namespace of the service. Required",
"name": "`name` is the name of the service. Required",
"path": "`path` is an optional URL path which will be sent in any request to this service.",
"port": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `Port` should be a valid port number (1-65535, inclusive).",
"port": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
}
func (ServiceReference) SwaggerDoc() map[string]string {

View File

@ -86,7 +86,7 @@ message ServiceReference {
// If specified, the port on the service that hosting webhook.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
optional int32 port = 4;
}

View File

@ -192,7 +192,7 @@ type ServiceReference struct {
// If specified, the port on the service that hosting webhook.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port *int32 `json:"port,omitempty" protobuf:"varint,4,opt,name=port"`
}

View File

@ -70,7 +70,7 @@ var map_ServiceReference = map[string]string{
"namespace": "`namespace` is the namespace of the service. Required",
"name": "`name` is the name of the service. Required",
"path": "`path` is an optional URL path which will be sent in any request to this service.",
"port": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `Port` should be a valid port number (1-65535, inclusive).",
"port": "If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).",
}
func (ServiceReference) SwaggerDoc() map[string]string {

View File

@ -156,7 +156,7 @@ type ServiceReference struct {
Path *string
// If specified, the port on the service that hosting webhook.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port int32
}

View File

@ -485,7 +485,7 @@ message ServiceReference {
// If specified, the port on the service that hosting webhook.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
optional int32 port = 4;
}

View File

@ -165,7 +165,7 @@ type ServiceReference struct {
// If specified, the port on the service that hosting webhook.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port *int32 `json:"port,omitempty" protobuf:"varint,4,opt,name=port"`
}

View File

@ -36,7 +36,7 @@ type ServiceReference struct {
Name string
// If specified, the port on the service that hosting the service.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port int32
}

View File

@ -133,7 +133,7 @@ message ServiceReference {
// If specified, the port on the service that hosting webhook.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
optional int32 port = 3;
}

View File

@ -36,7 +36,7 @@ type ServiceReference struct {
Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"`
// If specified, the port on the service that hosting webhook.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port *int32 `json:"port,omitempty" protobuf:"varint,3,opt,name=port"`
}

View File

@ -133,7 +133,7 @@ message ServiceReference {
// If specified, the port on the service that hosting webhook.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
optional int32 port = 3;
}

View File

@ -36,7 +36,7 @@ type ServiceReference struct {
Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"`
// If specified, the port on the service that hosting webhook.
// Default to 443 for backward compatibility.
// `Port` should be a valid port number (1-65535, inclusive).
// `port` should be a valid port number (1-65535, inclusive).
// +optional
Port *int32 `json:"port,omitempty" protobuf:"varint,3,opt,name=port"`
}