Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Документирование API
Search
Dmitry Efimov
March 30, 2016
Programming
0
190
Документирование API
Dmitry Efimov
March 30, 2016
Tweet
Share
More Decks by Dmitry Efimov
See All by Dmitry Efimov
Автоматизируем синхронизацию HTTP API и документации
tuwilof
0
42
Автоматизация Document-Driven Development для проектов с большим API
tuwilof
0
45
Инструменты для обнаружения рассинхронизации реализации “REST” API от документации
tuwilof
0
50
Валидация “REST” API по документации APIB
tuwilof
0
43
Негативное тестирование “REST” API и защита от него
tuwilof
0
340
Ликбез по JSON
tuwilof
0
88
API Blueprint
tuwilof
0
81
Почему и как заменить все id на UUID
tuwilof
0
94
Authentication in rails. Monolith vs SPA
tuwilof
0
210
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
580
Go言語の特性を活かした公式MCP SDKの設計
hond0413
1
460
実践Claude Code:20の失敗から学ぶAIペアプログラミング
takedatakashi
18
7.9k
オープンソースソフトウェアへの解像度🔬
utam0k
17
3.1k
スマホから Youtube Shortsを見られないようにする
lemolatoon
27
33k
CSC305 Lecture 06
javiergs
PRO
0
270
CSC305 Lecture 10
javiergs
PRO
0
220
あなたとKaigi on Rails / Kaigi on Rails + You
shimoju
0
180
AIと人間の共創開発!OSSで試行錯誤した開発スタイル
mae616
2
790
O Que É e Como Funciona o PHP-FPM?
marcelgsantos
0
190
Six and a half ridiculous things to do with Quarkus
hollycummins
0
210
CSC509 Lecture 05
javiergs
PRO
0
310
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Documentation Writing (for coders)
carmenintech
75
5.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
Music & Morning Musume
bryan
46
6.9k
Into the Great Unknown - MozCon
thekraken
40
2.1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
930
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
The Invisible Side of Design
smashingmag
302
51k
Automating Front-end Workflow
addyosmani
1371
200k
Producing Creativity
orderedlist
PRO
347
40k
Raft: Consensus for Rubyists
vanstee
140
7.2k
Transcript
None
None
None
None
# Клиент # Ошибка в синтаксисе запроса # Создание пользователя
# # @note заметка # # @param [User] user пользователь # # @raise [Client::BadRequest] ошибка в синтаксисе запроса # # @return [User] пользователь
# @note Если не помещается, можно # продолжить писать на
другой строке # @note если требуется что то перечислить # - можно # - сделать # - список
yard server --reload http://localhost:8808/
None
None
resource_description do name "Аутентификация" end api! 'Вход в систему' param
:login, String, required: true, desc: "Логин пользователя" param :password, String, required: true, desc: "Пароль пользователя" error 401, "Ошибка в логине или пароле" example 'можно написать пример тела запроса или ответа'
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
https://apiblueprint.org/tools.html https://github.com/kylef/apiblueprint.vim https://atom.io/packages/api-blueprint-preview https://atom.io/packages/language-api-blueprint
http://yardoc.org/ https://github.com/lsegal/yard https://github.com/Apipie/apipie-rails https://apiary.io/ https://apiblueprint.org https://github.com/apiaryio/mson https://help.apiary.io/api_101/ https://apiblueprint.org/documentation/specification.html