Implementing service methods to handle parsing the http parameters and body and getting them in swagger JSON-form