itpp-labs / sync-addons

**Sync 🪬 Studio**
https://t.me/sync_studio
143 stars 136 forks source link

feat: add POST support #465

Closed Dysta closed 1 year ago

Dysta commented 1 year ago

Should solve #464

yelizariev commented 1 year ago

I'm not sure if it fits openapi specification...

Dysta commented 1 year ago

How can it fits openapi specifications? If I change from PATCH to POST it will be a big breaking change. First of all, why this endpoint is with a PATCH and not POST?

yelizariev commented 1 year ago

@Dysta it's PATCH because it calls method. POST is used to create records. I think you should make a custom module that adds PATCH to the controller.