Trying to write based on the openapi v3 spec and I can't seem to figure out how to mark "_id" property should only exist in GET but not in POST / PUT.
Go to Solution.
Mark the _id property as readOnly: true
More info: Read-only and write-only properties
View solution in original post