GraphQLライブラリStrawberryのDjangoプロジェクトへの適用事例: 実践から学ぶヒントと戦略
Published March 28, 2024
This video features Shirai Hono at DjangoCongress JP 2022 in Tokyo, Japan.
#django #python #programming #djangorestframework #openapi
Shirai Hono
OpenAPI 3(OAI3) はAPIの構成を記述するのに有効な仕様であり、ドキュメントとして利用することができます。一方、Django REST framework (DRF)は DjangoでRESTful APIを実装できる便利なフレームワークです。 DRFでOAI3を使いドキュメントを生成したい場合、自動生成やDRFのserializerとの連携について、標準機能だけでは限界があります。
本発表ではDRF標準のドキュメント機能について内部実装を紐解きつつ、表示のカスタマイズ方法を紹介します。簡単にドキュメント化できるサードパーティパッケージについても紹介します。
Automatically transcribed, so expect mistakes in names and technical terms.
Speaker 1: So
Speaker 2: we'll think what it is. I'm very good at this.
Speaker 1: I'm sorry, but
Speaker 2: I think it's
Speaker 1: Oh, also it can't you can hide it there at all. I think easy one. That's what we need by doing you think you'd be in three cross-figure. Well when you got it doing it. Ah ,
Speaker 1: This is
Speaker 2: Sur eva. Voilà si rien piston alkoi siento vastanais, että huono ihan. Documentos schema open high OEI.
Speaker 2: Hi, it mata a conkaitka gito hoven or get the hovel cocaiste must wi fi to my pair of kodo crunch on up there. Hi , I think I was here on this.
Speaker 2: But they can't tell you guys. So now we are the no documents in the icimos. No, it be like what's good on any zero framework about this.
Speaker 2: Response a request , response notes, oh, CDR is a pay is a little sick adok. to look good side boss. So give me Open API integrated. Open API entity API mechanical interface or the distance.
Speaker 2: Documentos CC Canona Cyril Pynomotodis. Skaivake kakepaa maina purokaudisella. Mukavakihan teki, niin skimateginsit ja kuupunipia ja puhuja utskat peikimassa. Hi, it is a design edit , the demo, we could have a lot of people who are going to be able to do it.
Speaker 2: because security must. Saa kaivi tai tuo kettua, vaikka totu jopa sanoa, niin totu, jos totu.
Speaker 2: Parameter, but parameter isn't a bit of a question. Parameter no shield, yeah. Schema what 's got the meta data but adaptate.
Speaker 2: Contento hai kadova e JSON e Kosim prendixado Data Gatao Kemo value tosta dishus. Ollaan sanoiva ei tyisonttu eikä se mennyt. Esa oli todelliskina o tekin isteimassa.
Speaker 2: Component no take it. Component the schema. e questo modello sono i usagon funziona staking off
Speaker 2: Yeah, I just took the gymass. No, ITNA user user po alle data or take it step in must. Hi.
Speaker 2: It's a peripheral idea. Okay wa database. It 's a good idea.
Speaker 2: And the point of combat , the combat. The man is gone to be worse than yours.
Speaker 2: Etto koko adele kantaa ni apelino ei pian sillä meustekin. Schema deserved a minute.
Speaker 2: It's just a good schema view to the witness period. Oh, c'est moss. Side is open, API, case game, yam the back sali , must.
Speaker 2: Skyba is a kaikonemassa. It 's haju skatti et Hi, so call you and kyojin, sorry
Speaker 2: must.
Speaker 2: So it's a too cool. I think we 'll
Speaker 2: How did the same as a boss then okay? Mitä tipu tuomas? Et tu skimma vietti, noottu Scheme of Tiv a to be corason to linguist.
Speaker 2: Okay , continue.
Speaker 2: Yours. Open API.
Speaker 2: Mata kustama oli kumpaa , kumpaa tu tiepassa, noppostu tiinisottu, no kumpaa tarp.
Speaker 2: Schema Biva kettum. Schema bivetum sotto, skatte. Schema generata. No, that can se get to generate. Kittu schema to consul the same. Yeah, it's components that are schema e the customite.
Speaker 2: Hi, you for Singapore.
Speaker 2: Equal to the operation response equal to your name. So mitten mit Rokasitten kann aseka bequestellt, At the moment of the style of us. Victoria sponsor your bidas
Speaker 2: , sponsor sirializa we'll be driven but get to sirializa or yobidas. Somebody it took somebody of beautiful bit to see your own stereo, the counseling admas. You need to serialize on the concert take it, then I 'll tumong this well. Uh cancer never take these for the team us. Oh yeah, could I say me the tool?
Speaker 2: So they want you guys to serialize our crash or stimulus. Hi, t to ya tuman musked up. But I shut it in this name. So we can see the data in the Tumanisco. Hi, I don't know the shiraza cross, one so equistons , and the other thing is that the other thing is that the other thing is that the other thing is that the other thing is that the other thing is that the other To sele to, onani, et tous still
Speaker 2: So tämä on autoschema kustami. The customer could say customer schema to you mono screen must.
Speaker 2: Get to serializa that the question serialized out. You don't get to request the serialized
Speaker 2: Saimoni parameetades. Parameita on se THL mit Saimas. Kitty Nation parameter to get to here to parameter. And some of the feet are about quend to another YouTube.
Speaker 2: Parametatoa kurasano get to scheme oration parameters at the And so pastamay which didn't. Это куполе, это
Speaker 2: параметров консульта, это схема операцион параметта. Et tu iron top viking to scheme on a disk. I'm not the new last
Speaker 2: Kasta maan kirjata isolicaro, et biografi esitmas to ponu some. Mata eto parameter you won't share or ethical body response to the Okay. We are good on
Speaker 2: top of this. Do you could also not see our eyes are Library, this I know , take a show question.
Speaker 2: The correct one exists schema to consume schemas.
Speaker 2: Hi, the course retook on the matakula. Hi, it's my documental car stay cut off. What they do are to the must have
Speaker 3: you thought it will skip on tomorrow. Yeah
Speaker 4: we'll tell you what so you know if you think that 's a DJ costumage to side by when I did this only The IRT state cracker, customized.
Speaker 2: Tuohon teillä kummatikava isnä, kun se hogan. Ruck at this.
Note: We understand that names change, people change, and bodies change. We respect each individual's journey and privacy. If you have any concerns about a video or need us to remove content, please don't hesitate to contact us. We will handle your request with care and promptly address any issues.
Published March 28, 2024
Published March 28, 2024
Published March 28, 2024
Published March 28, 2024
Published March 27, 2024
Published March 27, 2024