Skip to content

Commit 228b679

Browse files
authored
Update OpenAPI_Specification_3.0.3.md (#134)
1 parent c02fac2 commit 228b679

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

documents/forOpenAPISpecification/OpenAPI_Specification_3.0.3.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,19 +327,20 @@ API の振る舞いの詳細や注意点を記載する。
327327

328328
API を識別するための一意な文字列を記載する。
329329

330-
- HTTP メソッドと URL パスの組み合わせをアッパーキャメルケースで表現する
330+
- HTTP メソッドと URL パスの組み合わせをキャメルケースで表現する
331+
- キャメルケースの書式は、[OpenAPI 3.0ガイドのPaths and Operations](https://swagger.io/docs/specification/paths-and-operations/#:~:text=role%3Dvalue-,operationId,-operationId%20is%20an)でも利用されているため、一般的である
331332

332333
良い例:
333334

334335
```yaml
335336
paths:
336337
/users:
337338
get:
338-
operationId: GetUsers
339+
operationId: getUsers
339340
...
340341
/products/{product_id}:
341342
put:
342-
operationId: PutProductsProductId
343+
operationId: putProductsProductId
343344
...
344345
```
345346

0 commit comments

Comments
 (0)