Commit 8055387
Support Typespec file for Easm api version 2023-03-01-preview (#24937)
* Add typespec file for easm
* Change service version doc
* Update file structure and add config file
* Move examples under a version
* Add a openapi.json file
* Remove openapi.json file
* Change operation names and empty object
* Update tspconfig
* Change config file to add .net and js emitter
* Add service dir to config file
* Update csharp config
* Add projected name for csharp
* Use original op
* Update disco group list example
* Remove observations endpoint
* Remove observation models
* Add java options
* Use Azure.Core standard operation and use resource models
* Reformat folder structure
* Suppress warnings
* Change metadata to record<unknown>
* Add suppression for Record<unknown>
* Update examples
* Remove unused examples
* Change apiversion to apiVersion
* Reformat with prettier
* Use foundations for list operation
* Update examples and list operations
* Remove unused minimum set
* Update all uuid
* Update Assets example
* Run prettier on Assets_List
* update oauth2 definition
* remove implicitflow model
* Update specification/riskiq/Easm/tspconfig.yaml
Co-authored-by: Mike Harder <mharder@microsoft.com>
* Update models.tsp
* Update routes.tsp
* Remove typespec-apiview emitter
* update examples, add client.tsp
* run prettier
* Run prettier on Easm examples
* Update examples, main.tsp. Remove client.tsp
* Add operation id to examples under typespec project
* Add titles to examples
* Reformat typespec files
* Update DataConnection validate example
* Update data connection validation example
* Update the easm.json file based on tsv tool
* Update swagger file and its examples
* Update Easm typespec examples
* Update uris in examples
* Update cvss3 name
* Update cvss3 model with tsp
* Add totalElements to DiscoGroups, DiscoTemplates, and SavedFilters List traits
* Run validation for the previous commit
* Suppress linting rule of typespec generated swagger
* Update namespace for dotnet and javascript to the approved namespace
* Update package directory for java sdk from azure-defender-easm to azure-analytics-defender-easm
* use AlexaDetails instead of AlexaInfo in java sdk
* Fix git diff issue in Typespec Validation by running npx tsp
* Remove unused paged result models, add @pagedResult, @nextlink, and @Items decorators to paged result models and their properties.
Remove custom NoContentResult model and use Typespec.Http.NoContentResponse model instead
* Add decorators to indicate the resource is createOrUpdate or just update
---------
Co-authored-by: shadahmed-microsoft <139584906+shadahmed-microsoft@users.noreply.github.com>
Co-authored-by: Mike Harder <mharder@microsoft.com>
Co-authored-by: Shad <t-sshadahmed@microsoft.com>1 parent 1d9a731 commit 8055387
62 files changed
Lines changed: 12881 additions & 4018 deletions
File tree
- specification/riskiq
- Easm
- examples/2023-03-01-preview
- data-plane
- Microsoft.Easm/preview/2023-03-01-preview
- examples
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | | - | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
12 | | - | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
0 commit comments