Java 将swagger springfox迁移到openapi,将协议字段放在哪里?

Java 将swagger springfox迁移到openapi,将协议字段放在哪里?,java,migration,swagger,openapi,Java,Migration,Swagger,Openapi,我正在将我的项目swagger从springfox迁移到openapi。 旧库有协议字段,我这样使用: @ApiOperation(protocols=“http,https”) 说明应将@ApiOperation更改为@Operation,但没有说明任何其他字段: @ApiOperation(value=“foo”,notes=“bar”)->@Operation(summary=“foo”,description=“bar”) 我现在应该将协议字段放在哪里

我正在将我的项目swagger从springfox迁移到openapi。 旧库有
协议
字段,我这样使用:

@ApiOperation(protocols=“http,https”)
说明应将
@ApiOperation
更改为
@Operation
,但没有说明任何其他字段:

@ApiOperation(value=“foo”,notes=“bar”)->@Operation(summary=“foo”,description=“bar”)

我现在应该将
协议
字段放在哪里