Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Alex Quispe
doc-generator
Commits
8f00d6f5
Commit
8f00d6f5
authored
Oct 23, 2018
by
Alex Quispe
Browse files
Archivos temporales eliminados
parent
b1e68a82
Changes
2
Hide whitespace changes
Inline
Side-by-side
example/documentation/src2/grupo2.js
deleted
100644 → 0
View file @
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
'
)
}
example/documentation/src2/users.js
deleted
100644 → 0
View file @
b1e68a82
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
'
)
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment