We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to give my models an alias so they don't include the full package name?
For example: I would like to just show Contact, and Prospect.
The text was updated successfully, but these errors were encountered:
In your swagger base file you can do this:
--- openapi: 3.0.0 info: title: "API" description: "REST API" version: "1.0.0" components: schemas: com.mealticket.prospecting.ProspectResource.Contact: title: "Contact"
then 'com.mealticket.prospecting.ProspectResource.Contact' will appear as 'Contact' in Swagger UI. There may be other ways to do it, but this works.
Sorry, something went wrong.
@slaudat that problem with this is that it's not dynamic. The generated file gets changed every time.
#146
No branches or pull requests
Is there a way to give my models an alias so they don't include the full package name?
For example: I would like to just show Contact, and Prospect.
![image](https://user-images.githubusercontent.com/19860874/27699881-031541d4-5cb9-11e7-821f-674d9e94b278.png)
The text was updated successfully, but these errors were encountered: