Skip to content

Commit

Permalink
Polish docs
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Oct 6, 2024
1 parent 92c687a commit 76d6218
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/main/resources/META-INF/rewrite/swagger-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ recipeList:
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.openapi.swagger.MigrateApiOperationToOperation
displayName: Migrate from @ApiOperation to @Operation
description: Converts the @ApiOperation annotation to @Operation and converts the directly mappable attributes
displayName: Migrate from `@ApiOperation` to `@Operation`
description: Converts the `@ApiOperation` annotation to `@Operation` and converts the directly mappable attributes
and removes the others.
tags:
- swagger
Expand Down Expand Up @@ -138,8 +138,8 @@ recipeList:
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.openapi.swagger.MigrateApiResponsesToApiResponses
displayName: Migrate from @ApiResponses to @ApiResponses
description: Changes the namespace of the @ApiResponses and @ApiResponse annotations and converts its attributes
displayName: Migrate from `@ApiResponses` to `@ApiResponses`
description: Changes the namespace of the `@ApiResponses` and `@ApiResponse` annotations and converts its attributes
(ex. code -> responseCode, message -> description).
tags:
- swagger
Expand All @@ -164,8 +164,8 @@ recipeList:
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.openapi.swagger.MigrateApiImplicitParamsToParameters
displayName: Migrate from @ApiImplicitParams to @Parameters
description: Converts @ApiImplicitParams to @Parameters and the @ApiImplicitParam annotation to @Parameter and converts
displayName: Migrate from `@ApiImplicitParams` to `@Parameters`
description: Converts `@ApiImplicitParams` to `@Parameters` and the `@ApiImplicitParam` annotation to `@Parameter` and converts
the directly mappable attributes and removes the others.
tags:
- swagger
Expand Down Expand Up @@ -194,8 +194,8 @@ recipeList:
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.openapi.swagger.MigrateApiToTag
displayName: Migrate from @Api to @Tag
description: Converts @Api to @Tag annotation and converts the directly mappable attributes and removes the others.
displayName: Migrate from `@Api` to `@Tag`
description: Converts `@Api` to `@Tag` annotation and converts the directly mappable attributes and removes the others.
tags:
- swagger
- openapi
Expand All @@ -211,8 +211,8 @@ recipeList:
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.openapi.swagger.MigrateApiParamToParameter
displayName: Migrate from @ApiParam to @Parameter
description: Converts the @ApiParam annotation to @Parameter and converts the directly mappable attributes.
displayName: Migrate from `@ApiParam` to `@Parameter`
description: Converts the `@ApiParam` annotation to `@Parameter` and converts the directly mappable attributes.
tags:
- swagger
- openapi
Expand All @@ -228,8 +228,8 @@ recipeList:
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.openapi.swagger.MigrateApiModelPropertyToSchema
displayName: Migrate from @ApiModelProperty to @Schema
description: Converts the @ApiModelProperty annotation to @Schema and converts the "value" attribute to "description".
displayName: Migrate from `@ApiModelProperty` to `@Schema`
description: Converts the `@ApiModelProperty` annotation to `@Schema` and converts the "value" attribute to "description".
tags:
- swagger
- openapi
Expand All @@ -252,8 +252,8 @@ recipeList:
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.openapi.swagger.MigrateApiModelToSchema
displayName: Migrate from @ApiModel to @Schema
description: Converts the @ApiModel annotation to @Schema and converts the "value" attribute to "name".
displayName: Migrate from `@ApiModel` to `@Schema`
description: Converts the `@ApiModel` annotation to `@Schema` and converts the "value" attribute to "name".
tags:
- swagger
- openapi
Expand Down

0 comments on commit 76d6218

Please sign in to comment.