Skip to content

Guardrails: Enhancements on initial code #14

@nishika26

Description

@nishika26

Which feature or component needs enhancement?
Now that an initial amount of code has been pushed to this repo, we need to keep in mind any enhancement that code needs, having stated this, noting down the list of things that need enhancement here.

Describe the current behavior

  • While the post endpoints gives back error for wrong parameter value, it does not give any error for wrong parameter name added with validators
  • The error you get for missing input body is not very clear as of now

Describe the enhancement you'd like

  • An error should be returned if someone gave post endpoints wrong parameter name, for example if they typed "on_fix" instead of "on_fail"
  • There should be a clear error message for missing input text

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    Status

    To Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions