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

Fix regexp error on php-slim #2604

Merged
merged 8 commits into from
Apr 10, 2019

Conversation

ackintosh
Copy link
Contributor

@ackintosh ackintosh commented Apr 5, 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

fixes #2402

@ackintosh
Copy link
Contributor Author

TechnicalCommittee:
@jebentier (2017/07), @dkarlovi (2017/07), @mandrean (2017/08), @jfastnacht (2017/09), @ackintosh (2017/09), @ybelenko (2018/07), @renepardon (2018/12)

@ackintosh ackintosh removed the WIP Work in Progress label Apr 6, 2019
@ackintosh ackintosh added this to the 4.0.0 milestone Apr 6, 2019
Copy link
Contributor

@ybelenko ybelenko left a comment

Choose a reason for hiding this comment

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

Sorry, that I've ignored this issue at the first place. There is no slim mention in title of related issue, so I've skipped it. Thought it was about client php problem and not part of my responsibility.

I've checked this PR locally with --invoker-package Websupport\\InvoiceValidation option. Slim generator works as expected. Unit tests - OK, PhpCodeSniffer - OK, PhpLint - OK, dev server responded correct(asked to override abstract classes). 👍

@ackintosh
Copy link
Contributor Author

@ybelenko Thanks for your review!

@ackintosh ackintosh merged commit b797662 into OpenAPITools:master Apr 10, 2019
@ackintosh ackintosh deleted the fix-regexp-error-on-php-slim branch April 10, 2019 23:01
jimschubert added a commit that referenced this pull request Apr 13, 2019
* master: (47 commits)
  [Slim] Fix AbstractAuthenticator constructor TypeError (#2641)
  Fix issue 1340 - StaticHtmlGenerator to allow snake_case property names (#2612)
  Test Gradle plugin in Appveyor CI (#2651)
  Add Camptocamp to company list (#2652)
  Use percent encoding for path parameters (#2649)
  Unescape HTML characters in JS docstring (#2636)
  [ONLINE] Minor links fix (#2644)
  better handling of undefined inner property in array (#2635)
  Fix regexp error on php-slim (#2604)
  [TypeScript-Fetch] Generate oneOf schemas as type unions (#2617)
  Add Namsor as the sponsor (#2639)
  fix classname in website (#2638)
  Code review fixes (#2633)
  Move Ruby module/gem to codegen constant (#2621)
  Add sponsor section to the website (#2634)
  [Spring] Spotbugs static class and default encoding (#2609)
  Add @Zomzog (2019/04) to Java, Kotlin tech comm (#2630)
  [maven] remove validateSpec (#2614)
  Clean up the license field in various templates to ensure it's unlicense by default. (#2627)
  Fix NPE when server url is null (#2628)
  ...
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] Cannot generate server with invokePackage=Websupport\\InvoiceValidation
2 participants