common API js sample/specs added to api_generator_spec