code: def _get_spec(self, spec_file):
          
          spec_file_path = os.path.join(
              pkg_resources.
              resource_filename(
                  'reana_commons',
                  'openapi_specifications'),
              spec_file)
  
          with open(spec_file_path) as f:
              json_spec = json.load(f)
          return json_spec
docs: Get json specification from package data.