Skip to content

Update LiveValidator.operationSearcher to support path disambiguation. #1067

@scbedd

Description

@scbedd

Still pending conformation from the RPaaS team, but Wendy is thinking the following. Waiting on confirmation from roopesh for the strategy.

RPaaS's payload to OAV

{
...
// Internal field to OAV and should not be included in the payload validation
"rpaasOavInternalMetadata": {
"providerNamespace": "Microsoft.Contoso.ServiceGroup1"
}
}

RP spec 1

/specification/contoso/resource-manager/Microsoft.Contoso/stable/2023-12-01/openapi.json

{
...
"info": {
"version": "2023-12-01",
"providerNamespace": "Microsoft.Contoso"
},
"paths": {
"/providers/Microsoft.Contoso/operations": {
...
}

RP spec 2

/specification/contoso/resource-manager/Microsoft.Contoso/employees/stable/2023-12-01/openapi.json

{
...
"info": {
"version": "2023-12-01",
"providerNamespace": "Microsoft.Contoso.ServiceGroup1"
},
"paths": {
"/providers/Microsoft.Contoso/operations": {
      "get": {
        "tags": [
              "Microsoft.Contoso.ServiceGroup1", "employees"
        ],
...
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

📋 Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions