button-icon

Entrar

Entrar
Archi's Academy
    Cursos
    Cursos
  • Projetos
    Projetos
  • Archi's Academy

    Trilhas

    #
  • Blog
    Blog
  • Precos
    Precos
  • Contato
    Contato
  • Para clubes universitarios
    Para clubes universitarios

BLACK FRIDAY

85% de desconto durante todo novembro

whatsapp
Entre em contato
Archi's Academy

Navegacao

  • Precos

Legal

  • Politica de Privacidade
  • Termos de Servico

Contato

+1 (217) 200 90 93
Suite No: 8, 400 Emmet Street
Kissimmee, Florida 34741 USA
[email protected]

Copyright © Tech Career Yazılım Danışmanlık A.Ş. 2026

instagramlinkedingithubyoutubexfacebook
visamastercardstripeiyzicoamerican-express
ETBIS
  1. Home›
  2. Blog›
  3. API Documentation using Swagger

API Documentation

API Documentation using Swagger

Swagger clarifies API development for users and enterprises with the Swagger open-source toolset. Swagger is a specification for describing, producing, consuming, testing and visualizing a RESTful API. The specialty of swagger is its simplicity. It describes how an API works, where it resides, what inputs it needs, and what results it produces.
Several editing tools can help you to create Swagger APIs. Swagger Editor is a tool that can be used to create API documentation. It's an open-source tool that we can download or use online.
Three main sections on the API documentation using swagger editor are:
a. API Declaration
b. Paths
c. Definitions
API declaration
The API declaration part involves defining the Swagger version, BasePath (the root URL that serves the API), and paths section (a list of the APIs exposed). Besides these, we need to add the MIME types (JSON, XML, and XHTML).
Screenshot 2021-03-12 212530.png
Paths
The path involves different operations like GET, POST, HEAD, PUT, PATCH, DELETE, OPTIONS. The parameters are the inputs to these operations which consist of name and type. There are other characteristics also, but they are optional. But remember that adding more information to our API documentation will certainly make it cloudless.
Screenshot 2021-03-12 215510.png
Definitions
The definitions contain a list of data objects. Each data object can have name and properties parameters. Each property has a name and a type.
Screenshot 2021-03-12 225004.png
We can see how it really works on the upcoming week's blogs. Check out here for more information.
Intrigued to know what comes next? Stay tuned at Archi’s Blogs for the next week’s entry!
Surumi-skill-training

Surumi Riju

Cuma, Mar 12, 2021

Pronto para transformar conhecimento em habilidades reais?

Comece a construir com formacao guiada por projetos e ganhe experiencia pratica desde o primeiro dia.

TOC

Table of Content

No sections found