nitdoc: fix github api plugin following spec changes