mongodb / go-client-mongodb-atlas

Go Client for MongoDB Atlas
https://www.mongodb.com/docs/atlas/reference/api-resources-spec/
Apache License 2.0
79 stars 34 forks source link

Deprecation improvements #471

Closed wtrocki closed 1 year ago

wtrocki commented 1 year ago

Description

The deprecated note was extended to provide information that new version of the SDK will contain the changes. Only the first commit can be reviewed. Rest is regenerating the OpenAPI. I also removed unneeded comments from the top of the files for clarity.

Deprecated without description is not unifined across tools so we always make sure that there is Deprecated: Ref: https://go.dev/blog/godoc#:~:text=that%20begins%20with%20%E2%80%9C-,Deprecated,-%3A%E2%80%9D%20followed%20by%20some