It may be possible that API classes are not yet loaded
when the oapi rake tasks are initialized in Rakefile.
Add a possibility to pass class name as a string to not mess with class loader configuration.
Co-authored-by: Mikhail Doronin <mikhail.doronin@capitainetrain.com>