Kamil Pajdzik
f64878f3d8
Update User-Agent ( #239 )
...
* Update User-Agent
This reverts commit 02cfece80a
.
* Make User-Agent lowercase
* Update unit tests
2018-10-01 14:35:53 -07:00
Dan Schulte
d188f4a1fd
Add URLBuilder.appendPath()
2018-10-01 13:55:56 -07:00
Rikki Gibson
3c131b37f7
Es interop ( #232 )
...
* Update tsconfig
* Update library code usages
* Update test code usages
* Update testserver
2018-09-20 10:02:51 -07:00
Rikki Gibson
47f5a8fb72
Check instanceof RestError in test ( #229 )
2018-09-12 14:58:42 -07:00
Rikki Gibson
ed41e39d6e
Simplify polymorphic serialization ( #222 )
...
* remove old version of polymorphic discriminator
* reduce some null/undefined checks
* Further condense getPolymorphicMapper
* Remove string polymorphic discriminator test
2018-09-11 15:04:02 -07:00
Kamil Pajdzik
9cd19888a4
Added support for EventGrid TopicCredentials object ( #216 )
...
* Add support for EventGrid TopicCredentials
2018-09-05 12:25:08 -07:00
Rikki Gibson
77d134fa12
Change Object.values to Object.keys ( #215 )
...
* Add test for deserializing response bodies
* Use Object.keys instead of Object.values
* Check the actual value of the body in test
2018-09-05 10:00:56 -07:00
Rikki Gibson
c8ed5b1c42
Fix for IE 11 undefined body ( #213 )
2018-09-04 09:36:49 -07:00
Rikki Gibson
75a8b39713
IE fixes ( #211 )
...
* Catch exception when parsing invalid XML document
* xhr.open() before setting xhr.timeout
* Fix linter error
2018-08-31 15:52:25 -07:00
Rikki Gibson
86836d2443
Use Object.defineProperty for _response property ( #209 )
...
* Add test
* Use Object.defineProperty to add _response property
2018-08-31 10:30:38 -07:00
Rikki Gibson
16f681cd64
Add RestResponse type and more runtime deserialization features ( #205 )
...
* Add RestResponse type and more runtime deserialization features
* _response should always win in name conflicts
* Fix linter errors
* Make blobBody just a Promise, not a function. Resolves #192
* Fix tests
* Remove utils.responseToBody
* Update RestResponse doc
* Add default error to retry policy. Move error codes to RestError static properties.
* Bump to v0.21
2018-08-29 10:16:55 -07:00
Dan Schulte
57e1c579c2
Merge branch 'master' into daschult/skipdeserialization
2018-08-24 13:34:31 -07:00
Dan Schulte
1bdefe3539
Changes needed for LRO support
2018-08-24 13:20:24 -07:00
Rikki Gibson
6a66832cb7
Headers fix ( #199 )
...
* Fix axios type errors
* Lowercase header names in .rawHeaders()
* Fix Firefox headers deserialization for empty string header value
* Add xhr parseHeaders tests
* Fix linter error
2018-08-23 13:13:48 -07:00
Rikki Gibson
c5d54d7e63
Typescript 3 ( #182 )
...
* Add module field referencing esm code. Update typescript and ts-node.
* Update package-lock.json
* Use <reference lib=dom /> to solve #157
* Add simple test for nonexistent host
* Use -T with ts-node
* Use forward declaration instead of reference lib directive
2018-08-22 16:16:40 -07:00
Rikki Gibson
e240203ca0
RequestPolicyCreator -> RequestPolicyFactory ( #184 )
...
* RequestPolicyCreator -> RequestPolicyFactory
* Bump to v0.18
* Update changelog for 0.18
2018-08-08 17:00:35 -07:00
Rikki Gibson
5bd7b67e4d
Mapper interfaces ( #180 )
...
* Update mapper type definitions
* Fix tests
* Fix CompositeType className and modelProperties
* Bump to v0.17.0
2018-07-31 13:08:24 -07:00
Rikki Gibson
bfeb1adfc9
Call progress callbacks in nodejs streams ( #177 )
...
* Call progress callbacks in nodejs streams
* Use tough-cookie instead of isomorphic-tough-cookie
* Support progress reporting for non-stream scenarios
* Add separate blob/stream and buffer/string progress tests
2018-07-26 09:23:42 -07:00
Rikki Gibson
648d4ccf84
Fix log filter test
2018-07-17 13:47:21 -07:00
Rikki Gibson
33e446c44e
Add test
2018-07-17 13:35:55 -07:00
Dan Schulte
3e09095403
Merge pull request #173 from Azure/daschult/optionalparameters
...
Simplify OperationArguments
2018-07-16 13:12:18 -07:00
Dan Schulte
6adb071586
Add tests for getting operation arguments
2018-07-16 09:52:39 -07:00
Rikki Gibson
324f200ab0
Fix bug and add tests
2018-07-16 09:06:43 -07:00
Dan Schulte
1317489974
Working on failing autorest.typescript tests
2018-07-12 10:34:17 -07:00
Dan Schulte
971617eece
Get client properties from ServiceClient instead of OperationArguments
2018-07-11 10:42:51 -07:00
Dan Schulte
d3d1e89a2b
Fix tests
2018-07-09 13:32:30 -07:00
Dan Schulte
d22849a6fd
Fix bug where we were stringifying XML stream request bodies
2018-07-09 13:22:39 -07:00
Rikki Gibson
a16d3dd725
Add test to ServiceClient
2018-07-09 11:20:23 -07:00
Gneev Roland
aa3a31f175
Test actualization
2018-07-09 11:19:09 -07:00
Gneev Roland
98107b1ebd
withCredentials option in WebResource
2018-07-09 11:19:09 -07:00
Rikki Gibson
c072b42420
Merge pull request #159 from RikkiGibson/x-nullable
...
Support x-nullable
2018-07-09 11:17:48 -07:00
Gneev Roland
7cc550e780
Added support for array-typed query parameters with collectionFormat:multi
2018-07-04 15:34:53 +03:00
Rikki Gibson
13da6db58b
Support x-nullable
2018-06-28 12:17:31 -07:00
Dan Schulte
f19a1755d5
Move request body serialization into ServiceClient.sendOperationRequest()
2018-06-25 15:51:07 -07:00
Dan Schulte
5447985a2b
Merge pull request #149 from Azure/daschult/deserializeSuccessResponses
...
Move successful response deserialization to runtime
2018-06-25 14:55:59 -07:00
Dan Schulte
4acf583487
Move successful response deserialization to runtime
2018-06-25 14:45:39 -07:00
Rikki Gibson
23356e4e71
Fix remaining CI errors
2018-06-22 16:47:39 -07:00
Rikki Gibson
c2dc0ae912
Handle abort, progress, and fix webpack configs
2018-06-22 14:38:37 -07:00
Rikki Gibson
e1c49464fe
Update configs
2018-06-22 14:04:19 -07:00
Rikki Gibson
547521027d
Move response body parsing to serializationPolicy
2018-06-22 13:48:22 -07:00
Rikki Gibson
2433e48034
Remove most usages of await
2018-06-22 09:25:46 -07:00
Dan Schulte
d47e2a127f
Fix broken test
2018-06-21 11:50:53 -07:00
Rikki Gibson
fe1e4d76ef
Make heaeder collection mapper test-local
2018-06-18 16:35:43 -07:00
Rikki Gibson
405c245ddc
Add headerCollectionPrefix [de]serialization
2018-06-18 14:58:26 -07:00
Dan Schulte
9576d342a1
All generator tests pass
2018-06-14 13:30:31 -07:00
Dan Schulte
e62f598889
Generator tests pass
2018-06-13 11:43:50 -07:00
Dan Schulte
bc7c240341
Make OperationSpec.serializer required again
2018-06-11 10:41:15 -07:00
Dan Schulte
d66f70adca
Merge branch 'master' into daschult/flattening
2018-06-11 10:27:42 -07:00
Rikki Gibson
eb99a8c893
Support mappers per operation group
2018-06-07 16:01:52 -07:00
Dan Schulte
b4eb887fea
Working on adding parameter flattening to runtime
2018-06-07 13:54:24 -07:00