wso2 / wso2/api-platform

Word Count Guardrail should not mandate Min and Max values

Open
#1,242 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type/Improvement
Dominant language
Go
Stars
71
Forks
111
Avg merge
1d 14h
Merged PRs (30d)
110

Description

Current Limitation

In Word Count Guardrail, currently both Min and Max values are mandetory for both request and response flows.
This should not be mandatory.

Image
Suggested Improvement

Remove mandatory check

Version

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Word Count Guardrail implementation and its validation tests for request and response flows. Confirm how Min and Max are currently required; done means either value can be omitted without a mandatory-field failure in both flows, with the relevant tests updated and run.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.