Documentation ¶
Overview ¶
Package properties_search @title properties actions @host localhost:8090
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (Handler) Search ¶
Search
@Summary Search properties. @Description Search properties using different filters @Tags properties @Accept json @Produce json @Param Search body propertySearchRequest true "property search body" @Success 200 {object} common.DefaultResponse{data=[]propertyResponse} @Failure 400 {object} common.ErrorResponse @Failure 401 {object} common.ErrorResponse @Failure 403 {object} common.ErrorResponse @Failure 404 {object} common.ErrorResponse @Failure 500 {object} common.ErrorResponse @Router /v1/properties/search [POST]
func (Handler) SearchMarkers ¶
SearchMarkers
@Summary Search properties markers. @Description Search properties markers using different filters @Tags properties @Accept json @Produce json @Param Search body propertySearchRequest true "property search body" @Success 200 {object} common.DefaultResponse{data=[]propertyMarkerResponse} @Failure 400 {object} common.ErrorResponse @Failure 401 {object} common.ErrorResponse @Failure 403 {object} common.ErrorResponse @Failure 404 {object} common.ErrorResponse @Failure 500 {object} common.ErrorResponse @Router /v1/properties/markers [POST]
func (Handler) Similar ¶
Similar
@Summary List properties by similarity @Description List properties by similarity base on specified property id. @Tags properties @Accept json @Produce json @Param Search body propertyListRequest true "property list body" @Success 200 {object} common.DefaultResponse{data=[]propertyResponse} @Failure 400 {object} common.ErrorResponse @Failure 401 {object} common.ErrorResponse @Failure 403 {object} common.ErrorResponse @Failure 404 {object} common.ErrorResponse @Failure 500 {object} common.ErrorResponse @Router /v1/properties/{id}/similar [POST]