update status edit form swagger comments

This commit is contained in:
kim 2024-12-23 13:37:37 +00:00
commit a270e0df10
3 changed files with 108 additions and 2 deletions

View file

@ -54,7 +54,7 @@ type AttachmentUpdateRequest struct {
Focus *string `form:"focus" json:"focus" xml:"focus"`
}
// AttachmentAttributesRequest models an edit request for a attachment attributes.
// AttachmentAttributesRequest models an edit request for attachment attributes.
//
// swagger:ignore
type AttachmentAttributesRequest struct {

View file

@ -378,7 +378,7 @@ type StatusEditRequest struct {
// If provided, status becomes optional, and poll cannot be used.
MediaIDs []string `form:"media_ids[]" json:"media_ids"`
// ...
// Array of Attachment attributes to be updated in attached media.
MediaAttributes []AttachmentAttributesRequest `form:"media_attributes[]" json:"media_attributes"`
// Poll to include with this status.