refactor(apiresponse): déplacer définition de document à DataDocument

This commit is contained in:
Victor Lacasse-Beaudoin 2023-12-19 19:37:36 -05:00
parent becd5659f3
commit 8a35f96999

View file

@ -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
}
}