Click here to Skip to main content
15,878,871 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm trying to achieve something like this http://petstore.swagger.wordnik.com/#!/store/placeOrder_post_2 I want to set a complex type as DataType of ServiceStack.ServiceHost.ApiMember attribute as I want to have JSON schema to this field. In the swagger-ui documentation is written:

The specification supports any complex type as long as it is declared in the models section.

but I couldn't find how to do that with ServiceStack.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900