team-genny / genny

0 stars 1 forks source link

Add API endpoint to edit existing schema #11

Closed fergcb closed 4 months ago

fergcb commented 4 months ago

There should be a PATCH endpoint that allows a client to edit an existing schema.

Request body should be a partial version of the initial POST when creating a schema, with optional slug and fields which if present will replace the existing values for these attributes.

Should return 200 OK on success or 400 Bad Request for validation errors.