/* Options: Date: 2026-09-01 21:49:35 Version: 10.09 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateTodo.* //ExcludeTypes: //DefaultImports: */ package dtos type Todo struct { Id int64 `json:"id,omitempty"` Text string `json:"text"` IsFinished bool `json:"isFinished,omitempty"` } // @Route("/todos/{Id}", "PUT") type UpdateTodo struct { Id int64 `json:"id,omitempty"` // @Validate(Validator="NotEmpty") Text string `json:"text"` IsFinished bool `json:"isFinished,omitempty"` } func (UpdateTodo) CreateResponse() (r Todo) { return } func (UpdateTodo) HttpMethod() string { return "PUT" }