Moved ApiWriterSpec to writer package