Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert sample project to TypeSpec #23168

Merged
merged 15 commits into from
Apr 4, 2023
Merged
Prev Previous commit
Next Next commit
Add simple readme.md with default tag
  • Loading branch information
weshaggard committed Mar 28, 2023
commit 65cd9bd23cfb23bdf11dc4125bf9ca607fb7f0dc
26 changes: 26 additions & 0 deletions specification/contosowidgetmanager/data-plane/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Contoso.WidgetManager

> see https://aka.ms/autorest

This is the AutoRest configuration file for Contoso.WidgetManager.

## Configuration

### Basic Information

This is a TypeSpec project so we only want to readme to default the default tag and point to the outputted swagger file.
This is used for some tools such as doc generation and swagger apiview generation it isn't used for SDK code gen as we
use the native TypeSpec code generation configured in the tspconfig.yaml file.

```yaml
tag: package-2022-11-01-preview
```

### Tag: package--2022-11-01-preview

These settings apply only when `--tag=package--2022-11-01-preview` is specified on the command line.

```yaml $(tag) == 'package-2022-11-01-preview'
input-file:
- Azure.Contoso.WidgetManager\preview\2022-11-01-preview\widgets.json
```