Jaclyn Ong 4 Years Ago Thanks, Dave! I wasn't having much luck getting mine to build until I came across these blog posts. Very well explained. Please sign in to reply. Reply as... Cancel
Amit sinha 3 Years Ago - Edited Hi David thanks for block it helps me to learn Open Api in liferay. but I am getting error when i am trying to invoke get api with this /v1.0/vitamins/{vitaminId}. i am getting this error " HV000030: No validator could be found for constraint 'javax.validation.constraints.NotNull' validating type 'java.lang.String'. Check configuration for" can you help me on this please Please sign in to reply. Reply as... Cancel Prakash Kumar Amit sinha 3 Years Ago Did u get any solution for this.I am also facing issues Please sign in to reply. Reply as... Cancel
Prakash Kumar Amit sinha 3 Years Ago Did u get any solution for this.I am also facing issues Please sign in to reply. Reply as... Cancel
John Zhang 2 Years Ago - Edited Thanks for the instructions, I am using the CE version of Liferay 7.4.2 GA3, for the GraphQL multipart upload, to enable it in GraphQL, we need to add below lines to the web.xml, but in 7.4.2 GA3, the web.xml doesn't have the servlet configuration, I saw there was one in the shielded-container-web.xml, but when i config the <multipart-config> in the servlet part, it doesn't work, could you please help to let me know how to enable uploading files for GraphQL in CE version of 7.4.2 GA3? <servlet> <servlet-name>Module Framework Servlet</servlet-name> <servlet-class>com.liferay.portal.module.framework.ModuleFrameworkServletAdapter</servlet-class> <load-on-startup>1</load-on-startup> <async-supported>true</async-supported> <multipart-config> <location>/temp</location> <max-file-size>20848820</max-file-size> <max-request-size>418018841</max-request-size> <file-size-threshold>1048576</file-size-threshold> </multipart-config> </servlet> Please sign in to reply. Reply as... Cancel