package models

import "ipa/IPAGo/wrapper"

type SearchInput struct {
	Query string `query:"query" doc:"Поисковый запрос" minLength:"3" example:"TikTok"`
	Limit int    `query:"limit" doc:"Количество результатов" min:"1" max:"100" example:"10"`
}

type SearchOutput struct {
	Body struct {
		Success bool          `json:"success"`
		Apps    []wrapper.App `json:"apps"`
	}
}
