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

[Fleet] fix typespec validation - operationId warning #25109

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

serbrech
Copy link
Member

@serbrech serbrech commented Aug 2, 2023

  • remove unecessary operationid annotation for ListBySubscription
  • suppress warning for Fleets_CreateOrUpdate operationid

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Aug 2, 2023

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️LintDiff succeeded [Detail] [Expand]
Validation passes for LintDiff.
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️CadlAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️CadlValidation succeeded [Detail] [Expand]
Validation passes for CadlValidation.
️️✔️TypeSpec Validation succeeded [Detail]
Rule Message
InConsistentSwagger "details":"The generated swagger file 2022-09-02-preview/fleets.json from typespec specification/containerservice/Fleet.Management is not the same as the '/mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/aks/preview/2022-09-02-preview/fleets.json' in PR,
please make sure the swagger is consistent with the generated swagger. You can find the difference in the pipeline log."
InConsistentSwagger "details":"The generated swagger file 2023-03-15-preview/fleets.json from typespec specification/containerservice/Fleet.Management is not the same as the '/mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-03-15-preview/fleets.json' in PR,
please make sure the swagger is consistent with the generated swagger. You can find the difference in the pipeline log."
InConsistentSwagger "details":"The generated swagger file 2023-06-15-preview/fleets.json from typespec specification/containerservice/Fleet.Management is not the same as the '/mnt/vss/_work/1/azure-rest-api-specs/specification/containerservice/resource-manager/Microsoft.ContainerService/fleet/preview/2023-06-15-preview/fleets.json' in PR,
please make sure the swagger is consistent with the generated swagger. You can find the difference in the pipeline log."
️⌛PR Summary pending [Detail]
️⌛Automated merging requirements met pending [Detail]
Posted by Swagger Pipeline | How to fix these errors?

@openapi-workflow-bot
Copy link

Hi, @serbrech! Thank you for your pull request. To help get your PR merged:

  • Ensure you reviewed the checklists in the PR description.
  • Know that PR assignee is the person auto-assigned and responsible for your current PR review and approval.
  • For convenient view of the API changes made by this PR, refer to the URLs provided in the table in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.
  • @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Aug 2, 2023

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking

    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Aug 2, 2023

    Generated ApiView

    Language Package Name ApiView Link
    TypeSpec Fleet.Management https://apiview.dev/Assemblies/Review/ab925df8d6e943c7a35820286da0553c

    @serbrech serbrech changed the base branch from main to dev-aks-fleet-2023-06-15-preview August 2, 2023 06:30
    @serbrech serbrech force-pushed the ster/operation-id-fix branch from 61c0c14 to 43124d8 Compare August 2, 2023 06:33
    @serbrech serbrech merged commit cf7c881 into dev-aks-fleet-2023-06-15-preview Aug 2, 2023
    @serbrech serbrech deleted the ster/operation-id-fix branch August 2, 2023 06:36
    ms-henglu pushed a commit that referenced this pull request Aug 25, 2023
    * Adds base for updating Microsoft.ContainerService/fleet from version preview/2023-03-15-preview to version 2023-06-15-preview
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * [Fleet][Dev] API 0615 changes (#25020)
    
    * Adds base for updating Microsoft.ContainerService/fleet from version preview/2023-03-15-preview to version 2023-06-15-preview
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * sync with ADO repo
    
    * exclude unneeded file changes
    
    * revert tsp config
    
    * revert helpers.tsp
    
    * remove package files
    
    * remove package files
    
    * add known word containerd
    
    * format
    
    * remove .npmrc
    
    * revert custom word
    
    * revert package-lock.json
    
    * re-generate json
    
    * add example
    
    * add example
    
    * fix read-only fields
    
    * fix read-only fields
    
    * re-generate json with latest compiler
    
    * add custom word back
    
    * re-generate json
    
    * restore config
    
    * add examples
    
    * add examples
    
    * add examples
    
    * add examples
    
    * add examples
    
    * add examples
    
    * prettier
    
    * fix examples
    
    * git ignore
    
    * review commoents
    
    * fix examples
    
    * make node image selection optional
    
    * fix warnings
    
    * fix warnings
    
    * fix warnings
    
    * fix docs
    
    * revert package changes
    
    * compile
    
    * fix tspconfig (#25031)
    
    * [Fleet][readmes] Dev aks fleet 2023 06 15 preview readmes (#25033)
    
    * update readmes
    * fix readme mistake
    
    * fix operationid warnings (#25109)
    
    * tsp format (#25111)
    
    * Fix aks fleet 2023 06 15 preview patchasync from 0615 (#25131)
    
    * do the breaking change only from 0615
    
    * fix patch
    
    * compile to get examples
    
    * remove sample
    
    * fix member upate operation (#25134)
    
    * revert extension removal (#25189)
    
    * generate with type spec v0.47.0 (#25484)
    
    ---------
    
    Co-authored-by: Stéphane Erbrech <stephane.erbrech@gmail.com>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    3 participants