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

Enable async option for spring-cloud library #2670

Merged
merged 2 commits into from
Jul 31, 2019
Merged

Conversation

Zomzog
Copy link
Contributor

@Zomzog Zomzog commented Apr 15, 2019

PR checklist

  • Read the contribution guidelines.
  • Ran the shell script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh, ./bin/openapi3/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in .\bin\windows\.
  • Filed the PR against the correct branch: master, 3.4.x, 4.0.x. Default: master.
  • Copied the technical committee to review the pull request if your PR is targeting a particular programming language.

Description of the PR

Enable async option for spring-cloud library

Fix #2327

@bbdouglas (2017/07) @sreeshas (2017/08) @jfiala (2017/08) @lukoyanov (2017/09) @cbornet (2017/09) @jeff9finger (2018/01) @karismann (2019/03)

Sorry, something went wrong.

@Zomzog Zomzog changed the title Disable async option for spring-cloud library Enable async option for spring-cloud library Apr 21, 2019
@Zomzog
Copy link
Contributor Author

Zomzog commented Apr 21, 2019

Change the PR for comment on #2327

@Zomzog Zomzog force-pushed the 2327 branch 2 times, most recently from 06176ad to 3bd42cd Compare April 22, 2019 19:17
consumes = "application/json",
method = RequestMethod.POST)
default CompletableFuture<ResponseEntity<Void>> addPet(@ApiParam(value = "Pet object that needs to be added to the store" ,required=true ) @Valid @RequestBody Pet body) {
return CompletableFuture.completedFuture(new ResponseEntity<>(HttpStatus.NOT_IMPLEMENTED));
Copy link
Member

Choose a reason for hiding this comment

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

Feign interfaces must not have default implementation so I don't think this works.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right. I have redone the PR code for it.

@Zomzog Zomzog force-pushed the 2327 branch 2 times, most recently from 1412408 to 2807494 Compare May 11, 2019 08:16
@wing328
Copy link
Member

wing328 commented May 15, 2019

@Zomzog when you've time, can you please resolve the merge conflicts?

@Zomzog
Copy link
Contributor Author

Zomzog commented May 22, 2019

@wing328 Rebase done.

@wing328
Copy link
Member

wing328 commented Jun 24, 2019

@Zomzog can you please resolve the merge conflicts again? I'm sorry for the delay in reviewing your PR which results in merge conflicts.

@Zomzog Zomzog force-pushed the 2327 branch 2 times, most recently from d3c981e to 98c8bd6 Compare July 14, 2019 08:26
Zomzog added 2 commits July 18, 2019 20:21

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@Zomzog
Copy link
Contributor Author

Zomzog commented Jul 24, 2019

@wing328 merge conflicts resolved.

@wing328 wing328 merged commit 4c9d023 into OpenAPITools:master Jul 31, 2019
@wing328 wing328 added this to the 4.1.0 milestone Jul 31, 2019
@wing328
Copy link
Member

wing328 commented Aug 10, 2019

@Zomzog thanks for the PR, which has been included in the 4.1.0 release: https://twitter.com/oas_generator/status/1160000504455319553

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] [Spring] Async missing import
3 participants