You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could not resolve reference: Could not resolve pointer: /components/schemas/otherClass does not exist in document
If I rename the OtherClass class to OtherClassDto or if I change the property name for OtherClass in SomeDto it manages fine, so there seems to be an issue where it doesn't handle if the property name and the class name is the same when using IEnumerable. I saw that you fixed something related to this in #247 and I tried importing the project to my solution but was unable to do so, so this might be solved in 0.9.
Describe the issue
Results in the following error:
If I rename the
OtherClass
class toOtherClassDto
or if I change the property name forOtherClass
inSomeDto
it manages fine, so there seems to be an issue where it doesn't handle if the property name and the class name is the same when usingIEnumerable
. I saw that you fixed something related to this in #247 and I tried importing the project to my solution but was unable to do so, so this might be solved in 0.9.Any of these examples work:
To Reproduce
See above
Expected behavior
I expect to be able to give a class and a property the same name without it failing to generate the schema.
Environment (please complete the following information, if applicable):
The text was updated successfully, but these errors were encountered: