content
Subscribe Quiz

SWAGGER API

by KAUSTUBH SHARMA on Oct. 12, 2021, 8:59 a.m. with 588 views

API

  • Application Programming Interface
  • Set of defined rules(protocols) that explain how computers or applications communicate with each other.

OPEN API

  • OpenAPI Specification - API description format for REST APIs.
  • OpenAPI File - Describe your entire API, which includes
      1. Available endpoints (/users) & operations on each endpoint (GET /usersPOST /users)
      2. Operation parameters Input and output for each operation
      3. Authentication methods
      4. Contact information, license, terms of use, and other information.
  •  Written in YAML or JSON.

SWAGGER

  • Set of open-source tools built around OpenAPI Specification that can help you design, build, document, and consume REST APIs.
  • It includes:
    1. Swagger Editor – browser-based editor to write OpenAPI specs.
    2. Swagger UI – renders OpenAPI specs as interactive API documentation.
    3. Swagger Codegen – generates server stubs & client libraries from OpenAPI spec.

Learn more this through Video on -YouTube