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

320 Коммитов

Автор SHA1 Сообщение Дата
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
David Wilson 1aa322254c Consider x-ms-client-name when prechecking for duplicate schemas 2020-05-12 16:33:51 -07:00
David Wilson cbcb421636 Add new prechecker warning to expected.yaml 2020-05-12 14:34:56 -07:00
David Wilson b0d809f0a2 Encapsulate errors list inside of inner function 2020-05-12 14:32:43 -07:00
David Wilson aa66cd8bc8 Add a message warning the user that deduplication could take a while 2020-05-12 14:32:43 -07:00
David Wilson 9d989c64f3 Loopify recursive checkForDuplicateSchemas call to avoid heap crash 2020-05-12 14:32:43 -07:00
David Wilson 9f9dbd3a0c Don't call fixUpSchemasThatUseAllOfInsteadOfJustRef recursively 2020-05-07 16:52:49 -07:00
David Wilson cab3c2f873 Update scenario YAML files with new indentation 2020-05-07 16:09:00 -07:00
David Wilson 800b101f80
Merge pull request #279 from daviwil/fix-enum-duplicate-removal
Disable deduplication of choice value name parts
2020-05-06 14:12:08 -07:00
David Wilson a5c27c3d55 Disable deduplication of enum value name parts 2020-05-05 15:28:04 -07:00
David Wilson 1962529002 Try only removing anonymous "empty" polymorphic schemas 2020-05-05 14:50:24 -07:00
David Wilson cdd7f452ff Disable fixUpSchemasThatUseAllOfInsteadOfJustRef for now (see #278) 2020-05-05 13:57:32 -07:00
David Wilson 0a8d16da08 Ensure that property name readOnly warning doesn't become an error 2020-05-01 16:30:58 -07:00
David Wilson a17f8c1f2d Don't sort schemas before naming them 2020-05-01 16:26:30 -07:00
David Wilson 7e123747ed Fix schema name deduplication logic 2020-05-01 16:26:30 -07:00
David Wilson ae639db5d7 Use the updated serialize function from @azure-tools/codegen@2.5.0 2020-05-01 16:26:21 -07:00
David Wilson 2b45906758 Merge remote-tracking branch 'upstream/master' into add-prechecker 2020-04-29 16:59:47 -07:00
David Wilson 8e7b271e68 Update scenario YAML files after test run 2020-04-29 16:55:50 -07:00
David Wilson ba8f340eb5 Update modeler/readme.md with new changelog information 2020-04-29 16:50:04 -07:00
David Wilson 76efc68494 Expand deduplicateSchemaName to replace fixSchemaCollisions 2020-04-28 17:13:25 -07:00
David Wilson 77ccf61f7a Rename "deduplicate-schema-names" to "lenient-model-deduplication" 2020-04-22 16:48:13 -07:00
David Wilson 4e463006b6 Add pre-namer option to rename duplicate schema names 2020-04-21 16:23:32 -07:00
David Wilson a438dc377c Update generated scenario output 2020-04-14 16:43:36 -07:00
David Wilson c38d4440bf Fix schema usage propagation to array and dictionary element schemas 2020-04-14 16:43:21 -07:00
Garrett Serack 969a27f576 make explicity autorest-internal 2020-04-13 08:16:32 -07:00
Garrett Serack 6b88845f60 updated test 2020-04-13 07:56:48 -07:00
Garrett Serack f1574cc653 more prechecker work 2020-04-13 07:41:40 -07:00
Garrett Serack 0ca6d0f52b Merge branch 'master' of https://github.com/azure/autorest.modelerfour into add-prechecker 2020-04-09 08:41:28 -07:00
Garrett Serack 33cf38fbd4 change order of inputs slightly 2020-04-09 08:41:18 -07:00
Garrett Serack 3329297967 updated check to get security info 2020-04-09 08:20:49 -07:00
Garrett Serack fcddd5fdc2 add security information, bump to 4.13.x 2020-04-08 12:25:27 -07:00
Garrett Serack c3c83d2332 add security information, bump to 4.13.x 2020-04-08 12:20:41 -07:00
Garrett Serack 2074d9b7ce change how prechecker is configured 2020-04-08 09:24:56 -07:00
Garrett Serack d69a9c4488 renable test 2020-04-08 09:09:14 -07:00
Garrett Serack bf14432268 testing why it's changing order in python 2020-04-08 09:01:33 -07:00
Garrett Serack c3f8ad3184 testing why it's changing order in python 2020-04-08 08:50:17 -07:00
Garrett Serack bf278042a8 merge fix-duplicate-parents 2020-04-07 13:54:43 -07:00
Garrett Serack 3e1b4dfbfc
Merge branch 'master' into fix-duplicate-parents 2020-04-07 13:51:02 -07:00
Garrett Serack 2544c51587 cleanup 2020-04-07 13:48:29 -07:00
Garrett Serack fc98b7a96c added duplicate parent scenario 2020-04-07 13:45:06 -07:00
Garrett Serack f0ef60306f update readme 2020-04-07 12:21:37 -07:00
Garrett Serack 0dc0947518 adding prechecker 2020-04-07 12:15:33 -07:00
Garrett Serack 89a93adff0 updated readme 2020-04-06 14:51:55 -07:00
Garrett Serack fb7371944e added choiceType to choice schema created for content-type 2020-04-06 14:51:09 -07:00
Garrett Serack 4cbd346298 pushDistinct to the rescue! 2020-04-06 13:48:43 -07:00
Garrett Serack 16096674dd added changelog entry 2020-04-06 13:37:37 -07:00
Garrett Serack 73c4b421f4 Merge branch 'master' of https://github.com/azure/autorest.modelerfour into fix-duplicate-parents 2020-04-06 13:36:44 -07:00
Garrett Serack ae1b44aab1
Merge branch 'master' into enum-strings-no-type 2020-04-06 13:34:58 -07:00
Garrett Serack c1d3b0a513 make duplicate parent allOf entries an error 2020-04-06 13:32:49 -07:00
Garrett Serack 873e76389b updated tests 2020-04-06 11:27:54 -07:00
Garrett Serack 6cbc788c2b update readme 2020-04-02 10:21:25 -07:00
Garrett Serack c10ef6725d flatten parents first for consistency 2020-04-02 10:20:51 -07:00
Garrett Serack 12168c255b
Merge branch 'master' into enum-strings-no-type 2020-04-02 07:56:36 -07:00
Garrett Serack 837d476d04
Merge branch 'master' into add-origin 2020-04-02 07:45:58 -07:00
Garrett Serack 2c4769faec update notes 2020-03-31 11:07:09 -07:00
Garrett Serack c8c09c0d77 when an enum without type is presented, if the values are all strings, assume 'string' 2020-03-31 10:19:12 -07:00
Garrett Serack 463c3875f9 add time processing in the other place 2020-03-31 10:08:32 -07:00
Garrett Serack 3aaa171449 update test data 2020-03-31 10:01:27 -07:00
Garrett Serack ebf9d5249b content-type true again 2020-03-31 09:45:58 -07:00
Garrett Serack 864286d5bb updated plugin 2020-03-30 14:43:31 -07:00
Garrett Serack 6489c06446 make checker fail on errors 2020-03-30 12:39:59 -07:00
Garrett Serack a6f139fbed update readme 2020-03-27 14:20:53 -07:00
Garrett Serack 4213ac9cd2 wip 2020-03-27 14:20:18 -07:00
Garrett Serack c8bb4e671e update readme 2020-03-27 14:19:55 -07:00
Garrett Serack cde0fa5f42 update PR script 2020-03-26 11:01:35 -07:00
Garrett Serack bcc1d93a59 add origin to aspect, add support for format:time 2020-03-26 10:18:03 -07:00
Garrett Serack 33a8ee9e63 update perks and try again 2020-03-25 12:08:03 -07:00
Garrett Serack abdb1e599b another fixed message 2020-03-25 11:20:09 -07:00
Garrett Serack 4c2a86f48e minor fixes 2020-03-25 10:56:11 -07:00
Garrett Serack fa2c569980 bumped codemodel version 2020-03-23 14:58:13 -07:00
Garrett Serack 52d785b2dc fixe serialized name 2020-03-23 13:00:53 -07:00
Garrett Serack b322014a35 add serializedName 2020-03-23 12:43:23 -07:00
Garrett Serack d1c2fc0b69 add right type 2020-03-23 12:09:28 -07:00
Garrett Serack a6c05ea9ab add protocol/http/in to genrated parameter 2020-03-23 11:38:22 -07:00
Garrett Serack b3a1428ad0 cleanup 2020-03-20 13:22:40 -07:00
Garrett Serack 0901c5a9c3 better content type parameter 2020-03-20 13:21:49 -07:00
Garrett Serack 3b8b8a68da make deduplicator default off, and add constantParameter setting 2020-03-20 10:29:51 -07:00
Garrett Serack 3c83f1deb4 make sure int types are handled as ints for enums 2020-03-20 08:40:39 -07:00