0

I have following in my code

@Path("/description")
@Produces(MediaType.APPLICATION_JSON)
@Api(value="description", description="Service description")
public class Service{
....
}

On swagger UI I am able to see

description: true

Instead of

description: Service description

Please help. What am I missing?

1 Answer 1

1

This is a known issue. Please follow https://github.com/swagger-api/swagger-ui/issues/578.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.