Gomathivignesh

Results comments of Gomathivignesh

Hi all, i am using accepts: {arg: 'file', type: 'File', http: { source: 'body' }, required: true} in my remote method it gives me error:Swagger: skipping unknown type "File" can...

@bajtos Thanks for your answer,i changed the version of swagger,its works fine and i dint show the unknown type file,but the remote method shows error : Treating unknown remoting type...

Ok Thanks for reply @bajtos ,is there any way to upload a file to s3 using loopback?i m using loopback-component-storage for s3, i can able to download file from s3,...

Thanks @bajtos above links works for file upload with local,but i need to upload file to s3 so how i configure bucket & folder using loopback,can you please suggest me...

@JohnHour89 Please see the code snippet for file upload with remote method, this may help you datasource.json "amazonS3": { "name": "amazonS3", "connector": "loopback-component-storage", "provider": "amazon", "key": "xxxxxxxxxxxxxxxxxx", "keyId": "xxxxxxxxxxxxxxxx", "maxFileSize":...

@JohnHour89 just add the other fields in loopback remote method accepts feilds, in afterremote method of file upload process the data too..

@JohnHour89,You want add some data in API along with file right? Just add in accepts Array,correct me if my understanding is wrong `accepts: [ {arg: 'req', type: 'object', 'http': {source:...