typesense-dart icon indicating copy to clipboard operation
typesense-dart copied to clipboard

Add more models

Open guenth39 opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe.

I miss the known type safety by missing models for SearchParameters and SearchResponse, a map is always not as easy to use and more error prone than a model.

Describe the solution you'd like

Add the models for SearchParameters and SearchResponse.

guenth39 avatar Apr 27 '22 13:04 guenth39

Hi @guenth39 Thank you for creating this issue. I've had this on my TODO list for a while now, just haven't gotten around to implement it due to time limitations. I can definitely guide you if you feel like contributing to the project.

happy-san avatar Apr 29 '22 10:04 happy-san

These model definitions are available as part of the open api spec and that can be used to generate the models.

kishorenc avatar May 02 '22 11:05 kishorenc