Skip to content

Commit

Permalink
Generate models types for Operation Requests and Responses (#549)
Browse files Browse the repository at this point in the history
* Refactor filterOperationParameters into utils

* Consume latest autorest

* do not include optional params in addOperations for now

* Support additional Schemas in getyTypeForSchema

* add missing comment

* Add return types to Operations

* Add Union types, Polymorphism, inheritance, ResponseTypes

* Remove callbakc parameter and its overrides

* Add missing types to Client and ClientContext files

* Support add-credentials flag

* Multiple fixes

* Assignment of constant Client parameters

* Fix pipeline and use serializedName for discriminator
  • Loading branch information
joheredi authored Jan 22, 2020
1 parent 9de7bcc commit aaefc18
Show file tree
Hide file tree
Showing 58 changed files with 4,000 additions and 3,977 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ More information about these can be found [here](https://github.com/Azure/autore
3. Hook up plugins into the AutoRest pipeline DAG, e.g.

```yaml
version: 3.0.6189
use-extension:
"@autorest/modelerfour": "4.2.75"
"@autorest/modelerfour": "4.3.142"

pipeline:
typescript: # <- name of plugin
Expand Down
Loading

0 comments on commit aaefc18

Please sign in to comment.