fix writing wrong data class forward declaration on API generator
fix writing wrong data class forward declaration on API generator

shipduck/QuacksTwit,Perlmint/QuacksTwit,shipduck/QuacksTwit,Perlmint/QuacksTwit,shipduck/QuacksTwit,Perlmint/QuacksTwit