Skip to content

Commit cbe0649

Browse files
Fix/failing openapi converter tests (#5178)
1 parent bf2050f commit cbe0649

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

packages/extensions/openapi-to-typespec/test/search/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
library-name: Search
33
namespace: Azure.Search
44
isAzureSpec: true
5-
require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/search/data-plane/Azure.Search/readme.md
5+
require: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/d45f04200fe13e29863dd7669adb05a2639af64d/specification/search/data-plane/Search/readme.md
66
tag: package-2024-11-searchindex-preview # We set this tag because in the latest tag, there is an enum doesn't have name so we cannot succefully generate it
77
modelerfour:
88
flatten-payloads: false

packages/extensions/openapi-to-typespec/test/search/tsp-output/main.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ using TypeSpec.Versioning;
1919
* Client that can be used to query an index and upload, merge, or delete
2020
* documents.
2121
*/
22-
@service(#{ title: "SearchClient" })
22+
@service(#{ title: "SearchIndexClient" })
2323
@versioned(Versions)
2424
@server(
2525
"{endpoint}/indexes('{indexName}')",

readme.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22

33
**AutoRest is deprecated and will be retired on July 1, 2026.**
44

5-
AutoRest is no longer under active development. No new features, language generators, or plugins will be added.
5+
AutoRest is no longer under active development. No new features, language generators, or plugins will be added.
66

77
### ✅ Recommended replacement: TypeSpec
88

99
The recommended successor to AutoRest is **[TypeSpec](https://typespec.io/)** — a modern, actively developed API description language and code generation platform.
1010

11-
1211
### 📌 Deprecation tracking issue for more details: https://github.com/Azure/autorest/issues/5175
1312

14-
1513
## AutoRest
1614

1715
The **AutoRest** tool generates client libraries for accessing RESTful web services. Input to _AutoRest_ is a spec that describes the REST API using the [OpenAPI Specification](https://github.com/OAI/OpenAPI-Specification) format.
@@ -90,7 +88,6 @@ The **AutoRest** tool generates client libraries for accessing RESTful web servi
9088
[oai2-to-oai3_chg]: packages/libs/oai2-to-oai3/CHANGELOG.md
9189
[jsonschema_chg]: packages/libs/jsonschema/CHANGELOG.md
9290

93-
9491
## Getting Started using AutoRest ![image](./docs/images/normal.png)
9592

9693
View our [docs readme][docs_readme] as a starting point to find both general information and language-generator specific information

0 commit comments

Comments
 (0)