I cant figure out from where the swagger codegen takes the naming for the RestApiController, RestApi Interface and RestApiDelegate. Rest is the generated Name, so it also could be something like StackoverFlowApiController.
With the flag modelNamePrefix it just prefixes the model classes.