Skip to content

Commit

Permalink
Update types to imply AdUsers is always set
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Sep 25, 2024
1 parent 98f6918 commit 317747f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/applications/models/application_registration.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ type ApplicationRegistration struct {

// ReaderAdGroups the groups that should be able to read the application
//
// required: false
// required: true
ReaderAdGroups []string `json:"readerAdGroups"`

// ReaderAdUsers the users/service-principals that should be able to read the application
//
// required: false
// required: true
ReaderAdUsers []string `json:"readerAdUsers"`

// Owner of the application (email). Can be a single person or a shared group email
Expand Down
2 changes: 2 additions & 0 deletions swaggerui/html/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -5308,6 +5308,8 @@
"sharedSecret",
"adGroups",
"adUsers",
"readerAdGroups",
"readerAdUsers",
"owner",
"creator",
"configBranch"
Expand Down

0 comments on commit 317747f

Please sign in to comment.