Skip to content

Fix api contract for Post /requests endpoint of OOO requests #224

@surajmaity1

Description

@surajmaity1

Issue Description

Fix the OOO request information for the POST /requests endpoint.

Expected Behavior

  • Rename message to reason field and removed state field from OOO's request body.
  • Update response body of OOO request
  • Add error responses.

Reproducibility

  • This issue is reproducible
  • This issue is not reproducible

Severity/Priority

  • Critical
  • High
  • Medium
  • Low

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions