-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Expand file tree
/
Copy pathswagger_doc.go
More file actions
104 lines (87 loc) · 4.59 KB
/
swagger_doc.go
File metadata and controls
104 lines (87 loc) · 4.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
package v1
// This file contains methods that can be used by the go-restful package to generate Swagger
// documentation for the object types found in 'types.go' This file is automatically generated
// by hack/update-generated-swagger-descriptions.sh and should be run after a full build of OpenShift.
// ==== DO NOT EDIT THIS FILE MANUALLY ====
var map_OAuthAccessToken = map[string]string{
"": "OAuthAccessToken describes an OAuth access token",
"metadata": "Standard object's metadata.",
"clientName": "ClientName references the client that created this token.",
"expiresIn": "ExpiresIn is the seconds from CreationTime before this token expires.",
"scopes": "Scopes is an array of the requested scopes.",
"redirectURI": "RedirectURI is the redirection associated with the token.",
"userName": "UserName is the user name associated with this token",
"userUID": "UserUID is the unique UID associated with this token",
"authorizeToken": "AuthorizeToken contains the token that authorized this token",
"refreshToken": "RefreshToken is the value by which this token can be renewed. Can be blank.",
}
func (OAuthAccessToken) SwaggerDoc() map[string]string {
return map_OAuthAccessToken
}
var map_OAuthAccessTokenList = map[string]string{
"": "OAuthAccessTokenList is a collection of OAuth access tokens",
"metadata": "Standard object's metadata.",
"items": "Items is the list of OAuth access tokens",
}
func (OAuthAccessTokenList) SwaggerDoc() map[string]string {
return map_OAuthAccessTokenList
}
var map_OAuthAuthorizeToken = map[string]string{
"": "OAuthAuthorizeToken describes an OAuth authorization token",
"metadata": "Standard object's metadata.",
"clientName": "ClientName references the client that created this token.",
"expiresIn": "ExpiresIn is the seconds from CreationTime before this token expires.",
"scopes": "Scopes is an array of the requested scopes.",
"redirectURI": "RedirectURI is the redirection associated with the token.",
"state": "State data from request",
"userName": "UserName is the user name associated with this token",
"userUID": "UserUID is the unique UID associated with this token. UserUID and UserName must both match for this token to be valid.",
}
func (OAuthAuthorizeToken) SwaggerDoc() map[string]string {
return map_OAuthAuthorizeToken
}
var map_OAuthAuthorizeTokenList = map[string]string{
"": "OAuthAuthorizeTokenList is a collection of OAuth authorization tokens",
"metadata": "Standard object's metadata.",
"items": "Items is the list of OAuth authorization tokens",
}
func (OAuthAuthorizeTokenList) SwaggerDoc() map[string]string {
return map_OAuthAuthorizeTokenList
}
var map_OAuthClient = map[string]string{
"": "OAuthClient describes an OAuth client",
"metadata": "Standard object's metadata.",
"secret": "Secret is the unique secret associated with a client",
"respondWithChallenges": "RespondWithChallenges indicates whether the client wants authentication needed responses made in the form of challenges instead of redirects",
"redirectURIs": "RedirectURIs is the valid redirection URIs associated with a client",
}
func (OAuthClient) SwaggerDoc() map[string]string {
return map_OAuthClient
}
var map_OAuthClientAuthorization = map[string]string{
"": "OAuthClientAuthorization describes an authorization created by an OAuth client",
"metadata": "Standard object's metadata.",
"clientName": "ClientName references the client that created this authorization",
"userName": "UserName is the user name that authorized this client",
"userUID": "UserUID is the unique UID associated with this authorization. UserUID and UserName must both match for this authorization to be valid.",
"scopes": "Scopes is an array of the granted scopes.",
}
func (OAuthClientAuthorization) SwaggerDoc() map[string]string {
return map_OAuthClientAuthorization
}
var map_OAuthClientAuthorizationList = map[string]string{
"": "OAuthClientAuthorizationList is a collection of OAuth client authorizations",
"metadata": "Standard object's metadata.",
"items": "Items is the list of OAuth client authorizations",
}
func (OAuthClientAuthorizationList) SwaggerDoc() map[string]string {
return map_OAuthClientAuthorizationList
}
var map_OAuthClientList = map[string]string{
"": "OAuthClientList is a collection of OAuth clients",
"metadata": "Standard object's metadata.",
"items": "Items is the list of OAuth clients",
}
func (OAuthClientList) SwaggerDoc() map[string]string {
return map_OAuthClientList
}