fix test for swagger declaration build