Add C++ specs for API specs, for issue #4 [ci skip]