Skip to content

why response header not generated? #858

@phpmaple

Description

@phpmaple
// @Summary 
// @Description
// @Tags 
// @Accept json
// @Produce json
// @Param X-Tenant-Type header string true "1: admin, 2: merchant, 3: app" default(1)
// @Param X-Uuid header string true "user uuid" default(2463649890798928897)
// @Param X-TemporaryToken header string true "user uuid" default(OJVERWCLUOXRHZXRZGEHYK2UWLUSS3X4)
// @Param params body api.VerifyOtpRequest true "params"
// @Header 200 {string} X-Uuid "312312312"
// @Header 200 {string} Token "qwerty"
// @Success 200 {object} api.HTTPResponse "errCode: Err_OTP_Vefify(100000)"
// @Failure 400 {object} api.HTTPError
// @Router /v1/api/otpsecret-bind [post]

why response header not generated?

      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/api.HTTPResponse'
        "400":
          description: Bad Request
          schema:
            $ref: '#/definitions/api.HTTPError'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions