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

[ReleasePR Azure.Analytics.Defender.Easm] [TypeSpec] Upgrade to 0.50.0 #39398

Closed

Conversation

azure-sdk
Copy link
Collaborator

@azure-sdk azure-sdk commented Oct 19, 2023

Support Typespec file for Easm api version 2023-03-01-preview (Azure#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>
@azure-sdk azure-sdk closed this Oct 19, 2023
@azure-sdk azure-sdk deleted the sdkAuto/Azure.Analytics.Defender.Easm branch October 19, 2023 19:53
@azure-sdk azure-sdk changed the title [ReleasePR Azure.Analytics.Defender.Easm] Support Typespec file for Easm api version 2023-03-01-preview [ReleasePR Azure.Analytics.Defender.Easm] Add partial update option for typespec java emitter Oct 25, 2023
@azure-sdk azure-sdk changed the title [ReleasePR Azure.Analytics.Defender.Easm] Add partial update option for typespec java emitter [ReleasePR Azure.Analytics.Defender.Easm] [TypeSpec] Upgrade to 0.50.0 Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant