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

506 Коммитов

Автор SHA1 Сообщение Дата
Timothee Guerin 1546595caf
Update readme.md 2021-01-25 16:18:35 -08:00
Timothee Guerin e4ded325d6
Update readme.md 2021-01-25 16:17:07 -08:00
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 47e4a5ae98
Merge pull request #351 from daviwil/allow-other-types
Allow other content types in a request with multipart/form-data
2021-01-04 12:04:15 -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 87fc9858a4
Update modelerfour version for regression test (#373) 2020-12-09 17:11:19 -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 8b75335858
Merge pull request #364 from Azure/internal/prettier
Internal: Configure prettier and eslint + fix
2020-12-03 15:20:24 -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
David Wilson 8024c8d4d5
Merge pull request #363 from Azure/feature/allow-binary-file-with-json-content-type
Allow binary files with json content type
2020-12-03 14:43:52 -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 6f46b2de0d
Update readme.md 2020-11-09 15:22:48 -08:00
David Wilson 40cd4d844b
Merge pull request #358 from daviwil/unique-synthesized-schema-names
Generate unique names for synthesized schemas like ContentType
2020-10-20 15:44:12 -07:00
David Wilson c5dab8540b Update @autorest/python version in regression tests 2020-10-20 15:29:33 -07:00
David Wilson 9a9300397b Generate unique names for synthesized schemas like ContentType 2020-10-20 14:35:23 -07:00
David Wilson 85a0afd444
Merge pull request #353 from daviwil/text-plain-response
Allow text/plain responses with 'type: string' schemas
2020-09-24 13:39:08 -07:00
David Wilson c7d276de21 Allow text/plain responses with 'type: string' schemas 2020-09-24 13:21:31 -07:00
David Wilson b60ee44202
Merge pull request #341 from daviwil/header-extensions
Propagate extension properties to response headers
2020-09-10 10:26:50 -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 c88daf0889
Merge pull request #340 from daviwil/api-version-header
Enable api-version header parameters via x-ms-api-version
2020-09-08 13:39:53 -07:00
David Wilson e746cee7a6 Update Python and TypeScript generator versions in regression tests 2020-09-08 13:22:00 -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 cdf9aa2d19
Merge pull request #336 from daviwil/no-duplicate-accept
Don't add an Accept header when one is already specified
2020-08-24 17:03: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 4be983e307
Merge pull request #334 from daviwil/add-always-seal
Add 'always-seal-x-ms-enums' setting to force SealedChoiceSchema
2020-08-21 11:29:51 -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 6797fc39b1
Merge pull request #333 from daviwil/add-accept-header
Synthesize Accept header based on response media types
2020-08-11 11:09:31 -07:00
David Wilson f32648618b Update scenario YAML files 2020-08-11 10:59:53 -07:00