0.11.1 • Published 5 months ago

@autorest/openapi-to-typespec v0.11.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Autorest openapi-to-typespec Plugin Configuration

Autorest extension to scaffold a new TypeSpec definition from an existing OpenApi document.

To run it

autorest --openapi-to-typespec --input-file=<path-to-swagger> --namespace=<namespace> --title="<ProjectName>" --use=@autorest/openapi-to-typespec@next --output-folder=.

or with a README config file

autorest --openapi-to-typespec --require=<path-to-readme-config>.md --use=@autorest/openapi-to-typespec@next --output-folder=.

This plugin will generate the following files

main.tsp - Entry point of the TypeSpec project, it contains service information models.tsp - Contains all the model definitions routes.tsp - Contains all the resource endpoints tsproject.yaml - Contains configuration for the TypeSpec compiler package.json - Configuration of the TypeSpec project

version: 3.10.1
use-extension:
  "@autorest/modelerfour": "^4.27.0"

include-x-ms-examples-original-file: true

modelerfour:
  # this runs a pre-namer step to clean up names
  prenamer: false

openapi-to-typespec-scope/emitter:
  input-artifact: openapi-to-typespec-files

output-artifact: openapi-to-typespec-files

pipeline:
  source-swagger-detector:
    input: openapi-document/multi-api/identity
  openapi-to-typespec: # <- name of plugin
    input:
      - modelerfour/identity
      - source-swagger-detector
    output-artifact: openapi-to-typespec-files

  openapi-to-typespec/emitter:
    input: openapi-to-typespec
    scope: openapi-to-typespec-scope/emitter
0.10.12-dev.1

7 months ago

0.10.8-dev.1

9 months ago

0.11.0

6 months ago

0.10.14

6 months ago

0.11.1

5 months ago

0.10.10

8 months ago

0.10.11

7 months ago

0.10.12

7 months ago

0.10.13

7 months ago

0.10.5-dev.2

10 months ago

0.10.9-dev.1

8 months ago

0.10.9-dev.2

8 months ago

0.10.5-dev.1

10 months ago

0.11.0-dev.2

6 months ago

0.11.1-dev.1

5 months ago

0.11.1-dev.2

5 months ago

0.10.6-dev.1

9 months ago

0.10.14-dev.1

6 months ago

0.10.9

8 months ago

0.10.11-dev.2

7 months ago

0.10.11-dev.1

7 months ago

0.10.4

10 months ago

0.10.5

10 months ago

0.10.6

9 months ago

0.10.7

9 months ago

0.10.8

9 months ago

0.10.13-dev.2

7 months ago

0.10.13-dev.1

7 months ago

0.10.4-dev.2

10 months ago

0.10.10-dev.2

8 months ago

0.10.10-dev.1

8 months ago

0.10.7-dev.1

9 months ago

0.10.7-dev.3

9 months ago

0.10.7-dev.2

9 months ago

0.10.4-dev.1

11 months ago

0.10.3-dev.1

12 months ago

0.10.3

12 months ago

0.10.2

12 months ago

0.10.2-dev.1

12 months ago

0.10.2-dev.2

12 months ago

0.10.1

12 months ago

0.10.1-dev.3

12 months ago

0.10.1-dev.2

1 year ago

0.10.1-dev.1

1 year ago

0.10.0

1 year ago

0.10.0-dev.1

1 year ago

0.9.1

1 year ago

0.8.2-dev.1

1 year ago

0.9.0-dev.2

1 year ago

0.9.0-dev.1

1 year ago

0.9.1-dev.1

1 year ago

0.9.0

1 year ago

0.8.1

1 year ago

0.8.1-dev.2

1 year ago

0.8.1-dev.1

1 year ago

0.8.0

1 year ago

0.8.2

1 year ago

0.8.0-dev.6

1 year ago

0.8.0-dev.5

1 year ago

0.8.0-dev.4

1 year ago

0.7.1-dev.2

2 years ago

0.8.0-dev.3

2 years ago

0.7.1-dev.1

2 years ago

0.7.0

2 years ago

0.7.0-dev.12

2 years ago

0.7.0-dev.10

2 years ago

0.7.0-dev.11

2 years ago

0.7.0-dev.8

2 years ago

0.7.0-dev.9

2 years ago

0.7.0-dev.7

2 years ago

0.7.0-dev.6

2 years ago

0.7.0-dev.5

2 years ago

0.7.0-dev.4

2 years ago

0.7.0-dev.3

2 years ago

0.7.0-dev.2

2 years ago

0.7.0-dev.1

2 years ago

0.6.0

2 years ago