tester

package
v1.17.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListShops

func ListShops()

ListShops @Tags Shops @Summary 샵 목록 조회 ✅ @Description 샵 목록을 조회하는 API 입니다. @Produce json @Success 200 {object} ListShopsResponse "샵 목록 응답 값" @Security BearerAuth @Router /shops [get]

Types

type ListShopsResponse

type ListShopsResponse struct {
	Shops   ShopsResponseV1 `json:"shopsV1"`
	ShopsV2 ShopsResponseV2 `json:"shopsV2"`
	ShopsV3 ShopsResponseV3 `json:"shopsV3"`
}

type ShopResponse

type ShopResponse struct {
	ShopID   string `json:"shopID" validate:"required" example:"63ec5ccff19921e0414902b7"` // 샵 ID
	ShopName string `json:"shopName" validate:"required" example:"스토어 쟈넬"`
}

type ShopsResponseV1 added in v1.17.1

type ShopsResponseV1 []ShopResponse

type ShopsResponseV2

type ShopsResponseV2 array.Array[ShopResponse]

type ShopsResponseV3 added in v1.17.1

type ShopsResponseV3 struct {
	array.Array[ShopResponse]
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL