Migrate from @Api to @Tag

Apache 2.0

Converts @Api to @Tag annotation and converts the directly mappable attributes and removes the others.

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

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

Recipe list

It runs these recipes, in this order.

  1. Change type Api to Tag