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

320 Коммитов

Автор SHA1 Сообщение Дата
Timothee Guerin 91f0031826
Convert headers x-ms-header-collection-prefix type to be a dictionary (#382) 2021-01-25 12:40:10 -08:00
Timothee Guerin 20ca12f012
Respect required attribute for request body (#385) 2021-01-25 11:59:46 -08:00
Timothee Guerin ff8015fcb2
Force older version of codegen (#383) 2021-01-20 15:18:26 -08:00
Timothee Guerin 4d99ac0017
Don't prevent duplicate names if lenient-model-deduplication is enabled (#381) 2021-01-19 12:26:58 -08:00
Timothee Guerin cc1767b22d
Put the removal of empty child schemas behind a flag (#377) 2021-01-04 12:09:28 -08:00
Timothee Guerin 0dcfb6d9d0
Fix: When trying to remove duplicate consecutive words and it creates a name already used still try styling but without removing duplicates (#378) 2021-01-04 12:08:30 -08:00
David Wilson d350ba11ba Allow other content types in a request with multipart/form-data 2021-01-04 11:42:15 -08:00
Timothee Guerin 900f8b4b4e
Set choiceType to string for the servers generated enum (#379) 2021-01-04 10:02:10 -08:00
Timothee Guerin 020c306b6a
Log a better warning when generating operation ID (#376) 2020-12-15 12:09:57 -08:00
Timothee Guerin 2736459dae
Fix: Circular dependency issue with sibling schemas/definitions. (#375) 2020-12-15 11:14:49 -08:00
Timothee Guerin 8a8a88d07a
Fix: Issue with prenamer renaming to already used values (#374) 2020-12-14 11:22:51 -08:00
Timothee Guerin 257be860f0
Fix: Nested dictionaries (#372) 2020-12-09 15:38:26 -08:00
Timothee Guerin 18d3340594
Fix decalared typo (#371) 2020-12-08 11:19:44 -08:00
Timothee Guerin 2f4f58a84f
Fix: Responses description not being included in the m4 output. (#370) 2020-12-07 14:04:27 -08:00
Timothee Guerin a212d966f9
Move sources to src folder (#369)
* Move sources to src folder

* Forgot to add moved files
2020-12-07 11:53:29 -08:00
Timothee Guerin 8cfff298c6
Rename test -> legacy-test and testv2 -> test (#368) 2020-12-07 11:17:45 -08:00
Timothee Guerin 0b67d2b63a
Migrate existing test to jest, remove mocha (#367) 2020-12-04 16:25:24 -08:00
Timothee Guerin 5a2678d736
Add a new Always create accept flag (#366) 2020-12-04 14:09:55 -08:00
Timothee Guerin b95da6bb05
Internal: New test setup using snapshots to validate produced models (#365) 2020-12-04 11:56:09 -08:00
Timothee Guerin af119e28fc Move to dev dependencies
Move to dev dependencies
2020-12-03 14:58:20 -08:00
Timothee Guerin c3c7e041d4 Fix eslint issues(ignore) 2020-12-03 14:58:20 -08:00
Timothee Guerin 1ce2f33612 apply prettier fix 2020-12-03 14:58:20 -08:00
Timothee Guerin 666fb77fef Add prettier config
More config

More config
2020-12-03 14:58:04 -08:00
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