Open sumkincpp opened 4 years ago
@ryanpetrello can you weigh in on this?
Nope, I'm not familiar with the change that affected this cc @AlanCoding @jbradberry @elyezer
This skip field behavior is coming from Django REST Framework itself, and thus this piece of metadata should be missing on all of our fields that have an empty default since we aren't overriding it anywhere.
This looks easy enough to fix if we want this change, but it will affect all currently skipped fields, not just .webhook_service
I take that back, ultimately the field itself is refusing to return a value when get_default
is called on it.
ISSUE TYPE
SUMMARY
Related to #5099
Current
OPTIONS
forjob_templates
output doesn't have default listed as"default": ""
forwebhook_service
, which haverequired: false
.Default is expected to be listed within the API since it is not required -
ENVIRONMENT
AWX version: 11.2.0 AWX install method: N/A Ansible version: N/A Operating System: Web Browser: