- Hands-On RESTful Web Services with Go
- Naren Yellavula
- 188字
- 2021-06-24 17:04:24
Open API and Swagger
Because APIs are very common, the Open API Specification is a community-driven open specification within the OpenAPI Initiative, a Linux Foundation Collaborative Project.
The OpenAPI Specification (OAS), formerly called the Swagger Specification, is an API description format for REST APIs. An Open API file allows you to describe your entire API, including the following:
- Available endpoints
- Endpoint operations (GET, PUT, DELETE, and so on)
- Parameter input and output for each operation
- Authentication methods
- Contact information, license, terms of use, and other information.
Open API has many versions and is rapidly developing. The current stable version is 3.0.
There are two formats, JSON and YAML, that are supported by OAS. Swagger and Open API both are different. Swagger has many products, including the following:
- Swagger UI (for validating Open API files and interactive docs)
- Swagger Codegen (for generating server stubs)
Whenever we develop a REST API, it is a better practice to create an Open API/Swagger file that captures all the necessary details and descriptions of the API. The file can then be used in Swagger UI to create interactive documentation.
- Learning SAP Analytics Cloud
- Windows Server 2016 Automation with PowerShell Cookbook(Second Edition)
- 編程數學
- 計算機應用基礎案例教程
- C# and .NET Core Test Driven Development
- Oracle GoldenGate 12c Implementer's Guide
- Oracle數據庫編程經典300例
- Python開發基礎
- 現代C:概念剖析和編程實踐
- Python編程快速上手2
- SQL Server 2008實用教程(第3版)
- Mastering Vim
- 編寫高質量代碼之Java(套裝共2冊)
- Learning Rust
- Java語言程序設計與實現(微課版)