Playback starts YouTube’s embedded player (privacy-enhanced mode).
Swagger API documentation tutorial for beginners - 4 - Open API specification summary
ChannelBraintemple Tutorial TVDescription from the creator
Swagger allows you to describe the structure of your APIs so that machines can read them.
The ability of APIs to describe their own structure is the root of all awesomeness in Swagger. Why is it so great? Well, by reading your API’s structure, we can automatically build beautiful and interactive API documentation. We can also automatically generate client libraries for your API in many languages and explore other possibilities like automated testing.
Swagger does this by asking your API to return a YAML or JSON that contains a detailed description of your entire API. This file is essentially a resource listing of your API which adheres to OpenAPI Specification. The specification asks you to include information like:
What are all the operations that your API supports?
What are your API’s parameters and what does it return?
Does your API need some authorization?
And even fun things like terms, contact information and license to use the API.
You can write a Swagger spec for your API manually, or have it generated automatically from annotations in your source code. Check swagger.io/open-source-integrations for a list of tools that let you generate Swagger from code.
The ability of APIs to describe their own structure is the root of all awesomeness in Swagger. Why is it so great? Well, by reading your API’s structure, we can automatically build beautiful and interactive API documentation. We can also automatically generate client libraries for your API in many languages and explore other possibilities like automated testing.
Swagger does this by asking your API to return a YAML or JSON that contains a detailed description of your entire API. This file is essentially a resource listing of your API which adheres to OpenAPI Specification. The specification asks you to include information like:
What are all the operations that your API supports?
What are your API’s parameters and what does it return?
Does your API need some authorization?
And even fun things like terms, contact information and license to use the API.
You can write a Swagger spec for your API manually, or have it generated automatically from annotations in your source code. Check swagger.io/open-source-integrations for a list of tools that let you generate Swagger from code.
About this tutorial
Braintemple Tutorial TV published this 19:26 video tutorial on November 9, 2017. It has been watched 79,446 times on YouTube.
- Channel
- Braintemple Tutorial TV
- Category
- Education
- Duration
- 19:26
- Published
- November 9, 2017
- Views
- 79,446
- Likes
- 289
Tags
Share
This tutorial in other languages
- FRSwagger tutoriel documentation de l'API pour les débutants - 4 - Ouvrir Résumé des spécifications API
- ESSwagger API documentación tutorial para principiantes - 4 - API abierta Resumen especificación
- PTSwagger API tutorial documentação para iniciantes - 4 - Open API resumo especificação
- ITSwagger API documentazione tutorial per principianti - 4 - Open API sintesi specifica
- DESwagger API-Dokumentation Tutorial für Anfänger - 4 - Open API-Spezifikation Zusammenfassung
- NLSwagger API-documentatie tutorial voor beginners - 4 - Open API samenvatting specificatie
- RUКураж API документация учебник для начинающих - 4 - Open API резюме спецификации
- PLSwagger dokumentacja API poradnik dla początkujących - 4 - Otwarte API podsumowanie specyfikacji
- JA初心者のための闊歩APIドキュメントチュートリアル - 4 - オープンAPIの仕様概要
- ARالتبختر API الوثائق تعليمي للمبتدئين - 4 - توسيع API ملخص المواصفات
- HIशुरुआती के लिए अकड़ API दस्तावेज़ ट्यूटोरियल - 4 - ओपन एपीआई विनिर्देश सारांश
- IDSwagger API dokumentasi tutorial untuk pemula - 4 - Open API Ringkasan spesifikasi