Commit 8f00d6f5 authored by Alex Quispe's avatar Alex Quispe
Browse files

Archivos temporales eliminados

parent b1e68a82
const ApiGen = require('../../../')
module.exports = async () => {
await ApiGen.post('/api/v1/users').data({body:{name:'John',user:'admin',pass:'123'}}).key('Admin').generate('GRUPO 2')
await ApiGen.post('/api/v1/users').data({body:{name:'Smith',user:'user',pass:'123'}}).key('User').generate('GRUPO 2')
}
const ApiGen = require('../../../')
module.exports = async () => {
await ApiGen.get('/api/v1/users').generate()
await ApiGen.post('/api/v1/users').data({body:{name:'rosa',user:'user100',pass:'123'}}).generate()
await ApiGen.get('/api/v1/users').name('Devuelve una lista de usuarios').generate('GRUPO 1')
await ApiGen.get('/api/v1/users').name('Listar usuarios').generate('GRUPO 1')
await ApiGen.get('/documentando/solo/la/ruta').request(false).generate('GRUPO 3')
const DATA = [
{ id: 1, name: 'Anna', user: 'admin', pass: '123' },
{ id: 2, name: 'Juan', user: 'user', pass: '123' }
]
await ApiGen.post('/api/v1/users/bulk').data({ body: DATA }).generate('GROUP 4')
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment