refactor(apiresponse): déplacer définition de document à DataDocument
This commit is contained in:
parent
becd5659f3
commit
8a35f96999
1 changed files with 7 additions and 6 deletions
|
@ -1,13 +1,15 @@
|
|||
package apiresponse
|
||||
|
||||
type DataDocument struct {
|
||||
Key string
|
||||
Size int64
|
||||
}
|
||||
|
||||
type V1DocumentsPOST struct {
|
||||
Response
|
||||
Data struct {
|
||||
Bucket string
|
||||
Documents struct {
|
||||
Key string
|
||||
Size int64
|
||||
}
|
||||
Documents []DataDocument
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -16,8 +18,7 @@ type V1DocumentPOST struct {
|
|||
Response
|
||||
Data struct {
|
||||
Bucket string
|
||||
Key string
|
||||
Size int64
|
||||
DataDocument
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue