-
Notifications
You must be signed in to change notification settings - Fork 198
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I'm using the version 0.7.2 and my response type is the following case:
public class Response
{
public string Test { get; set; }
public Test[] MyProperty { get; set; }
}
public class Test
{
public int MyProperty { get; set; }
}
The schema for the Test class won't be generated becase of the property with the same name, if we change it to any other name it works as intended
Another problem is with generics
public class BaseResponse<T>
{
public T Data { get; set; }
}
//using
[OpenApiResponseWithBody(..., bodyType: typeof(BaseResponse<List<Response>>))]
This generates a schema called "baseResponse_list`1" which is problematic with Azure APIM
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working