Skip to content

Commit

Permalink
fix: resolve sdk build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jul 6, 2021
1 parent 1807e89 commit 68976f8
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 8 deletions.
54 changes: 54 additions & 0 deletions internal/httpclient/models/json_error.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions internal/httpclient/models/plugin_config_interface.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion oauth2/oauth2_auth_code_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ func TestAuthCodeWithDefaultStrategy(t *testing.T) {
WithLoginChallenge(r.URL.Query().Get("login_challenge")).
WithBody(&models.AcceptLoginRequest{Subject: pointerx.String(""), Remember: true}))
require.Error(t, err) // expects 400
assert.Contains(t, err.(*admin.AcceptLoginRequestBadRequest).Payload.Reason, "Field 'subject' must not be empty", "%+v", *err.(*admin.AcceptLoginRequestBadRequest).Payload)
assert.Contains(t, err.(*admin.AcceptLoginRequestBadRequest).Payload.ErrorDescription, "Field 'subject' must not be empty", "%+v", *err.(*admin.AcceptLoginRequestBadRequest).Payload)
}, testhelpers.HTTPServerNoExpectedCallHandler(t))
_, conf := newOAuth2Client(t, testhelpers.NewCallbackURL(t, "callback", testhelpers.HTTPServerNotImplementedHandler))

Expand Down
4 changes: 0 additions & 4 deletions spec/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2154,10 +2154,6 @@
"Types"
],
"properties": {
"ProtocolScheme": {
"description": "Protocol to use for clients connecting to the plugin.",
"type": "string"
},
"Socket": {
"description": "socket",
"type": "string"
Expand Down

0 comments on commit 68976f8

Please sign in to comment.