RedHatQE / notify-service

Notify service with multiple supported target
MIT License
9 stars 5 forks source link

Update request body schemas #17

Closed waynesun09 closed 3 years ago

waynesun09 commented 3 years ago

Add new TextBody and DictBody schema for request body, use Union for support multiple schemas.

Update apis with the schemas, this change api behavior with 'body' key is required in request body.

Also update examples for request body.

Signed-off-by: Wayne Sun gsun@redhat.com

waynesun09 commented 3 years ago

@abraverm updated, pls check, thanks