forked from loafle/openapi-generator-original
* issue 4468 fix: prevent ClassCastException when handling options of type boolean * #4468 fix: remove duplicate code
* issue 4468 fix: prevent ClassCastException when handling options of type boolean * #4468 fix: remove duplicate code