File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -80,14 +80,18 @@ type EndpointPickerConfig struct {
80
80
81
81
// Extension specifies how to configure an extension that runs the endpoint picker.
82
82
type Extension struct {
83
- // Reference is a reference to a service extension.
83
+ // Reference is a reference to a service extension. When ExtensionReference is invalid,
84
+ // a 5XX status code MUST be returned for the request that would have otherwise been routed
85
+ // to the invalid backend.
84
86
ExtensionReference `json:",inline"`
85
87
86
88
// ExtensionConnection configures the connection between the gateway and the extension.
87
89
ExtensionConnection `json:",inline"`
88
90
}
89
91
90
- // ExtensionReference is a reference to the extension deployment.
92
+ // ExtensionReference is a reference to the extension deployment. When ExtensionReference is invalid,
93
+ // a 5XX status code MUST be returned for the request that would have otherwise been routed to the
94
+ // invalid backend.
91
95
type ExtensionReference struct {
92
96
// Group is the group of the referent.
93
97
// The default value is "", representing the Core API group.
You can’t perform that action at this time.
0 commit comments