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

320 Коммитов

Автор SHA1 Сообщение Дата
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
Garrett Serack 365fc60af4 add always-create-content-type-parameter option, enable checker by default 2020-03-20 08:20:05 -07:00
Garrett Serack 97a3f8e70c regenerated 2020-03-13 12:02:50 -07:00
Garrett Serack 32fb1e6346 make sure client parameters aren't duplicating 2020-03-13 11:51:24 -07:00
Garrett Serack 360dca3589 remove unneeded properties from virtual property and regenenerated tests 2020-03-13 11:38:55 -07:00
Garrett Serack cf3de94a76 oops debugger 2020-03-12 15:06:30 -07:00
Garrett Serack b7aa398c9a Merge branch 'master' of https://github.com/azure/autorest.modelerfour 2020-03-12 09:54:12 -07:00
Garrett Serack 71ad5539f9 add support for x-ms-api-version extension to force enabling/disabling parameter to be treated as an api-version parameter 2020-03-12 09:54:01 -07:00
David Wilson d1512b3e49 Update @azure-tools/codemodel to 3.4.X 2020-03-11 15:00:47 -07:00
Garrett Serack 71b0ea1fef bump version 2020-03-10 14:21:45 -07:00
Garrett Serack 0a4987139c add modelerfour configuration for 'keep-unused-flattened-models' 2020-03-10 14:19:45 -07:00
Garrett Serack 36b0d241e5 remove unused flattened models during flattening 2020-03-10 14:13:56 -07:00
David Wilson 82f195e112 Track usage of discriminator schemas, improve schema tracking design 2020-03-03 14:49:22 -08:00
Garrett Serack a1ae2729db merge binary payloads when they aint binary. you heard me. 2020-02-28 11:53:05 -08:00
Garrett Serack cc540de207 Merge branch 'master' of github.com:fearthecowboy/autorest.modelerfour 2020-02-28 10:00:43 -08:00
Garrett Serack b4c1c7ad70 regenereated scenarios 2020-02-28 10:00:37 -08:00
Garrett Serack 57d8cb202a
Update modelerfour/flattener/flattener.ts
Co-Authored-By: David Wilson <david@daviwil.com>
2020-02-28 09:59:22 -08:00
Garrett Serack de43adf78d disambiguate on formatted names, case can throw a wrench in the gears 2020-02-28 09:18:38 -08:00
Garrett Serack 7bae6a8ca3 update codemodel pkg version 2020-02-27 13:35:57 -08:00
Garrett Serack e07e03b26a better API version handling - part 1 2020-02-27 13:27:14 -08:00
Garrett Serack d223188082 Merge branch 'master' of https://github.com/azure/autorest.modelerfour 2020-02-24 13:18:08 -08:00
Garrett Serack 69359506a3 use description beside when possible 2020-02-24 13:18:00 -08:00
Garrett Serack 419c2dd9f3
Merge branch 'master' into track-schema-usage 2020-02-24 09:07:46 -08:00
David Wilson e1ed491858 Update @azure-tools/codemodel to 3.2.0 2020-02-21 16:30:03 -08:00
David Wilson 0696eafb57 Bump version to 4.8.0 2020-02-21 16:30:03 -08:00
David Wilson 2cdef9bb99 Set 'usage' field of all GroupSchema to Input 2020-02-21 16:30:03 -08:00
David Wilson 10146487c3 Rename applySchemaUsage to trackSchemaUsage, rename usage fields 2020-02-21 16:30:03 -08:00
David Wilson c493b81e8e Track schema usage contexts and media types in code model 2020-02-21 16:10:01 -08:00
Garrett Serack 0c935a5083 support x-ms-client-default 2020-02-21 08:33:45 -08:00
Garrett Serack c62e7801b3 regenerated tests 2020-02-21 07:30:56 -08:00
Garrett Serack 1eaabc9c28 add implementation to content-type parameter 2020-02-21 07:28:24 -08:00
Garrett Serack af3f27cfb7 updated modelerfour version 2020-02-14 09:47:56 -08:00
Garrett Serack 7e53d14ae7 filter out useless extensions 2020-02-14 09:44:26 -08:00
Garrett Serack 075df14622 refactored codemodel to support multiple requests 2020-02-14 09:40:16 -08:00
Garrett Serack 4e562425ff regenerated tests after reordering 2020-02-14 09:35:36 -08:00
Garrett Serack 2a7276efa3 tests regenerated 2020-02-14 08:26:34 -08:00
Garrett Serack 5668a71f2f make numbers snuggle up to text. 2020-02-12 11:34:44 -08:00
Garrett Serack a930addca3 updated readme 2020-02-12 10:23:40 -08:00
Garrett Serack 74ad814f66 last set of namer changes 2020-02-12 10:05:44 -08:00
Garrett Serack 770ed069fe update namer to support preserve-uppercase-max-length 2020-02-12 07:19:20 -08:00
Garrett Serack e53a241fbc exclude constants and client parameters from [re]grouping 2020-02-11 13:36:21 -08:00
Garrett Serack 9d674ff3de more naming adjustments 2020-02-11 11:43:36 -08:00
Garrett Serack ee9acdcc39 fixed method selection on paging 2020-02-11 10:52:41 -08:00
Garrett Serack 30b72dd71f add paging data to .language.default 2020-02-11 08:51:03 -08:00
Garrett Serack 6e44d4211c tests regenerated 2020-02-11 08:50:05 -08:00
Garrett Serack 134fd3c55b updated libraries, docs 2020-02-10 10:33:34 -08:00
Garrett Serack 76f8f84407 adding missing global on deconstruct regex 2020-02-10 10:02:22 -08:00
Garrett Serack f1ca27b53b Merge branch 'master' of https://github.com/azure/autorest.modelerfour 2020-02-10 09:51:09 -08:00
Garrett Serack bb783628ad remove debugger statement 2020-02-10 09:45:54 -08:00
Garrett Serack ba272500b7
Merge pull request #158 from fearthecowboy/master
More checks in modelerfour
2020-02-10 09:42:32 -08:00
Garrett Serack de7b044be6 updated deps 2020-02-10 09:22:44 -08:00
Garrett Serack a6fd7d41a9 check types 2020-02-06 14:15:42 -08:00
Garrett Serack c7e2e3a0fc added checker, name collision resolution in namer, consolodation of duplicate schemas 2020-02-06 14:08:13 -08:00
Garrett Serack 4f52e398b2 tweaked error 2020-02-06 14:00:53 -08:00
Garrett Serack 3ac97eca33 tests regenerated 2020-02-06 10:00:37 -08:00
David Wilson aa25e5a938 Update @autorest/compare, add regression-compare.yaml configuration 2020-02-06 09:59:09 -08:00
Garrett Serack 059105ba08 updated to Styler in codegen 2020-02-04 10:33:47 -08:00
Garrett Serack 26e91ea9f1 msg 2020-02-03 12:24:24 -08:00
Garrett Serack a2b4d76d97 regenerated 2020-02-03 12:22:13 -08:00
Garrett Serack d3f0383955 added formatted name for client (.language.default.name), changed constant parameter names to constant format type 2020-02-03 12:18:17 -08:00
Garrett Serack 434f6955f9 refined prenamer to have overrides and spacecase 2020-02-03 09:14:56 -08:00
Garrett Serack 161699e18b remove messages and fix typo 2020-01-31 15:10:17 -08:00
Garrett Serack abb4619f8e updated to support more formatting options 2020-01-31 14:49:18 -08:00
Garrett Serack c26b861e44 flatten payload get all properties from parent 2020-01-30 13:30:10 -08:00
Garrett Serack 0dafc2e68c added .signatureParameters, made grouped flattened parameters work 2020-01-30 08:25:28 -08:00
Garrett Serack 4654395dd5 .grouped => .groupedBy reference 2020-01-28 10:40:28 -08:00
Garrett Serack 45de82db64 pull thru parent properties in flattening and make hidden => grouped and flattened 2020-01-27 14:16:08 -08:00
Garrett Serack 826129f337 enable grouper 2020-01-27 13:17:24 -08:00
Garrett Serack e5279e93c5 cleanup 2020-01-27 11:17:27 -08:00
Garrett Serack 8c7b20e12a bump modeler four version (added grouper) 2020-01-27 11:12:07 -08:00
Garrett Serack 6d67241c4f added grouper 2020-01-27 10:56:33 -08:00
Garrett Serack 7c3cd5fa10 fixed description on enum 2020-01-23 17:30:35 -08:00
Garrett Serack b98394b202 make int64 and friends work a bit better. 2020-01-22 17:21:03 -08:00
Garrett Serack 15de7d7b5c constants don't count in threshold calculation 2020-01-21 11:16:23 -08:00
Garrett Serack b81c18a67d make it work on object schemas too 2020-01-21 10:42:28 -08:00
Garrett Serack d00e85bd5f add summary to language.default when summary is on operation 2020-01-21 10:01:35 -08:00
Garrett Serack 730bf991e4 send clearer error on invalid enum values 2020-01-21 09:29:56 -08:00
Garrett Serack 3a5c74fb05 support --override-client-name to set the codemodel title. 2020-01-21 09:18:50 -08:00
Garrett Serack 5fb85d7230 scope to method parameters 2020-01-21 08:20:29 -08:00
Garrett Serack 682e1d5350 added implementation:Method on flattened parameters 2020-01-21 08:18:30 -08:00
Garrett Serack e0940e89bd updated test 2020-01-17 14:20:50 -08:00
Garrett Serack e1104b31e2 bug fixes in flatter/namer 2020-01-17 13:58:59 -08:00
Garrett Serack 2f44788225 x-ms-client-name on operations, \System.Management.Automation.Internal.Host.InternalHost gets skip-uri-encoding 2020-01-17 08:51:59 -08:00
Garrett Serack b05d84525e test regenerated 2020-01-17 08:50:49 -08:00
Garrett Serack 55f69a2bd0 fixed readme 2020-01-15 15:12:10 -08:00
Garrett Serack fe7a6acab2 resolving pr comments 2020-01-15 12:08:01 -08:00
Garrett Serack 920ab27133 move namer after flattener 2020-01-15 11:54:31 -08:00
Garrett Serack 163c2011b1 updated readme 2020-01-15 11:50:57 -08:00
Garrett Serack 9015b2a714 flattening is off by default 2020-01-15 11:37:08 -08:00
Garrett Serack 5d0ee2a345 model changes for flattening 2020-01-15 11:23:29 -08:00
Garrett Serack 6ac9c3cc1f code changes for flattening 2020-01-15 11:23:18 -08:00
Garrett Serack 5e4cacb4e4 find yet another x-ms-client-name place 2020-01-14 14:46:40 -08:00
Garrett Serack 8c2450f2b5 make sure client apiversion parameter ends up in global set 2020-01-13 11:15:09 -08:00
Garrett Serack ab5832c9d7 disable flattener for the moment 2020-01-10 11:59:22 -08:00
Garrett Serack 5c90b78070 make sure flattener is called right, add x-ms-skip-url-encoding for parameters 2020-01-09 13:46:51 -08:00
Garrett Serack 867b65cf83 updated script 2019-12-19 10:51:29 -08:00
Garrett Serack 3676f72d9c update to new testserver, fix inline enum x-ms-client-name, more work on flattener 2019-12-19 10:45:11 -08:00
Garrett Serack 42ba059a96 typo 2019-12-13 11:31:27 -08:00
Garrett Serack cb06cf730d properties with $ref and x-ms-client-name should work too 2019-12-13 11:26:06 -08:00
Garrett Serack d1389d0873 update change log 2019-12-13 09:27:58 -08:00
Garrett Serack 244e48b4ba properties should respect x-ms-client-name 2019-12-13 08:16:52 -08:00