
nl.vpro.domain.api.Examples Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-domain Show documentation
Show all versions of api-domain Show documentation
Contains the objects used by the Frontend API, like forms and result objects
package nl.vpro.domain.api;
/**
* @author Michiel Meeuwissen
* @since 5.0
*/
public class Examples {
private Examples() {
}
public static final String IDLIST_JSON = "[\"AVRO_1656037\", \"NCRV_1413393\"]";
public static final String IDLIST_XML = "\n" +
" \" AVRO_1656037 \\n\" +\n" +
" \" NCRV_1413393 \\n\" +\n" +
" \" ";
/* public static final Example IDLIST = {
@ExampleProperty(mediaType = "application/json", value = Examples.IDLIST_JSON),
@ExampleProperty(mediaType = "application/xml", value = Examples.IDLIST_XML)
};*/
public static final String FORM_JSON = "{\n" +
" \"searches\" : {\n" +
" \"text\" : {\n" +
" \"value\" : \"Argos\"\n" +
" }\n" +
" }\n" +
"}";
public static final String FORM_XML = "{\n" +
" \"searches\" : {\n" +
" \"text\" : {\n" +
" \"value\" : \"Argos\"\n" +
" }\n" +
" }\n" +
"}";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy