Skip to content

Commit 6173888

Browse files
Fix endpoint type (#40099)
* Fix endpoint type * regen
1 parent 3782b97 commit 6173888

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

  • specification/programmableconnectivity
    • Azure.ProgrammableConnectivity
    • data-plane/Azure.ProgrammableConnectivity/preview/2024-02-09-preview

specification/programmableconnectivity/Azure.ProgrammableConnectivity/main.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ using Azure.Core;
2424
"Azure Programmable Connectivity Endpoint.",
2525
{
2626
@doc("An Azure Programmable Connectivity Endpoint providing access to Network APIs, for example https://{region}.apcgatewayapi.azure.com")
27-
endpoint: string,
27+
endpoint: url,
2828
}
2929
)
3030
@versioned(APCVersions)

specification/programmableconnectivity/data-plane/Azure.ProgrammableConnectivity/preview/2024-02-09-preview/openapi.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
"in": "path",
2323
"description": "An Azure Programmable Connectivity Endpoint providing access to Network APIs, for example https://{region}.apcgatewayapi.azure.com",
2424
"required": true,
25-
"type": "string"
25+
"type": "string",
26+
"format": "uri",
27+
"x-ms-skip-url-encoding": true
2628
}
2729
]
2830
},

0 commit comments

Comments
 (0)