27 Commits

Author SHA1 Message Date
William Cheng
171f71872e
add test to reuse object from the server (#5976) 2020-04-19 12:37:48 +08:00
Ghufz
0adc20f114
[powershell-experimental] ValidatePattern with double-quote (") throws-exception (#5956)
* ValidatePattern having double quote(") throws exception on running Build.ps1

* fix tab with space

Co-authored-by: Ghufran Zahidi <gzahidi@cisco.com>
2020-04-17 23:08:48 +08:00
William Cheng
b7dfd3b2a7
consolidate header selection functions (#5889) 2020-04-11 00:39:33 +08:00
William Cheng
5c2d1eafa2
[PS] better handle special variables (#5885)
* add variable

* fix reserved words
2020-04-10 21:46:27 +08:00
William Cheng
46f3b4a870
various enhancement to ps exp generator (#5875) 2020-04-09 22:28:58 +08:00
William Cheng
7342077cb1
[PS] Select Content-Type in the response (#5872)
* better return type handling

* update tempalte

* better documentation

* fix greater than
2020-04-09 20:06:26 +08:00
William Cheng
d599527104
[PS][Experimental] Add validations to model (#5842)
* add validations to model

* better error message

* improve validation
2020-04-09 10:49:37 +08:00
William Cheng
31ecf7306b
stop error globally (#5858) 2020-04-08 21:53:51 +08:00
William Cheng
f1325e23ee
support enum in parameters (#5838) 2020-04-06 14:45:45 +08:00
William Cheng
d893ee883b
use allVars to cover all properties (#5835) 2020-04-06 10:54:49 +08:00
William Cheng
42e87c8f33
rename hostsetting, validate base url (#5821) 2020-04-04 17:25:05 +08:00
William Cheng
baeb1dd385
[PS][Experimental] Add tests for array of object in response (#5814)
* debugging array response

* fix find pet tests

* better tests to ignore order
2020-04-03 20:12:11 +08:00
William Cheng
281d154ff4
[PS][Experimental] add withHttpInfo support, fix "null" return (#5811)
* add with http support

* use full name in tests

* using full name in test

* skip type check
2020-04-03 15:47:04 +08:00
William Cheng
bc12ada4c0
use write verbose in auth, better api doc (#5804) 2020-04-03 10:14:06 +08:00
William Cheng
f58ebf65d1
use Initialize instead of prepare (#5777) 2020-04-01 11:21:11 +08:00
William Cheng
24513091b0
use prepare instead of new (#5773) 2020-04-01 09:24:07 +08:00
William Cheng
0fd5d46585
add support for common verbs (#5771) 2020-03-31 22:37:30 +08:00
William Cheng
3316f17ed5
[PS][PowerShell] fix passthru, use switch instead of bool (#5768)
* fix passthru, use switch

* remove line
2020-03-31 19:10:27 +08:00
William Cheng
861fcce578
add default headers support (#5746) 2020-03-30 12:15:27 +08:00
William Cheng
01f02f6c57
[PS][Experimental] Add multiple server support (#5741)
* code comment

* add get host setting

* add multiple server support
2020-03-29 21:44:18 +08:00
William Cheng
77c1907f51
better readme, type mapping, new option (#5740) 2020-03-29 14:33:42 +08:00
William Cheng
53a230a9a3
better appveyor test (#5739) 2020-03-29 12:55:22 +08:00
William Cheng
928d065bbf
use basic parsing (#5702) 2020-03-25 15:25:28 +08:00
William Cheng
eac18a779d
[PowerShell][Experimental] Better docstring (#5688)
* add docstring to powershell module

* add doc string
2020-03-24 15:04:36 +08:00
William Cheng
57eb1a0fcf
[PowerShell] Fix map type (#5638)
* fix map type

* remove output type, fix appveyor

* test macos

* comment out failing scala test

* fix typo: configuration

* Revert "comment out failing scala test"

This reverts commit 1dcf84ffcbb7ab520938ae7c75d60a8329f71478.
2020-03-23 15:18:17 +08:00
William Cheng
b1efe20a04
[PowerShell] minor improvements and bug fixes (#5635)
* add output type, minor format fix

* minor test improvement
2020-03-19 22:51:13 +08:00
William Cheng
457aff8496
[Powershell] refactor the client generator (#5629)
* 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
2020-03-19 15:53:11 +08:00