Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Example with sub types #94

Open
raderio opened this issue Aug 1, 2017 · 0 comments
Open

Example with sub types #94

raderio opened this issue Aug 1, 2017 · 0 comments

Comments

@raderio
Copy link

raderio commented Aug 1, 2017

Where I can find an example with sub types?

https://github.com/swagger-api/swagger-core/wiki/annotations#apimodel

@ApiModel(value="SuperModel", discriminator = "foo", subTypes = {SubModel.class})
public class SuperModel {...}

@ApiModel(value="SubModel")
public class SubModel {...}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant