C# Azure Functions code generator using autorest
Перейти к файлу
Pavel Krymets 46fb310c7f
Disable nullable reference type generation (#431)
2020-01-27 11:15:12 -08:00
eng Use existing source code as input (#422) 2020-01-24 14:53:40 -08:00
samples Disable nullable reference type generation (#431) 2020-01-27 11:15:12 -08:00
src Disable nullable reference type generation (#431) 2020-01-27 11:15:12 -08:00
test Disable nullable reference type generation (#431) 2020-01-27 11:15:12 -08:00
.editorconfig Add .editorconfig and StyleCop rules, cleanup project files (#250) 2019-11-22 12:50:02 -08:00
.gitattributes Update m4 and checkin yamls (#407) 2020-01-15 16:41:54 -08:00
.gitignore Use existing source code as input (#422) 2020-01-24 14:53:40 -08:00
AutoRest.CSharp.V3.sln Renamed types to match file names. 2020-01-13 15:28:29 -08:00
Directory.Build.props Add .editorconfig and StyleCop rules, cleanup project files (#250) 2019-11-22 12:50:02 -08:00
Directory.Build.targets Made test projects directly reference assets instead of using the generated ones. Disabled the style cop analyzers for the test server projects since they would fail when analyzing the shared assets. 2019-12-05 21:54:10 -08:00
global.json Add the client model step and implement it for models and serializers (#265) 2019-12-02 12:33:30 -08:00
package-lock.json Update autorest, autorest-core, testserver, modelerfour, and the code model to latest versions. 2020-01-23 14:50:18 -08:00
package.json Add support for generator package publish (#430) 2020-01-24 14:01:49 -08:00
readme.md Update autorest, autorest-core, testserver, modelerfour, and the code model to latest versions. 2020-01-23 14:50:18 -08:00

readme.md

AutoRest.CSharp.V3

see https://aka.ms/autorest

Setup

Build

  • dotnet build (at root)
  • ./eng/Generate.ps1 (at root in PowerShell Core)

Configuration

# autorest-core version
version: 3.0.6198
use-extension:
  "@autorest/modelerfour": "4.3.144"
pipeline:
  csharpgen:
    input: modelerfour/identity
  csharpgen/emitter:
    input: csharpgen
    scope: output-scope
output-scope:
  output-artifact: source-file-csharp
pipeline:
  csharpproj:
    input: modelerfour/identity
  csharpproj/emitter:
    input: csharpproj
    scope: output-scope
  csharpproj/emitter/command:
    input:
    - csharpgen/emitter
    - csharpproj/emitter
    run: dotnet build $(title).csproj --verbosity quiet /nologo