-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.go
36 lines (31 loc) · 771 Bytes
/
doc.go
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
// Package client implements the OAuth 2.0 Client functionality and provides http handlers, http clients and storage adapters.
package client
// swagger:parameters createOAuthClient
type swaggerCreateClientPayload struct {
// in: body
// required: true
Body Client
}
// swagger:parameters updateOAuthClient
type swaggerUpdateClientPayload struct {
// in: path
// required: true
ID string `json:"id"`
// in: body
// required: true
Body Client
}
// A list of clients.
// swagger:response clientsList
type swaggerListClientsResult struct {
// in: body
Body []Client
}
// swagger:parameters getOAuthClient deleteOAuthClient
type swaggerQueryClientPayload struct {
// The id of the OAuth 2.0 Client.
//
// unique: true
// in: path
ID string `json:"id"`
}