We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83db2b2 commit db0dfd0Copy full SHA for db0dfd0
documents/forOpenAPISpecification/OpenAPI_Specification_3.0.3.md
@@ -1092,7 +1092,7 @@ CORS(Cross-Origin Resource Sharing)のために、options メソッドの追
1092
- options メソッド対応は、API 仕様ではなく実装レベルの機能横断的な処理(Java における Servlet Filter や Spring の Interceptor、Go における Middleware など)で行うことが大半であり、コード生成が不要
1093
- クライアント側
1094
- options メソッドを用いるのはクライアントがブラウザであり、クライアントのアプリケーションコードが明示的にアクセスしないため、コード生成が不要
1095
-- 使用面として
+- 仕様面として
1096
- `Access-Control-Allow-Origin` がどのような値を返すか、呼び出し元によって動的な値を返したい場合があり、記載が困難なケースがある
1097
1098
ただし、Amazon API Gateway のようなサービスを利用する場合は、options メソッドの記載が必須である場合は除く[^1]。
0 commit comments