Граф коммитов

57 Коммитов

Автор SHA1 Сообщение Дата
microsoft-github-policy-service[bot] b445decc3a
Microsoft mandatory file (#69)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2023-05-08 09:44:43 -07:00
Jianghao Lu cd313a2b54
Support x-ms-header-collection-prefix in params (#62) 2020-03-20 09:08:40 -07:00
Erik Petersen 852439dc91 update autorest.testserver to remove constantinople vulnerability. See https://github.com/Azure/autorest/issues/2942. (#57) 2018-06-26 08:01:26 -07:00
Johannes Bader e9fce6b4ef
citest (#55)
* citest

* Update package.json

* rev

* dep test

* regen
2018-04-05 14:38:50 -07:00
Johannes Bader 9361f267d1 VSTS stuff 2018-04-04 12:57:49 -07:00
Johannes Bader f171e79bc2
error message improvement (#53)
error message improvement & regen modelAsExtensible stuff
2018-02-27 13:17:54 -08:00
Deepak Shankargouda cb7bbbb02b Removing modelAsExtensible adding oldModelAsString (#52)
* removed modelAsExtensible added oldModelAsString

* stashing

* undoiung

* stashing

* stashing working

* regened

* undoing

* regened

* regened code

* correct reference

* nunsed
2018-02-26 09:34:23 -08:00
Garrett Serack be85a50da8
Featurebranch (#49)
* no-tag

* support tagging (via branchname, pkgjson version, or cmdline) in publish script

* whoops!
2018-02-13 09:51:13 -08:00
Deepak Shankargouda 8489e6091b
Fixing modeler for polymorphic exception types (#50) 2018-02-09 15:06:45 -08:00
Deepak Shankargouda 670d205d41
Adding x-ms-error-response models to codemodel (#46) 2018-02-08 14:52:02 -08:00
Johannes Bader 6b63ce8eea
Deprecation message (#48)
* parameterized message and example/test

* population and test

* project

* params
2018-02-01 15:54:40 -08:00
Johannes Bader 2181f89cbb
less chatty & more robust (and future-proof) parsing (#47)
* less chattu

* robustness

* ref

* nully

* NOW

* weird
2018-01-22 15:46:17 -08:00
Johannes Bader 4cf67a028c
bump commit ID for tests, added test for formData bug (#45)
* bump commitID

* repro

* fixed
2017-12-16 12:38:58 -08:00
Johannes Bader 61eb2cf38c
AP w/o type (#44)
* AP w/o type

* regen
2017-12-13 16:36:30 -08:00
Johannes Bader c3f8a5441f
cleanup and `components` work (#43)
* cleanup

* component modeling

* bump

* regen
2017-12-13 11:22:17 -08:00
Johannes Bader 508916212b
use standard containers, target new testserver, collectionFormat on formData (#42)
* removed references to non-standard containers

* regen with schema checks

* switch back ref

* nump

* collection format on formData

* regen
2017-12-06 14:48:54 -08:00
Johannes Bader 9eaa96e122
Delete code-model-v1.d.ts (#41) 2017-12-05 14:02:11 -08:00
Johannes Bader 5fdd8b8130
default host (#40)
* default host

* regen
2017-12-01 15:37:30 -08:00
Johannes Bader e33085e4af
Deprecate on everything (#39)
* dep

* ref

* regen
2017-11-30 14:44:01 -08:00
Johannes Bader 8c896c6342
cleanup (#38)
* proj

* unused resources

* resx

* less x-ms

* regen

* asd
2017-11-15 17:09:07 -08:00
Johannes Bader b8ef21cd52
Update ObjectBuilder.cs (#37) 2017-11-15 11:03:32 -08:00
Johannes Bader 802162cc1a
fix 2674 (#36) 2017-11-15 11:00:13 -08:00
Johannes Bader e58419c275
dts file (#35) 2017-11-13 15:36:39 -08:00
Johannes Bader c2a8d42595
yaml mode (#34)
* yaml mode

* regen script

* regen
2017-11-13 12:21:48 -08:00
Johannes Bader aad38ddcb7
cleanup (#32)
* unused

* more dead code

* morathat cleanup

* inline converters

* serialization simplification

* serialize

* wait on modeler.debugger

* more
2017-11-10 15:47:24 -08:00
Johannes Bader 557b34d48d
regression tests (#31)
* add standalone run

* pull in server

* regeneration

* regen

* ci job for diffing

* added specs repo tests

* quirk
2017-11-09 10:50:33 -08:00
Johannes Bader 3125c7c2c1
name uncollide (#30) 2017-11-08 15:59:07 -08:00
Johannes Bader 981552c939
Update RequestBody.cs (#29) 2017-11-08 15:03:08 -08:00
Johannes Bader e524d5bd74
fix (#28) 2017-11-08 14:13:32 -08:00
Deepak Shankargouda b356efa09d
Enabling support for enum allowed values (#27) 2017-11-08 11:02:16 -08:00
Johannes Bader b529319cf0 Openapi stuff (#26)
* basic parsing

* pre param gutting

* more translation

* gooood

* more stuffs

* discriminator

* un-clusterf*****

* did... something... about CollectionFormat.None

* convert and fix tests

* tweaks

* polish

* cleanup

* bump
2017-11-07 11:09:18 -08:00
Johannes Bader 78d72e05a9
validate x-ms-enum values against enum values AND reject empty enums (#25) 2017-10-27 10:45:55 -07:00
Johannes Bader 540502e183
empty class => empty ancestor (#21) 2017-10-27 09:45:03 -07:00
Johannes Bader df21dd8f33 no NRE on missing x-ms-enum name (#23)
* no NRE on missing x-ms-enum name

* nit
2017-10-24 11:41:19 -07:00
Amar Zavery 59d42dd1ac Setting the underlyingType for an enum (#22) 2017-10-19 14:58:06 -07:00
Johannes Bader 1ecb7d45cb Bump common (#20)
* common

* dotnet

* bump

* Update package.json
2017-10-09 15:36:41 -07:00
Garrett Serack aed7c1749c Update (#19) 2017-10-04 11:38:48 -07:00
Garrett Serack 203a34c653 Update Readme (#18) 2017-10-04 11:32:40 -07:00
Garrett Serack c3c142af9b Update dotnet runtime version (#17) 2017-10-04 11:28:30 -07:00
Garrett Serack b8625a60d2 Yarn round 2 (#16)
* switched to yarn for publishing

* WIP

* cleaned up
2017-09-22 16:18:21 -07:00
Garrett Serack 0d204ae64d switched to yarn for publishing (#15) 2017-09-22 15:40:37 -07:00
Johannes Bader 6c16e6e6b6 revert (#13) 2017-09-22 15:30:31 -07:00
Garrett Serack 67f3ea4380 switch to yarn for publishing (#12) 2017-09-22 15:23:44 -07:00
Johannes Bader cb049d453a Revert "Add x-ms-enum's default to SwaggerObject." (#11)
* Revert "Pub (#10)"

This reverts commit 2ed83ace22.

* Revert "Add x-ms-enum's default to SwaggerObject. (#9)"

This reverts commit cfabb171c3.
2017-09-22 14:41:07 -07:00
Johannes Bader 2ed83ace22 Pub (#10)
* launch config

* rel

* fix

* ci script
2017-09-22 13:28:22 -07:00
Amar Zavery cfabb171c3 Add x-ms-enum's default to SwaggerObject. (#9)
* Adding model properties or parameters with "enum" constraint to the codeModel as EnumType with modelAsString: true

* temp fix

* Add x-ms-enum's default to SwaggerObject.

* setting the underlying type and removing the string type check

* Test modification for EnumType.UnderlyingType

* Adding global.json so that the project can build using the right version of dotnet

* address codereview feedback
2017-09-21 16:00:23 -07:00
Amar Zavery e83172cb13 Adding model properties or parameters with "enum" constraint to the codeModel as EnumType with modelAsString: true (#8) 2017-09-18 22:26:50 -07:00
Johannes Bader a1ac7da7ca Spec compliance and better exceptions (#7)
* comply with spec to ignore some header params (I saw data plane Swagger that correctly specifies one)

* better exceptions
2017-09-12 13:45:25 -07:00
Johannes Bader 37eeb179e7 gen empty classes (#6)
* gen empty classes

* bump
2017-09-07 09:54:07 -07:00
Johannes Bader 29a46ca046 debugger (#4) 2017-08-31 15:40:38 -07:00