Project

Profile

Help

Issue #6828

Updated by fao89 over 4 years ago

not all endpoints are displayed on /pulp/api/v3/ 


 After digging more into this, the cause is URLField from DRF, 
 it uses django validator that introduces <! on the regex that validates the domain 
 URLField: https://github.com/encode/django-rest-framework/blob/603aac7db10671dea1975ea3023b5488815aa1ca/rest_framework/fields.py#L885-L893 
 django validator: https://github.com/django/django/blob/d6aff369ad33457ae2355b5b210faf1c4890ff35/django/core/validators.py#L63-L92 


 We need to document to avoid URLField, and prefer CharField

Back