You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: models.go
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -211,12 +211,15 @@ type SecurityScope struct {
211
211
Descriptionstring`yaml:"description,omitempty"`
212
212
}
213
213
214
-
// Parameters
214
+
// Parameters is a slice of Parameter objects.
215
215
typeParameters []Parameter
216
216
217
+
// Parameter represents OAS parameter object.
217
218
typeParameterstruct {
218
-
// If in is "path", the name field MUST correspond to a template expression occurring within the path field in the Paths Object. See Path Templating for further information.
219
-
// If in is "header" and the name field is "Accept", "Content-Type" or "Authorization", the parameter definition SHALL be ignored.
219
+
// If in is "path", the name field MUST correspond to a template expression occurring within
220
+
// the path field in the Paths Object. See Path Templating for further information.
221
+
// If in is "header" and the name field is "Accept", "Content-Type" or "Authorization",
222
+
// the parameter definition SHALL be ignored.
220
223
// For all other cases, the name corresponds to the parameter name used by the in property.
221
224
Namestring`yaml:"name,omitempty"`
222
225
Instring`yaml:"in,omitempty"`// "query", "header", "path" or "cookie".
0 commit comments