Java Code Examples for org.springframework.restdocs.payload.PayloadDocumentation#requestFields()
The following examples show how to use
org.springframework.restdocs.payload.PayloadDocumentation#requestFields() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Snippets.java From genie with Apache License 2.0 | 4 votes |
static RequestFieldsSnippet getApplicationRequestPayload() { return PayloadDocumentation.requestFields(getApplicationFieldDescriptors()); }
Example 2
Source File: Snippets.java From genie with Apache License 2.0 | 4 votes |
static RequestFieldsSnippet getClusterRequestPayload() { return PayloadDocumentation.requestFields(getClusterFieldDescriptors()); }
Example 3
Source File: Snippets.java From genie with Apache License 2.0 | 4 votes |
static RequestFieldsSnippet getCommandRequestPayload() { return PayloadDocumentation.requestFields(getCommandFieldDescriptors()); }
Example 4
Source File: Snippets.java From genie with Apache License 2.0 | 4 votes |
static RequestFieldsSnippet getJobRequestRequestPayload() { return PayloadDocumentation.requestFields(getJobRequestFieldDescriptors()); }
Example 5
Source File: Snippets.java From genie with Apache License 2.0 | 4 votes |
static RequestFieldsSnippet addClusterCriterionForCommandRequestPayload() { return PayloadDocumentation.requestFields(getCriterionFieldDescriptors()); }