Migrate @ApiParam(defaultValue) to @Parameter(schema)

Apache 2.0

Migrate @ApiParam(defaultValue) to @Parameter(schema = @Schema(defaultValue)).

org.openrewrite.openapi.swagger.MigrateApiParamDefaultValue
mod run . --recipe=org.openrewrite.openapi.swagger.MigrateApiParamDefaultValue

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.