-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
We use server code generation with the strict-server: true parameter. During generation, we obtain the following structures for the response
GetHealthcheck200JSONResponse{
Timestamp: time.Now().UnixMilli(),
}
GetHealthcheck500JSONResponse{
Timestamp: time.Now().UnixMilli(),
}And this happens with absolutely any response, a separate structure is created for each error code specified in the API contract. We find this inconvenient, but couldn't figure out how to make a generic structure or our own wrapper. Could you suggest how to be in this situation?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels