Some checks failed
CI / Run lints and checks (push) Failing after 47s
CI / Run tests (push) Failing after 1s
CI / Run race tests (push) Failing after 5s
CI / Build CLI docs (push) Has been skipped
CI / Run buf actions (push) Failing after 5s
CodeQL / Analyze (go) (push) Failing after 3s
CodeQL / Analyze (javascript) (push) Failing after 2s
Docker Image Scanners / scanners (push) Failing after 3s
Format / format (push) Failing after 3s
Synchronize Issue Labels / Synchronize Issue Labels (push) Has been skipped
CI / Generate release (push) Has been skipped
CI / Draft newsletter (push) Has been skipped
CI / Pending approval Slack notification (push) Has been skipped
CI / Send newsletter (push) Has been skipped
27 lines
589 B
Go
27 lines
589 B
Go
// Copyright © 2024 Ory Corp
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package main
|
|
|
|
import "github.com/ory/herodot"
|
|
|
|
// JSON API Error Response
|
|
//
|
|
// The standard Ory JSON API error format.
|
|
//
|
|
// swagger:model errorGeneric
|
|
type _ struct {
|
|
// Contains error details
|
|
//
|
|
// required: true
|
|
Error genericError `json:"error"`
|
|
}
|
|
|
|
// swagger:model genericError
|
|
type genericError struct{ herodot.DefaultError }
|
|
|
|
// Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 204.
|
|
//
|
|
// swagger:response emptyResponse
|
|
type _ struct{}
|