Convert API response to content annotation
Apache 2.0Add content = @Content(mediaType = ...) and schema to @ApiResponse.
org. openrewrite. openapi. swagger. ConvertApiResponseToContentmod run . --recipe= org. openrewrite. openapi. swagger. ConvertApiResponseToContentInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.