mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
more Swagger template markup
This commit is contained in:
@@ -20,9 +20,13 @@ Make a PUT or PATCH request to this resource to update this
|
|||||||
{% with write_only=1 %}
|
{% with write_only=1 %}
|
||||||
{% include "api/_result_fields_common.md" with serializer_fields=serializer_update_fields %}
|
{% include "api/_result_fields_common.md" with serializer_fields=serializer_update_fields %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
{% endifmeth %}
|
||||||
|
|
||||||
|
{% ifmeth PUT %}
|
||||||
For a PUT request, include **all** fields in the request.
|
For a PUT request, include **all** fields in the request.
|
||||||
|
{% endifmeth %}
|
||||||
|
|
||||||
|
{% ifmeth PATCH %}
|
||||||
For a PATCH request, include only the fields that are being modified.
|
For a PATCH request, include only the fields that are being modified.
|
||||||
{% endifmeth %}
|
{% endifmeth %}
|
||||||
|
|
||||||
|
|||||||
@@ -20,9 +20,13 @@ Make a PUT or PATCH request to this resource to update this
|
|||||||
{% with write_only=1 %}
|
{% with write_only=1 %}
|
||||||
{% include "api/_result_fields_common.md" with serializer_fields=serializer_update_fields %}
|
{% include "api/_result_fields_common.md" with serializer_fields=serializer_update_fields %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
{% endifmeth %}
|
||||||
|
|
||||||
|
{% ifmeth PUT %}
|
||||||
For a PUT request, include **all** fields in the request.
|
For a PUT request, include **all** fields in the request.
|
||||||
|
{% endifmeth %}
|
||||||
|
|
||||||
|
{% ifmeth PATCH %}
|
||||||
For a PATCH request, include only the fields that are being modified.
|
For a PATCH request, include only the fields that are being modified.
|
||||||
{% endifmeth %}
|
{% endifmeth %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user