OpenAPI Specification - CI/CD用語集の定義
OpenAPI Specification (旧Swagger) は、REST APIを機械可読かつ言語非依存でYAMLまたはJSONで記述したもので、あらゆるpath、メソッド、パラメータ、レスポンスのschemaを列挙します。
CIでは
pipelineはOpenAPIドキュメントをlintし、そこからclientコードを生成し、稼働中のサービスがspecと一致することを表明するcontract testを実行できます。これにより、release前に互換性を壊すAPI変更を検知できます。
関連ガイド
JSON Schema - CI/CD Glossary DefinitionJSON Schema: JSON Schema is a vocabulary for validating the structure of JSON: it declares required fields, t…
API Versioning - CI/CD Glossary DefinitionAPI Versioning: API versioning is the practice of labeling an API so clients keep working when it changes, us…
REST API - CI/CD Glossary DefinitionREST API: A REST API is a web interface that exposes resources at URLs and is operated with standard HTTP met…