timkley / weaviate-php

A PHP client to communicate with a Weaviate instance
MIT License
27 stars 9 forks source link

fixes Schema addProperty method and endpoint #2

Closed grpaiva closed 1 year ago

grpaiva commented 1 year ago

Hey @timkley, thanks for this great package.

Noticed a small issue when using Schema's addProperty method. According to the docs it should be a POST request to v1/schema/{class_name}/properties.

Tests are ok.

Ref.: https://weaviate.io/developers/weaviate/api/rest/schema#add-a-property

timkley commented 1 year ago

Thank you @grpaiva 👏🏻