Skip to content
New issue

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

Use nested type param names in schema name, resolve types earlier #393

Conversation

MikeEdgar
Copy link
Member

Fixes #388

Creating this PR as a draft so it can be re-based after the other open PRs. The changes here impact the naming of schemas under #/components/schemas/... - not sure if that merits a bump to the minor version or not.

@MikeEdgar MikeEdgar added this to the 2.0.3 milestone Jul 15, 2020
@MikeEdgar
Copy link
Member Author

@egorklimov - this pull request includes the commit you authored and referenced in #388. Please confirm that is not a problem.

@MikeEdgar MikeEdgar force-pushed the 388_parameterized_type_name_derivation branch from 408599b to e78401f Compare July 15, 2020 08:55
@MikeEdgar MikeEdgar marked this pull request as ready for review July 15, 2020 09:08
@MikeEdgar
Copy link
Member Author

@phillip-kruger - this is ready for review, but I was thinking we should wait to merge until we hear back from @egorklimov regarding his potential contribution. Perhaps we can do a release after this change also.

@egorklimov
Copy link

Wow, thank you ;)

I could rename the endpoint ("/noo...") from test, if you want, also I changed the generic type boundary in Result and Result Builder, is it ok?

@MikeEdgar
Copy link
Member Author

@egorklimov - I think those things are all fine (the names and boundaries).

@egorklimov
Copy link

LGTM

Copy link
Member

@phillip-kruger phillip-kruger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks both!

@phillip-kruger phillip-kruger merged commit d42c757 into smallrye:master Jul 15, 2020
@MikeEdgar MikeEdgar deleted the 388_parameterized_type_name_derivation branch July 15, 2020 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong generation on generic model parametrized by a collection
3 participants