Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
JavaScriptメタプログラミング勉強会 #metapro_es
Search
mtblue81
February 21, 2018
Technology
440
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JavaScriptメタプログラミング勉強会 #metapro_es
Swaggerとnormalizrを組み合わせるツールの紹介
mtblue81
February 21, 2018
Transcript
15 slides
SwaggerϑΝΠϧ͔ΒnormalizrΛखܰʹ͍͍ͨ +BWB4DSJQUϝλϓϩάϥϛϯάษڧձ
Copyright © Sansan, Inc. All rights reserved. about me ⻘⼭
修平 @Sansan twitter: @Mt_blue81 https://8card.net/p/shuhei-aoyama Eightでフロントエンドを担当しています (少⼈数) 2
3 IUUQTHJUIVCDPN.U#MVFPQFOBQJUPOPSNBMJ[S 4XBHHFSͷఆ͔ٛΒOPSNBMJ[SͷεΩʔϚΛੜ͢Δ +4 OPSNBMJ[S 4XBHHFS
4 https://github.com/paularmstrong/normalizr εΩʔϚ ೖྗ "1*ͳͲ
5 https://github.com/paularmstrong/normalizr ਖ਼نԽ
6 BLB4XBHHFS
7 αʔόΤϯδχΞ ΞϓϦΤϯδχΞ ϑϩϯτΤϯυΤϯδχΞ
8 ϑϩϯτΤϯυΤϯδχΞ +4 +4 +4
9 ϑϩϯτΤϯυΤϯδχΞ +4 +4 +4 ☓Ϛοϐϯάϛε "1*Ϧιʔε
10 ࣗಈԽ͠Α͏ʂ
11 εΩʔϚʹඞཁͳใ +4 εΩʔϚϑΝΠϧ +4 +4 ˞&JHIUͰ3FEVYΛར༻͍ͯ͠ΔͨΊؔ࿈ϑΝΠϧग़ྗ
12
13
14 - API定義ごとにがんばって書くコードが減った - リソースの取り違えのような不具合を減らせる - 型定義も⽣成して静的チェックにもメリット (flow-typeにまじめに取り組みたい・・・) - API定義が変更されたらCIで⾃動⽣成とか・・・
> 達成できた (できそう) なこと
None
More Decks by mtblue81
See All by mtblue81
3Dアバターを楽しもう!@burikaigi2024
mtblue81
1
2k
手触りの良いUIを 名刺表現の巻
mtblue81
0
190
make_frontend_properly_spa.pdf
mtblue81
0
2.9k
Other Decks in Technology
See All in Technology
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
2
530
メディアアートを〈拡張〉する——器官学と個体化論を手がかりに
_kotobuki_
1
390
テスト自動化の先、テスト自律化に向けて
mineo_matsuya
2
530
みん強Lightning! データ基盤ひとりでできるかな
endonanana
0
220
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
3
740
現場に渡し、構造で守る AI エージェントを活用したセルフサーブのデータ基盤の運用
legalontechnologies
PRO
0
150
AI-DLCでソフトウェア開発の速さは 上がったのか?
rfdnxbro
0
190
ブース設計、 お前もプロダクトだったのか / So Booth Design Was a Product All Along
akihiro0038
0
190
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
3
180
AWS DevOps Agentの構造から読み解く運用 AI エージェントの設計原則/aws-devops-agent-design-principles
tomoki10
0
310
「正しいデータ」の定義をAI エージェントとつくるGoogleADKによるデータ品質定義の実践
takaha4k
0
150
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
480
Featured
See All Featured
Bash Introduction
62gerente
615
220k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.2k
Building an army of robots
kneath
307
47k
Technical Leadership for Architectural Decision Making
baasie
4
660
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
560
A designer walks into a library…
pauljervisheath
211
25k
Odyssey Design
rkendrick25
PRO
3
980
YesSQL, Process and Tooling at Scale
rocio
174
15k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
2k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k