My response scheme
requestBody:
content:
application/x-www-form-urlencoded:
schema:
type: object
properties:
action:
type: array
$ref: '#/components/schemas/Action'
services:
type: array
items:
type: string
Expected output
type ReleaseServicesFormdataBody struct {
Action *Action `form:"action,omitempty"`
Services *[]string `form:"services,omitempty"`
}
What i really get
type ReleaseServicesFormdataBody struct {
Action *Action `json:"action,omitempty"`
Services *[]string `json:"services,omitempty"`
}
My response scheme
Expected output
What i really get