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

Updated typespecs for sdk gen testing #3461

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion specification/ai/DocumentIntelligence/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ using TypeSpec.Http;
]>
)
@service({
title: "Document Intelligence (formerly Form Recognizer)",
title: "Document Intelligence (formerly Form Recognizer) for testing",
})
@server(
"{endpoint}/documentintelligence",
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/Face/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ using TypeSpec.Versioning;

@useAuth(KeyAuth | AADToken)
@service({
title: "Azure AI Face API",
title: "Azure AI Face API for testing",
})
@versioned(Versions)
@server(
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/ImageAnalysis/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ using TypeSpec.Versioning;
using Azure.Core;

@service({
title: "Image Analysis",
title: "Image Analysis for testing",
})
@versioned(ImageAnalysis.Versions)
@useAuth(
Expand Down
2 changes: 1 addition & 1 deletion specification/ai/OpenAI.Assistants/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ namespace Azure.AI.OpenAI {
]>
)
@service({
title: "Azure OpenAI",
title: "Azure OpenAI for testing",
})
@server(
"{endpoint}",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Document Intelligence (formerly Form Recognizer)",
"title": "Document Intelligence (formerly Form Recognizer) for testing",
"version": "2024-02-29-preview",
"description": "Extracts content, layout, and structured data from documents.",
"x-typespec-generated": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Azure AI Face API",
"title": "Azure AI Face API for testing",
"version": "v1.1-preview.1",
"x-typespec-generated": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Azure AI Face API",
"title": "Azure AI Face API for testing",
"version": "v1.2-preview.1",
"x-typespec-generated": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Image Analysis",
"title": "Image Analysis for testing",
"version": "2023-10-01",
"x-typespec-generated": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Azure OpenAI",
"title": "Azure OpenAI for testing",
"version": "2024-02-15-preview",
"description": "Azure OpenAI APIs for Assistants.",
"x-typespec-generated": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Azure OpenAI",
"title": "Azure OpenAI for testing",
"version": "2024-05-01-preview",
"description": "Azure OpenAI APIs for Assistants.",
"x-typespec-generated": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
title: Azure OpenAI
title: Azure OpenAI for testing
description: Azure OpenAI APIs for Assistants.
version: 2024-02-15-preview
tags: []
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
title: Azure OpenAI
title: Azure OpenAI for testing
description: Azure OpenAI APIs for Assistants.
version: 2024-05-01-preview
tags: []
Expand Down
2 changes: 1 addition & 1 deletion specification/apicenter/ApiCenter.DataApi/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ using Azure.Core;

@useAuth(AadOauth2Auth<["https://azure-apicenter.net/user_impersonation"]>)
@service({
title: "Azure API Center Data API",
title: "Azure API Center Data API for testing",
})
@server(
"https://{serviceName}.data.azure-apicenter.net",
Expand Down
2 changes: 1 addition & 1 deletion specification/apicenter/ApiCenter.Management/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ using TypeSpec.Versioning;
using Azure.ClientGenerator.Core;
@armProviderNamespace
@service({
title: "Azure API Center",
title: "Azure API Center for testing",
})
@versioned(Versions)
@doc("Azure API Center Resource Provider.")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Azure API Center Data API",
"title": "Azure API Center Data API for testing",
"version": "2024-02-01-preview",
"description": "Data API introduces endpoints to manage your API Center resources.",
"x-typespec-generated": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Azure API Center",
"title": "Azure API Center for testing",
"version": "2024-03-15-preview",
"description": "Azure API Center Resource Provider.",
"x-typespec-generated": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Azure API Center",
"title": "Azure API Center for testing",
"version": "2024-03-01",
"description": "Azure API Center Resource Provider.",
"x-typespec-generated": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ using TypeSpec.Versioning;
*/
@armProviderNamespace
@service({
title: "App Compliance Automation Tool for Microsoft 365",
title: "App Compliance Automation Tool for Microsoft 365 for testing",
})
@versioned(Versions)
@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v3)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "App Compliance Automation Tool for Microsoft 365",
"title": "App Compliance Automation Tool for Microsoft 365 for testing",
"version": "2024-06-27",
"description": "App Compliance Automation Tool for Microsoft 365 API spec",
"x-typespec-generated": [
Expand Down
2 changes: 1 addition & 1 deletion specification/appconfiguration/AppConfiguration/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ using TypeSpec.Http;
using TypeSpec.Versioning;

@service({
title: "Azure App Configuration",
title: "Azure App Configuration for testing",
})
@versioned(Versions)
@useAuth(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Azure App Configuration",
"title": "Azure App Configuration for testing",
"version": "2023-11-01",
"description": "Azure App Configuration REST API",
"x-typespec-generated": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ using Azure.Core.Traits;
]>
)
@service({
title: "Live Metrics REST APIs for client SDKs.",
title: "Live Metrics REST APIs for client SDKs. for testing",
})
@server(
"{endpoint}",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Live Metrics REST APIs for client SDKs.",
"title": "Live Metrics REST APIs for client SDKs. for testing",
"version": "2024-04-01-preview",
"description": "Live Metrics REST APIs.",
"x-typespec-generated": [
Expand Down
2 changes: 1 addition & 1 deletion specification/azurefleet/AzureFleet.Management/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ using Azure.ResourceManager;

@armProviderNamespace("Microsoft.AzureFleet")
@service({
title: "Microsoft.AzureFleet",
title: "Microsoft.AzureFleet for testing",
})
@versioned(Versions)
namespace Microsoft.AzureFleet;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Microsoft.AzureFleet",
"title": "Microsoft.AzureFleet for testing",
"version": "2023-11-01-preview",
"x-typespec-generated": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Microsoft.AzureFleet",
"title": "Microsoft.AzureFleet for testing",
"version": "2024-05-01-preview",
"x-typespec-generated": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ using TypeSpec.Versioning;
@Azure.ResourceManager.armCommonTypesVersion("v5")
@armProviderNamespace
@service({
title: "Azure Large Instance",
title: "Azure Large Instance for testing",
})
@doc("The AzureLargeInstance Management client")
@versioned(Versions)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Azure Large Instance",
"title": "Azure Large Instance for testing",
"version": "2023-07-20-preview",
"description": "The AzureLargeInstance Management client",
"x-typespec-generated": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Azure Large Instance",
"title": "Azure Large Instance for testing",
"version": "2024-04-10",
"description": "The AzureLargeInstance Management client",
"x-typespec-generated": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ using TypeSpec.Versioning;
#suppress "@azure-tools/typespec-azure-core/casing-style" "HCI itself is a short form."
@armProviderNamespace
@service({
title: "Microsoft.AzureStackHCI",
title: "Microsoft.AzureStackHCI for testing",
})
@versioned(Versions)
@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5)
Expand Down
2 changes: 1 addition & 1 deletion specification/azurestackhci/Operations.Management/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ using TypeSpec.Versioning;
#suppress "@azure-tools/typespec-azure-core/casing-style" "HCI itself is a short form."
@armProviderNamespace
@service({
title: "Microsoft.AzureStackHCI",
title: "Microsoft.AzureStackHCI for testing",
})
@versioned(Versions)
@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Microsoft.AzureStackHCI",
"title": "Microsoft.AzureStackHCI for testing",
"version": "2024-02-01-preview",
"description": "Azure Stack HCI management service",
"x-typespec-generated": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Microsoft.AzureStackHCI",
"title": "Microsoft.AzureStackHCI for testing",
"version": "2024-02-01-preview",
"description": "Azure Stack HCI management service",
"x-typespec-generated": [
Expand Down
2 changes: 1 addition & 1 deletion specification/batch/Azure.Batch/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ using TypeSpec.Http;
using TypeSpec.Versioning;

@service({
title: "Azure Batch",
title: "Azure Batch for testing",
})
@versioned(Azure.Batch.Versions)
@doc("Azure Batch provides Cloud-scale job scheduling and compute management.")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Azure Batch",
"title": "Azure Batch for testing",
"version": "2024-02-01.19.0",
"description": "Azure Batch provides Cloud-scale job scheduling and compute management.",
"x-typespec-generated": [
Expand Down
2 changes: 1 addition & 1 deletion specification/codesigning/CodeSigning.Management/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ using TypeSpec.Versioning;
@doc("Code Signing resource provider api.")
@armProviderNamespace("Microsoft.CodeSigning")
@service({
title: "CodeSigningManagementClient",
title: "CodeSigningManagementClient for testing",
})
@versioned(Versions)
@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "CodeSigningManagementClient",
"title": "CodeSigningManagementClient for testing",
"version": "2024-02-05-preview",
"description": "Code Signing resource provider api.",
"x-typespec-generated": [
Expand Down
2 changes: 1 addition & 1 deletion specification/cognitiveservices/AnomalyDetector/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ using TypeSpec.Versioning;

@versioned(APIVersion)
@service({
title: "Anomaly Detector",
title: "Anomaly Detector for testing",
})
@useAuth(AnomalyDetectorApiKeyAuth)
@server(
Expand Down
2 changes: 1 addition & 1 deletion specification/cognitiveservices/ContentSafety/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ using TypeSpec.Versioning;
using Azure.Core;

@service({
title: "ContentSafety Service",
title: "ContentSafety Service for testing",
})
@versioned(ContentSafety.Versions)
@useAuth(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ using Azure.Core.Traits;
]>
)
@service({
title: "Microsoft Cognitive Language Service - Text Analysis",
title: "Microsoft Cognitive Language Service - Text Analysis for testing",
})
@server(
"{Endpoint}/language",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ using Azure.Core.Traits;
]>
)
@service({
title: "Microsoft Cognitive Language Service - Analyze Conversations",
title: "Microsoft Cognitive Language Service - Analyze Conversations for testing",
})
@server(
"{Endpoint}/language",
Expand Down Expand Up @@ -1140,7 +1140,7 @@ union SummaryAspect {
resolution: "resolution",

/** Chapter title of any conversation. It's usually one phrase or several phrases naturally combined. Long conversations tend to have more chapters. You can find the chapter boundary from the summary context. */
chapterTitle: "chapterTitle",
chaptertitle: "chapterTitle for testing",

/** Generic narrative summary of any conversation. It generally converts the conversational language into formal written language, compresses the text length, and keeps the salient information. */
narrative: "narrative",
Expand Down
2 changes: 1 addition & 1 deletion specification/cognitiveservices/OpenAI.Inference/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ using TypeSpec.Versioning;
]>
)
@service({
title: "Azure OpenAI API",
title: "Azure OpenAI API for testing",
})
@server(
"{endpoint}/openai",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Anomaly Detector",
"title": "Anomaly Detector for testing",
"version": "v1.1",
"description": "The Anomaly Detector API detects anomalies automatically in time series data.\nIt supports both a stateless detection mode and a\nstateful detection mode. In stateless mode, there are three functionalities. Entire\nDetect is for detecting the whole series, with the model trained by the time series.\nLast Detect is for detecting the last point, with the model trained by points before.\nChangePoint Detect is for detecting trend changes in the time series. In stateful\nmode, the user can store time series. The stored time series will be used for\ndetection anomalies. In this mode, the user can still use the preceding three\nfunctionalities by only giving a time range without preparing time series on the\nclient side. Besides the preceding three functionalities, the stateful model\nprovides group-based detection and labeling services. By using the labeling\nservice, the user can provide labels for each detection result. These labels will be\nused for retuning or regenerating detection models. Inconsistency detection is\na kind of group-based detection that finds inconsistencies in\na set of time series. By using the anomaly detector service, business customers can\ndiscover incidents and establish a logic flow for root cause analysis.",
"x-typespec-generated": [
Expand Down
Loading