All checks were successful
Build and Release / release (push) Successful in 1m15s
13 lines
321 B
Go
13 lines
321 B
Go
package request
|
|
|
|
import "encoding/json"
|
|
|
|
type CreateCommitDto struct {
|
|
SnapshotJson json.RawMessage `json:"snapshot_json" validate:"required"`
|
|
EditSummary string `json:"edit_summary" validate:"required,max=500"`
|
|
}
|
|
|
|
type RestoreCommitDto struct {
|
|
CommitID string `json:"commit_id" validate:"required,uuid"`
|
|
}
|