2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

OpenAPIとSwaggerについて

Last updated at Posted at 2022-04-18

概要

  • OpenAPIとSwaggerについて調べたのでまとめる。

OpenAPIとは?

  • yaml・JSONの記載フォーマットのことだよ。
  • REST APIの仕様書を記載するフォーマットだよ。

OpenAPI Specification

Swagger

  • OpenAPIを作成・表示・利用するツール群のことだよ。
  • そのツール群の中には下記が含まれるよ。
    • Swagger Editor
      • OpenAPIを記述・編集するためのエディターだよ。
    • Swagger Codegen
      • Swagger Editorで記述・編集されたOpenAPIを読み取ってスタブやクライアント側のコードを生成してくれるよ。
    • Swagger UI
      • OpenAPIを読み取って仕様書として表示してくれるよ。

簡単な歴史

  1. 2010年 Swaggerの開発スタート
    • OpenAPIはSwaggerフレームワークの一部でSwagger Specificationって名前だったよ。
  2. 2015年 OpenAPI Initiativeという組織に管理移管
  3. 2016年 Swagger SpecificationからOpenAPI Specificationに名称変更

つぶやき

  • 「OpenAPIで仕様書作成しておいて」という指示があったら「APIの詳細情報をyamlファイルにOpenAPI Specificationの書式ルールで記載しておいて」って解釈すればいいのかな・・・?
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?