Azure / azure-sdk-for-rust

This repository is for active development of the *unofficial* Azure SDK for Rust. This repository is *not* supported by the Azure SDK team.
MIT License
680 stars 232 forks source link

fix iothub device update by bumping api version to 2022-10-01 #1636

Closed JanZachmann closed 1 month ago

JanZachmann commented 3 months ago

@microsoft-github-policy-service agree company="conplement ag"

JanZachmann commented 2 months ago

Did you generate this via autorust, or hand edit? I think it's great that you're upgrading to the GA version, but OpenAPI definitions can change between preview and release (I see it all the time since I'm on the review board). I see you dropped some endpoints so maybe that is the case, but I wanted to double check.

It is hand edited. I just tried to fix the current incompatibility with current main. There are two issues:

  1. const API_VERSION: &str = "2021-06-01-preview"; isn't supported anymore
  2. endpoint changed