Azure / oav

Tools for validating OpenAPI (Swagger) files.
MIT License
96 stars 55 forks source link

Fail to find matched operation when generate scenario from recording #951

Open tianxchen-ms opened 1 year ago

tianxchen-ms commented 1 year ago

OperationSearcher failed to find mathed operation wehn generate scenario from recording.

Failed list:

attestation/Azure.Security.Attestation
azurestackhci/Azure.ResourceManager.Hci
batch/Azure.ResourceManager.Batch
billingbenefits/Azure.ResourceManager.BillingBenefits
cdn/Azure.ResourceManager.Cdn
communication/Azure.Communication.AlphaIds
communication/Azure.Communication.CallAutomation
communication/Azure.Communication.CallingServer
communication/Azure.Communication.Chat
communication/Azure.Communication.Identity
communication/Azure.Communication.JobRouter
communication/Azure.Communication.MediaComposition
communication/Azure.Communication.PhoneNumbers
communication/Azure.Communication.Rooms
communication/Azure.Communication.ShortCodes
communication/Azure.ResourceManager.Communication
compute/Azure.ResourceManager.Compute
confidentialledger/Azure.Security.ConfidentialLedger
containerinstance/Azure.ResourceManager.ContainerInstance
containerregistry/Azure.Containers.ContainerRegistry
devcenter/Azure.Developer.DevCenter
digitaltwins/Azure.ResourceManager.DigitalTwins
dns/Azure.ResourceManager.Dns
dnsresolver/Azure.ResourceManager.DnsResolver
eventgrid/Azure.Messaging.EventGrid
eventgrid/Azure.ResourceManager.EventGrid
eventhub/Azure.ResourceManager.EventHubs
hdinsight/Azure.ResourceManager.HDInsight
iotcentral/Azure.ResourceManager.IotCentral
keyvault/Azure.ResourceManager.KeyVault
keyvault/Azure.Security.KeyVault.Administration
keyvault/Azure.Security.KeyVault.Certificates
keyvault/Azure.Security.KeyVault.Keys
keyvault/Azure.Security.KeyVault.Secrets
maps/Azure.Maps.Geolocation
maps/Azure.Maps.Routing
maps/Azure.Maps.Search
mediaservices/Azure.ResourceManager.Media
monitor/Azure.Monitor.OpenTelemetry.Exporter
monitor/Azure.Monitor.Query
mysql/Azure.ResourceManager.MySql
netapp/Azure.ResourceManager.NetApp
nginx/Azure.ResourceManager.Nginx
peering/Azure.ResourceManager.Peering
privatedns/Azure.ResourceManager.PrivateDns
purview/Azure.Analytics.Purview.Administration
purview/Azure.Analytics.Purview.Catalog
purview/Azure.Analytics.Purview.Scanning
purview/Azure.Analytics.Purview.Share
quantum/Azure.Quantum.Jobs
resourcemover/Azure.ResourceManager.ResourceMover
resources/Azure.ResourceManager.Resources
search/Azure.ResourceManager.Search
search/Azure.Search.Documents
securityinsights/Azure.ResourceManager.SecurityInsights
servicebus/Azure.Messaging.ServiceBus
servicebus/Azure.ResourceManager.ServiceBus
servicelinker/Azure.ResourceManager.ServiceLinker
sqlvirtualmachine/Azure.ResourceManager.SqlVirtualMachine
storage/Azure.ResourceManager.Storage
storage/Azure.Storage.DataMovement
synapse/Azure.Analytics.Synapse.Spark
trafficmanager/Azure.ResourceManager.TrafficManager
webpubsub/Azure.Messaging.WebPubSub
webpubsub/Azure.ResourceManager.WebPubSub

Step to repro:

  1. checkout main branch of azure-rest-api-specs and azure-sdk-for-net.
  2. oav generate-api-scenario recording --recordingPaths {azure-sdk-for-net folder}/sdk/{RP}/{package}/tests/SessionRecords --specsFolders {azure-rest-api-specs folder}/{RP}
leni-msft commented 1 year ago

related with https://github.com/Azure/oav/issues/913