Omit private key from session output
This commit is contained in:
1 parent
4669c95999
commit
5370111336
3 files changed
+9
-1
No files matched your search
@@ -85,6 +85,10 @@ type structInfo struct {
|
||||
|
||||
// createResponseTypes controls for which structs response types are created
|
||||
createResponseTypes bool
|
||||
|
||||
// fieldFilter is a set of field names that will not result in generated API
|
||||
// fields
|
||||
fieldFilter []string
|
||||
}
|
||||
|
||||
var inputStructs = []*structInfo{
|
||||
@@ -367,6 +371,7 @@ var inputStructs = []*structInfo{
|
||||
},
|
||||
pathArgs: []string{"session"},
|
||||
createResponseTypes: true,
|
||||
fieldFilter: []string{"private_key"},
|
||||
},
|
||||
{
|
||||
inProto: &sessions.SessionState{},
|
||||
|
||||
Reference in new issue
Block a user