-
Notifications
You must be signed in to change notification settings - Fork 318
initial 100 service mgmt APIs generated by AutoRust #31
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
Merged
Merged
Changes from 25 commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
f9ccbcd
add azure_mgmt_storage_v2019_06_01
ctaggart c2650b4
headers now generated
ctaggart 5dd6a63
all local types in same mod
ctaggart 98c20dc
include referenced types
ctaggart 7f112b4
CamelCase for vec types
ctaggart 85cefc9
fix referenced schemas
ctaggart c87dec1
add referenced schemas recursively
ctaggart 6949562
multiple input files
ctaggart cf6deb6
create local structs
ctaggart 0c11f82
Merge remote-tracking branch 'origin/master' into rest
ctaggart 8430921
Merge remote-tracking branch 'origin/master' into rest
ctaggart 9797149
move to rest/mgmt_storage/2019-06-01
ctaggart 4c847d2
unlock build on other branches
ctaggart 4a27b71
add rest/rustfmt.toml
ctaggart c6d291f
allOf & pub
ctaggart 07126a3
optional params
ctaggart 73bd8c4
default Configuration
ctaggart 46a850f
added mgmt_storage 2020-08-01-preview
ctaggart e0c613c
API_VERSION const
ctaggart c736f0e
api-version from config
ctaggart 6ebc62b
query params
ctaggart c367f52
map with Vec::is_empty
ctaggart 1d22c03
skip_serializing if readOnly
ctaggart 0ed1c5b
remove anyhow dependency
ctaggart 7ba33e2
remove if statement around api-version param
ctaggart fb6c0c9
Merge remote-tracking branch 'origin/master' into rest
ctaggart f1a5365
switch services layout to be like go sdk
ctaggart 955a852
add compute_mgmt example
ctaggart bb263d1
add body and header params
ctaggart d3bebaa
add avs_mgmt
ctaggart 24212ab
group operations into modules
ctaggart 6b92bd4
add resources mgmt
ctaggart 4c3dbb0
service api versions as features
ctaggart b6b75c8
add two examples
ctaggart 55fa8f9
version modules
ctaggart 77a7901
add avs_private_cloud_list example
ctaggart 7fe6ad9
Merge remote-tracking branch 'origin/master' into rest
ctaggart 563b786
vm_list example
ctaggart 0dbe768
switch name back to azure_mgmt_${service} #42
ctaggart 0e10667
Merge remote-tracking branch 'origin/master' into rest
ctaggart a873e82
many compute API versions
ctaggart 079dde9
add 70 mgmt services
ctaggart 8840aea
map all respones with error handling
ctaggart 5260faa
+30 mgmt services, 100 total
ctaggart 2d7a751
Merge remote-tracking branch 'origin/master' into rest
ctaggart 1bc80fa
use spec folder names
ctaggart 64f6f89
add readme for Azure Service Crates
ctaggart 835e61f
fix vmware example & add examples to readme
ctaggart 8dd5ff1
add storage account list to readme
ctaggart 6e81ec9
docs are hard
ctaggart File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,8 +3,6 @@ name: Build and Test | |
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - master | ||
|
|
||
| jobs: | ||
| test: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| [workspace] | ||
| members = [ | ||
| "sdks/*", | ||
| "rest/mgmt_storage/*", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| [package] | ||
| name = "azure_mgmt_storage_2019_06_01" | ||
| version = "0.1.0" | ||
| edition = "2018" | ||
|
|
||
| [dependencies] | ||
| serde = { version = "*", features = ["derive"] } | ||
| serde_json = "*" | ||
| reqwest = { version = "*", features = ["json"] } | ||
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| mod client; | ||
| mod models; | ||
|
|
||
| pub use self::{client::*, models::*}; | ||
|
|
||
| pub const API_VERSION: &str = "2019-06-01"; | ||
|
|
||
| pub type Error = Box<dyn std::error::Error + Send + Sync>; | ||
| pub type Result<T> = std::result::Result<T, Error>; | ||
|
|
||
| pub struct Configuration { | ||
| pub api_version: String, | ||
| pub client: reqwest::Client, | ||
| pub base_path: String, | ||
| pub bearer_access_token: Option<String>, | ||
| } | ||
|
|
||
| impl Default for Configuration { | ||
| fn default() -> Self { | ||
| { | ||
| Self { | ||
| api_version: API_VERSION.to_owned(), | ||
| client: reqwest::Client::new(), | ||
| base_path: "https://management.azure.com".to_owned(), | ||
| bearer_access_token: None, | ||
| } | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.