Azure / Azure/api-management-developer-portal
Ocp-Apim-Subscription-Key should be a required field if API requires a Subscription
- Dominant language
- TypeScript
- Stars
- 545
- Forks
- 360
- PR merge metrics
- No merged PRs in 30d
Description
## Bug description
If the user accidently removes the subscription key from the Ocp-Apim-Subscription-Key field, it should put up the "value is required" validation check.
## Reproduction steps
1. Create an API with a Required Subscription
2. Open the Try It Panel
3. You should see the Subscription Key value preloaded in the Ocp-Apim-Subscription-Key field
4. Delete the contents of this field (keep the field as empty)
5. Click the Send button
## Expected behavior
We are seeing this

Where it should have the validation check since Subscription Key is required for this API

## Is your portal managed or self-hosted?
Both
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.