Fix IndieAuth endpoint requiring incorrectly defined query param (#4183)
* fix(api): remove incorrectly required query param. Fixes #4163 * Commit updated API documentation --------- Co-authored-by: Owncast <owncast@owncast.online>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// Package generated provides primitives to interact with the openapi HTTP API.
|
||||
//
|
||||
// Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
|
||||
// Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.
|
||||
package generated
|
||||
|
||||
import (
|
||||
@@ -625,9 +625,6 @@ type AccessToken = string
|
||||
// IndieAuthClientId defines model for IndieAuthClientId.
|
||||
type IndieAuthClientId = string
|
||||
|
||||
// IndieAuthCode defines model for IndieAuthCode.
|
||||
type IndieAuthCode = string
|
||||
|
||||
// IndieAuthCodeChallenge defines model for IndieAuthCodeChallenge.
|
||||
type IndieAuthCodeChallenge = string
|
||||
|
||||
@@ -803,7 +800,6 @@ type StartIndieAuthFlowParams struct {
|
||||
// HandleIndieAuthRedirectParams defines parameters for HandleIndieAuthRedirect.
|
||||
type HandleIndieAuthRedirectParams struct {
|
||||
State IndieAuthState `form:"state" json:"state"`
|
||||
Code IndieAuthCode `form:"code" json:"code"`
|
||||
}
|
||||
|
||||
// HandleIndieAuthEndpointGetParams defines parameters for HandleIndieAuthEndpointGet.
|
||||
@@ -812,7 +808,6 @@ type HandleIndieAuthEndpointGetParams struct {
|
||||
RedirectUri IndieAuthRedirectURI `form:"redirect_uri" json:"redirect_uri"`
|
||||
CodeChallenge IndieAuthCodeChallenge `form:"code_challenge" json:"code_challenge"`
|
||||
State IndieAuthState `form:"state" json:"state"`
|
||||
Code IndieAuthCode `form:"code" json:"code"`
|
||||
}
|
||||
|
||||
// HandleIndieAuthEndpointPostFormdataBody defines parameters for HandleIndieAuthEndpointPost.
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user