It looks like you’re confusing two things. What you see in swagger-ui is the model, and in your case, it looks like the `description` is not part of the model, it’s metadata to it.
So what are you trying to do? Add another fields called `description` to the model described by the user, or are you trying to add a description to the model that’s not actually part of it? From: <[email protected]> on behalf of François-Paul Servant <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Wednesday, 26 April 2017 at 6:42 To: Swagger <[email protected]> Subject: Re: java annotations and definition of Maps On Wednesday, 26 April 2017 06:07:51 UTC+2, tony tam wrote: Hi, I don’t know if this will do it, but try moving the inner class out, and making it a non-static class. I believe there are some introspection issues with static inner classes + generic types (like maps)… Hi, Tony, thank you for the advice, but this doesn't change anything. Would you say that this is a bug? Should I open an issue? on https://github.com/swagger-api/swagger-core ? fps -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
