OpenAPI/Swagger
Endpoint များကို YAML/JSON ဖြင့် သတ်မှတ်ပြီး Swagger UI ဖြင့် စမ်းသphesနိုင်သည်။
text
openapi: 3.0.0
info:
title: Example API
version: 1.0.0
paths:
/v1/users:
get:
responses:
'200':
description: OKစိတ်လျှော့ပါ။ ဒီခန်းကို စာအုပ်လိုမဟုတ်ဘဲ စကားပြောသလိုပဲ၊ နားလည်လွယ်အောင် ရှင်းပါမယ်။
Endpoint များကို YAML/JSON ဖြင့် သတ်မှတ်ပြီး Swagger UI ဖြင့် စမ်းသphesနိုင်သည်။
openapi: 3.0.0
info:
title: Example API
version: 1.0.0
paths:
/v1/users:
get:
responses:
'200':
description: OK