Skip to content

Commit

Permalink
fix: correct password registration method api spec
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Aug 25, 2020
1 parent 0cf6027 commit 08dd582
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion selfservice/strategy/password/registration.go
Expand Up @@ -94,7 +94,19 @@ func (s *Strategy) decoderRegistration() (decoderx.HTTPDecoderOption, error) {
return o, nil
}

// swagger:route GET /self-service/registration/methods/password public completeSelfServiceRegistrationFlowWithPasswordMethod

// swagger:parameters completeSelfServiceRegistrationFlowWithPasswordMethod
type completeSelfServiceRegistrationFlowWithPasswordMethod struct {
// Flow is flow ID.
//
// in: query
Flow string `json:"flow"`

// in: body
Payload map[string]interface{}
}

// swagger:route POST /self-service/registration/methods/password public completeSelfServiceRegistrationFlowWithPasswordMethod
//
// Complete Registration Flow with Username/Email Password Method
//
Expand Down

0 comments on commit 08dd582

Please sign in to comment.