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

Apache 2.0

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

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

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