Skip to content
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

API Management SchemaContractProperties Document is not to its swagger definition #14954

Closed
yupwei68 opened this issue Jul 1, 2021 · 1 comment

Comments

@yupwei68
Copy link
Contributor

yupwei68 commented Jul 1, 2021

Bug Report

  • import path of package in question, e.g. .../services/compute/mgmt/2018-06-01/compute
    "github.com/Azure/azure-sdk-for-go/services/preview/apimanagement/mgmt/2021-01-01-preview/apimanagement"

  • SDK version e.g. master, latest, 18.1.0
    "55.5.0"

  • Specify the exact commit if possible; one way to get this is the REVISION
    column output by dep status "github.com/Azure/azure-sdk-for-go.

  • output of go version

  • What happened?
    The go sdk data struct for Document is not according to its swagger definition

swagger link:
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2021-01-01-preview/definitions.json#L4971

SDK link:
https://github.com/Azure/azure-sdk-for-go/blob/main/services/preview/apimanagement/mgmt/2021-01-01-preview/apimanagement/models.go#L12690

  • What did you expect or want to happen?
    The go sdk data struct for Document is according to its swagger definition
  • How can we reproduce it?
  • Anything we should know about your environment.
@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Jul 1, 2021
@ArcturusZhang
Copy link
Member

Since the swagger has changed on the master branch, the generated code is aligned with the swagger. Therefore closing this issue.
Thank you!

@RickWinter RickWinter removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Aug 25, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants