prefix all /api/v1/ view descriptions with a deprecation message

additionally, fix a bug in /api/v1/credentials/ view descriptions that
causes v2 fields to display (see: #6116)
This commit is contained in:
Ryan Petrello
2017-06-21 15:33:57 -04:00
parent d39dba9892
commit 39525316ac
6 changed files with 36 additions and 7 deletions

View File

@@ -0,0 +1 @@
> _This resource has been deprecated and will be removed in a future release_

View File

@@ -10,5 +10,4 @@
{% if new_in_300 %}> _Added in Ansible Tower 3.0.0_{% endif %}
{% if new_in_310 %}> _New in Ansible Tower 3.1.0_{% endif %}
{% if new_in_320 %}> _New in Ansible Tower 3.2.0_{% endif %}
{% if deprecated %}> _This resource has been deprecated and will be removed in a future release_{% endif %}
{% endif %}