Ruloaooa commited on
Commit
cfa692e
·
verified ·
1 Parent(s): 11cd4bf

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +15 -0
index.js CHANGED
@@ -325,6 +325,21 @@ app.get('/', (req, res) => {
325
  ContentType: 'image/png'
326
  },
327
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
328
  ],
329
  };
330
 
 
325
  ContentType: 'image/png'
326
  },
327
  },
328
+ {
329
+ method: 'GET',
330
+ path: '/brat',
331
+ description: 'Generate brat image using text query.',
332
+ request: {
333
+ text: 'input query'
334
+ },
335
+ exampleRequest: {
336
+ text: 'hii iam usinv brat.'
337
+ },
338
+ response: {
339
+ status: 'success',
340
+ ContentType: 'image/png'
341
+ },
342
+ },
343
  ],
344
  };
345