Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
b4810fd2
Commit
b4810fd2
authored
Oct 13, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More improvements
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
3a1d9bcc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/development/api_styleguide.md
doc/development/api_styleguide.md
+3
-3
No files found.
doc/development/api_styleguide.md
View file @
b4810fd2
...
...
@@ -22,8 +22,8 @@ for a good example):
-
The GitLab version when the endpoint was added
-
If the endpoint is deprecated, and if yes when will it be removed
-
`params`
for the method params. This acts as description,
validation, and
coercion of the parameters
-
`params`
for the method params. This acts as description,
[validation, and coercion of the parameters]
A good example is as follows:
...
...
@@ -93,4 +93,4 @@ Model.create(foo: params[:foo])
```
[
Entity
]:
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/lib/api/entities.rb
[
parameters validation and coercion
]:
https://github.com/ruby-grape/grape#parameter-validation-and-coercion
[
validation, and coercion of the parameters
]:
https://github.com/ruby-grape/grape#parameter-validation-and-coercion
Write
Preview
Markdown
is supported
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