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

[Powershell] refactor the client generator #5629

merged 51 commits into from Mar 19, 2020


Copy link

wing328 commented Mar 19, 2020

Created a new powershell-experimental client generator based on feedback from users. It has no dependency on the corresponding C# SDK.

(this generator may subject to breaking changes without further notices)

cc @beatcracker

PR checklist

  • Read the contribution guidelines.
  • If contributing template-only or documentation-only changes which will change sample output, build the project before.
  • Run the shell script(s) under ./bin/ (or Windows batch scripts under.\bin\windows) to update Petstore samples related to your fix. This is important, as CI jobs will verify all generator outputs of your HEAD commit, and these must match the expectations made by your contribution. You only need to run ./bin/{LANG}, ./bin/openapi3/{LANG} if updating the code or mustache templates for a language ({LANG}) (e.g. php, ruby, python, etc).
  • File the PR against the correct branch: master, 4.3.x, 5.0.x. Default: master.
  • Copy the technical committee to review the pull request if your PR is targeting a particular programming language.
wing328 added 3 commits Mar 19, 2020
@wing328 wing328 changed the title [Powershell] refactor the generator [Powershell] refactor the client generator Mar 19, 2020
@wing328 wing328 merged commit 457aff8 into OpenAPITools:master Mar 19, 2020
6 checks passed
6 checks passed
Shippable Run 15752 status is SUCCESS.
ci/bitrise/4a2b10a819d12b67/pr Passed - openapi-generator
ci/circleci: build Your tests passed on CircleCI!
continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/drone/pr Build is passing
continuous-integration/travis-ci/pr The Travis CI build passed
@wing328 wing328 deleted the wing328:powershell-refactor branch Mar 19, 2020
MikailBag added a commit to MikailBag/openapi-generator that referenced this pull request Mar 23, 2020
* add api client

* add local variables

* add configuration

* add header/query/form parameter support

* add partial header

* add auth, fix parameters type

* fix accept, content type

* url query string

* fix path, header

* remove dep on C# client

* fix method naming with package name

* fix object

* convert result from json

* better response handling

* remove tostring method

* fix model doc

* fix default module

* generate api test files

* better api, model tests

* fix add pet

* add appveyor

* fix accept, content type

* add petstore tests

* fix form parameters

* test delete

* better file handling (upload)

* better code sample

* add package version, better doc

* delete unused files

* fix header parameters

* clean up api client

* update samples

* support query parameter

* better method and parameter naming

* minor formatting change

* better doc, fix cookie parameter

* better doc

* add api prefix support

* better api nam prefix option

* fix configuration

* throw errors for required parameter

* fix authentication

* add try catch block to sample code

* rename model

* use debug, clean up comment

* revise code

* move bin script

* update doc

* add new file

* better map support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.