Fix typos
Type and un-typed DocumentOptionalPathDescriptor