fix!: ajouter struct tags à routes documents
BREAKING: ajouter struct tags pour documents request
This commit is contained in:
parent
ba4558bb6d
commit
17fb5f16d1
1 changed files with 4 additions and 4 deletions
|
@ -16,10 +16,10 @@ var _ request.Requester[apiresponse.V1DocumentPOST] = V1DocumentPOST{}
|
|||
|
||||
type V1DocumentPOST struct {
|
||||
Data struct {
|
||||
Document *multipart.FileHeader
|
||||
Document *multipart.FileHeader `document`
|
||||
}
|
||||
Params struct {
|
||||
Bucket string
|
||||
Bucket string `json:"bucket"`
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -63,8 +63,8 @@ var _ request.Requester[apiresponse.V1DocumentDELETE] = V1DocumentDELETE{}
|
|||
|
||||
type V1DocumentDELETE struct {
|
||||
Params struct {
|
||||
Bucket string
|
||||
Document string
|
||||
Bucket string `json:"bucket"`
|
||||
Document string `json:"document"`
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue