mirror of
https://github.com/EZ-Api/ez-api.git
synced 2026-01-13 17:47:51 +00:00
Decouple API contract from internal models by introducing dedicated DTOs for requests and responses. - Add Response DTOs for all resources (API Keys, Bindings, Models, Namespaces, etc.) - Update Swagger annotations to use DTOs with field examples instead of internal models - Refactor handlers to bind and return DTO structures - Consolidate request/response definitions in the dto package
8 lines
204 B
Go
8 lines
204 B
Go
package dto
|
|
|
|
// DeleteResponse represents a successful delete operation response.
|
|
// @Description Delete operation response
|
|
type DeleteResponse struct {
|
|
Status string `json:"status" example:"deleted"`
|
|
}
|