swagger-api / swagger-core

Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API

Home Page:http://swagger.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Despite having the JsonView specified, swagger response is resulting with all the objects of the entity

VarunReddy1111 opened this issue · comments

Having specified with different view classes in JsonView annotation while doing a Rest API call, the swagger response is containing all the objects of the entity, instead of just the provided JsonViews leading to a nested object structure and resulting a big json file. Also, causing the swagger page to freeze and crash when expanding the APIs.