Skip to content

Commit

Permalink
[Maps] Onboarding @azure-rest/maps-search (#24056)
Browse files Browse the repository at this point in the history
* Initial code gen

* Add auth layer & format

* Set up test environment

* Add tests & helper function

* Add recording

* Add samples

* Refine samples

* Build samples

* Refine README

* Finalize

* Add cspell whitelist for maps-search-rest

* Add auth section in the code snippet

* Disable doc ms

* Refactor the samples for batch request

* Add samples build
  • Loading branch information
andykao1213 authored Dec 2, 2022
1 parent 4d933ca commit 49a15ab
Show file tree
Hide file tree
Showing 156 changed files with 426,545 additions and 9 deletions.
5 changes: 4 additions & 1 deletion .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,10 @@
"filename": "sdk/maps/maps-render-rest/review/maps-render.api.md",
"words": ["bbox"]
},

{
"filename": "sdk/maps/maps-search-rest/review/maps-search.api.md",
"words": ["Neighbourhood", "Xstr"]
},
{
"filename": "sdk/apimanagement/api-management-custom-widgets-scaffolder/review/api-management-custom-widgets-scaffolder.api.md",
"words": ["scaffolder", "APIM"]
Expand Down
68 changes: 61 additions & 7 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion rush.json
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,11 @@
},
{
"packageName": "@azure-rest/maps-geolocation",
"projectFolder": "sdk/maps/maps-geolocation-rest",
"projectFolder": "sdk/maps/maps-geolocation-rest"
},
{
"packageName": "@azure-rest/maps-search",
"projectFolder": "sdk/maps/maps-search-rest",
"versionPolicyName": "client"
},
{
Expand Down
3 changes: 3 additions & 0 deletions sdk/maps/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ extends:
safeName: azurerestmapsrender
- name: azure-rest-maps-geolocation
safeName: azurerestmapsgeolocation
safeName: azuremapscommon
- name: azure-rest-maps-search
safeName: azurerestmapssearch
8 changes: 8 additions & 0 deletions sdk/maps/maps-search-rest/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"plugins": ["@azure/azure-sdk"],
"extends": ["plugin:@azure/azure-sdk/azure-sdk-base"],
"rules": {
// Exporting the factory function is a convention for Rest Level Client
"@azure/azure-sdk/ts-modules-only-named": "off"
}
}
7 changes: 7 additions & 0 deletions sdk/maps/maps-search-rest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Release History

## 1.0.0-beta.1 (Unreleased)

### Features Added

- Initial Release
21 changes: 21 additions & 0 deletions sdk/maps/maps-search-rest/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2022 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit 49a15ab

Please sign in to comment.