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
110
Документирование API
Dmitry Efimov
March 30, 2016
Tweet
Share
More Decks by Dmitry Efimov
See All by Dmitry Efimov
Автоматизируем синхронизацию HTTP API и документации
tuwilof
0
28
Автоматизация Document-Driven Development для проектов с большим API
tuwilof
0
39
Инструменты для обнаружения рассинхронизации реализации “REST” API от документации
tuwilof
0
31
Валидация “REST” API по документации APIB
tuwilof
0
29
Негативное тестирование “REST” API и защита от него
tuwilof
0
300
Ликбез по JSON
tuwilof
0
76
API Blueprint
tuwilof
0
65
Почему и как заменить все id на UUID
tuwilof
0
73
Authentication in rails. Monolith vs SPA
tuwilof
0
190
Other Decks in Programming
See All in Programming
今の SmartHR にエンジニアで入社するとどうなるの?
daisukeshinoku
5
4.6k
StreamlitとTerraformでデータカタログを作った話
gussan0223
0
300
Folding Cheat Sheet #3
philipschwarz
PRO
0
110
ADRを一年運用してみた/adr_after_a_year
hanhan1978
7
2.2k
try!Swift Tokyo 2024 参加報告 LT
akidon0000
1
190
CircleCIを活用して AWSへの継続的デリバリーを 実践する
coconala_engineer
1
230
Folding Cheat Sheet #2
philipschwarz
PRO
0
110
Doctrine ORMでValue Objectを扱う方法4選 #phpstudy / 4 ways to handle Value Objects with Doctrine ORM
77web
4
110
Netty Chicago Java User Group 2024-04-17
sullis
0
130
Semantic search with Django and pgvector
pauloxnet
0
240
Milestoner
bkuhlmann
1
400
StoreKit2によるiOSのアプリ内課金のリニューアル
kangnux
0
100
Featured
See All Featured
Making Projects Easy
brettharned
108
5.5k
Practical Orchestrator
shlominoach
181
9.7k
BBQ
matthewcrist
80
8.7k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
18
1.7k
The Art of Programming - Codeland 2020
erikaheidi
41
12k
Teambox: Starting and Learning
jrom
128
8.4k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.6k
Designing for humans not robots
tammielis
247
25k
Learning to Love Humans: Emotional Interface Design
aarron
266
39k
How to train your dragon (web standard)
notwaldorf
72
5.1k
The Straight Up "How To Draw Better" Workshop
denniskardys
227
130k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
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