4.3.8. OpenAPI メタデータ
実験的機能 は、$metadata ではなく [swagger|openapi].json を介して Swagger 2.0 / OpenAPI メタデータを自動的に提供することができます。
OpenAPI 2.0 URL の例
http://localhost:8080/odata/swagger.json http://localhost:8080/odata/openapi.json http://localhost:8080/odata/openapi.json?version=2
http://localhost:8080/odata/swagger.json
http://localhost:8080/odata/openapi.json
http://localhost:8080/odata/openapi.json?version=2
OpenAPI 3.0 URL の例
http://localhost:8080/odata/openapi.json?version=3
http://localhost:8080/odata/openapi.json?version=3
警告
クエリーオプションや拡張が可能なクエリーオプションにより、このメタデータは OData EDM 表現よりもはるかに大きくなります。