THE CLOUD NATIVE API PLATFORM
13
13
OpenAPI Specification(OAS)の例
openapi: 3.0.0
tags:
- description: Creates a random UUDI and returns it in a JSON structure
name: Generate UUID
info:
contact:
email:
[email protected]
url: https://konghq.com/
description: A simple service returning a UUID based on https://httpbin.org
title: UUID generator based on httpbin.org
version: 1.0.0
paths:
/uuid:
get:
operationId: uuid
summary: Return a UUID.
description: Return a UUID
responses:
"200":
description: A UUID4.
tags:
- Generate UUID
servers:
- url: https://httpbin.org
エンドポイント (path) と、
サポートされるメソッド (method)
メタデータ
titleとversionは必須
タグと説明
APIの所在