Enforce parameter types in internal/allowed endpoint
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
As suggested by @alejandro in gitlab-com/gl-infra/production#2985 (comment 450393373), it doesn't look like we enforce the protocol parameter in the /api/v4/internal/allowed endpoint:
I propose:
- Add some soft parameter checking and flag warnings we see the parameters deviate from the expected type.
- When we convince ourselves there are no issues, add Grape parameter validations to enforce these requirements.
Edited by 🤖 GitLab Bot 🤖