зеркало из
1
0
Форкнуть 0
Граф коммитов

297 Коммитов

Автор SHA1 Сообщение Дата
Timothee Guerin e26442f6b1 clean 2020-12-03 13:29:03 -08:00
Timothee Guerin 98b692f670 Added scenario tests 2020-12-03 10:06:26 -08:00
Timothee Guerin 858c4b1339 Allow binary files with json content type 2020-12-03 09:03:20 -08:00
David Wilson 9a9300397b Generate unique names for synthesized schemas like ContentType 2020-10-20 14:35:23 -07:00
David Wilson c7d276de21 Allow text/plain responses with 'type: string' schemas 2020-09-24 13:21:31 -07:00
David Wilson 87809c5ce5 Update generated scenario YAML files 2020-09-09 14:50:12 -07:00
David Wilson 492e0def2e Propagate extension properties to response headers 2020-09-09 14:48:27 -07:00
David Wilson a29be67089 Enable api-version header parameters via x-ms-api-version 2020-09-03 17:08:41 -07:00
David Wilson 77b20860e0 Don't add an Accept header when one is already specified 2020-08-24 16:30:38 -07:00
David Wilson 7f3a953eaa Add 'always-seal-x-ms-enums' setting to force SealedChoiceSchema 2020-08-20 11:36:56 -07:00
David Wilson f32648618b Update scenario YAML files 2020-08-11 10:59:53 -07:00
David Wilson 1b282326dc Synthesize Accept header based on response media types 2020-08-10 15:51:07 -07:00
David Wilson e1f8662f6d Update out of date scenario YAML files after x-ms-text change 2020-08-07 12:40:25 -07:00
David Wilson 51da533b23 Add body-formdata and body-formdata-urlencoded to scenario output 2020-08-07 12:39:59 -07:00
David Wilson 952f3231f2 Add a test for multipart/form-data schema to parameter conversion 2020-08-07 12:34:52 -07:00
David Wilson fe9ad42d2b Convert multipart body schema into operation parameters 2020-08-06 09:12:24 -07:00
David Wilson 5f6a36a678 Eliminate redundant processMultipart method 2020-07-31 08:09:56 -07:00
David Wilson ce2d636a70 Convert multipart/form-data requests to HttpMultipartRequest 2020-07-31 08:09:56 -07:00
David Wilson 52f8498b7f Promote `x-ms-text` extension to `xml`'s `text` property 2020-07-30 15:31:46 -07:00
David Wilson e0be2ff5bb Exclude test folder from npm package 2020-07-24 15:38:26 -07:00
David Wilson 9f89939f7c Update scenario YAML files after adding response header prenaming 2020-07-15 13:40:19 -07:00
David Wilson d1bb2c4410 Add step in prenamer to use Pascal casing on response header names 2020-07-15 12:23:46 -07:00
David Wilson feb8de74de Add unit test to verify HttpHeader language population 2020-07-15 10:52:47 -07:00
David Wilson 20af5bf7f2 Set HttpHeader name and description in new 'language' field 2020-07-14 17:05:17 -07:00
David Wilson 80dfcbdce8
Merge pull request #318 from daviwil/header-client-name
Pull x-ms-client-name from the header object, not its schema
2020-07-10 13:22:18 -07:00
David Wilson 63eed61772
Merge pull request #317 from daviwil/better-recursion-message
Improve error that appears when schema recursion is detected
2020-07-10 13:10:54 -07:00
David Wilson 18bdaaaa0d
Merge pull request #312 from daviwil/nullable-responses
Add missing x-nullable support for body params, responses, and collection schemas
2020-07-10 13:03:05 -07:00
David Wilson 1e525f3866 Pull x-ms-client-name from the header object, not its schema 2020-07-07 17:07:29 -07:00
David Wilson c591ef0d1d Improve error that appears when schema recursion is detected 2020-07-07 14:55:40 -07:00
David Wilson 7c376638db Update scenario YAML files with new explode field 2020-07-07 13:51:58 -07:00
David Wilson 89a35baee5 Propagate OpenAPI 3 'explode' field for parameter style 2020-07-07 12:12:54 -07:00
David Wilson 52e0741a13 Update scenario YAML files (remove unnecessary nullableItems: false) 2020-07-06 16:15:53 -07:00
David Wilson d90c78fd05 Update nullable tests for fixes collection scenarios 2020-07-06 16:15:53 -07:00
David Wilson 0a38eef599 Pull 'nullable' from array schema's 'items' property 2020-07-06 16:15:53 -07:00
David Wilson a26704a0fe Pull 'nullable' from dictionary schema's 'additionalProperties' 2020-07-06 16:15:53 -07:00
David Wilson d6cf3aaee3 Add support for nullable responses and body parameters 2020-07-06 16:15:40 -07:00
David Wilson de01c86a78 Bump autorest.testserver version to fix TypeScript regression tests 2020-07-02 15:48:16 -07:00
David Wilson 3cf506cf96 Propagate x-ms-client-default to properties and operation params 2020-07-01 13:17:26 -07:00
David Wilson 9b97573f7e Bump version to 4.15.0 due to modelAsString breaking change 2020-06-25 13:48:42 -07:00
David Wilson 61fb0e1cee Update scenario .yaml files 2020-06-25 13:48:22 -07:00
David Wilson 98d442868b Convert schemas with x-ms-enum's modelAsString: true to ChoiceSchema 2020-06-25 13:44:22 -07:00
David Wilson 0f47e72f92 Remove empty parent object schemas in allOf lists with PreChecker 2020-06-15 16:29:35 -07:00
David Wilson 6d02918c1a Regenerate scenario YAML files 2020-06-11 10:38:55 -07:00
David Wilson 7c58195a93 Fix recursive traversal of allOf/anyOf/oneOf in object schemas 2020-06-11 10:37:08 -07:00
David Wilson 80e35fed4d Allow unexpected 'format' values for 'integer' type 2020-06-05 11:21:25 -07:00
David Wilson 59f4a16506
Merge pull request #298 from daviwil/propagate-nullable
Propagate `nullable` properties from OpenAPI 3 to CodeModel schemas
2020-06-05 11:09:57 -07:00
David Wilson d6d49e4e69 Propagate `nullable` properties from OpenAPI 3 to some schemas 2020-06-04 13:52:08 -07:00
Michael Yanni 5bee729c10 Did npm run tests on the changes. 2020-05-27 15:08:46 -07:00
Michael Yanni ece23a2621 Update version and changelog. 2020-05-19 16:46:39 -07:00
Michael Yanni 950c320dda Made non-exceptional responses as Output usage and exceptional responses as Exception. 2020-05-18 17:38:58 -07:00