servicestack - SwaggerUI exposing Dictionary<string,string> type in the wrong way -


dear overflowers i'm using swaggerui exposing servicestack rest service specification i've encountered unexpected issue.

one of services accept request made

    [route("/myservice/getstuff", "post")] public class getstuffrequest : ireturnvoid {     public string searchstring { get; set; }      public dictionary<string,string> parameterarray { get; set; } } 

but way swaggerui exposing request object:

getstuffrequest { parameterarray (dictionary`2[[string`), searchstring (string) } dictionary`2[[string` { comparer (iequalitycomparer`string`), count (int), keys (dictionary`2+keycollection[[string`), values (dictionary`2+valuecollection[[string`), item (string) } iequalitycomparer`string` { } dictionary`2+keycollection[[string` { count (int) } dictionary`2+valuecollection[[string` { count (int) } 

why happens? can fix someway?

peace&code 2 all


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -