Azure / Azure/azure-rest-api-specs

Microsoft.Web - swagger is missing property `http20ProxyFlag`

Open
#25,013 2 comments 1 reaction 0 assignees View on GitHub
Service Attention Web Apps
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

same to: https://github.com/Azure/azure-rest-api-specs/issues/22876

The property is available in the request payload but not present in the swagger:https://github.com/Azure/azure-rest-api-specs/blob/main/specification/web/resource-manager/Microsoft.Web/stable/2022-09-01/CommonDefinitions.json#L3097

```
{
"id": "/subscriptions/xxx/resourceGroups/testRG-lwa-ip/providers/Microsoft.Web/sites/testLWA-ip",
"name": "testLWA-ip",
"type": "Microsoft.Web/sites",
"kind": "app,linux",
"location": "East US",
"tags": {},
"properties": {
"name": "testLWA-ip",
"state": "Running",
"hostNames": [
"testlwa-ip.azurewebsites.net"
],
"webSpace": "testRG-lwa-ip-EastUSwebspace-Linux",
"selfLink": "https://waws-prod-blu-489.api.azurewebsites.windows.net:454/subscriptions/xxx/webspaces/testRG-lwa-ip-EastUSwebspace-Linux/sites/testLWA-ip",
"repositorySiteName": "testLWA-ip",
"owner": null,
"usageState": "Normal",
"enabled": true,
"adminEnabled": true,
"enabledHostNames": [
"testlwa-ip.azurewebsites.net",
"testlwa-ip.scm.azurewebsites.net"
],
"siteProperties": {
"metadata": null,
"properties": [
{
"name": "LinuxFxVersion",
"value": ""
},
{
"name": "WindowsFxVersion",
"value": null
}
],
"appSettings": null
},
"availabilityState": "Normal",
"sslCertificates": null,
"csrs": [],
"cers": null,
"siteMode": null,
"hostNameSslStates": [
{
"name": "testlwa-ip.azurewebsites.net",
"sslState": "Disabled",
"ipBasedSslResult": null,
"virtualIP": null,
"thumbprint": null,
"certificateResourceId": null,
"toUpdate": null,
"toUpdateIpBasedSsl": null,
"ipBasedSslState": "NotConfigured",
"hostType": "Standard"
},
{
"name": "testlwa-ip.scm.azurewebsites.net",
"sslState": "Disabled",
"ipBasedSslResult": null,
"virtualIP": null,
"thumbprint": null,
"certificateResourceId": null,
"toUpdate": null,
"toUpdateIpBasedSsl": null,
"ipBasedSslState": "NotConfigured",
"hostType": "Repository"
}
],
"computeMode": null,
"serverFarm": null,
"serverFarmId": "/subscriptions/xxx/resourceGroups/test-lwa-ip/providers/Microsoft.Web/serverfarms/testASP-linux",
"reserved": true,
"isXenon": false,
"hyperV": false,
"lastModifiedTimeUtc": "2023-07-25T03:31:23.4566667",
"storageRecoveryDefaultState": "Running",
"contentAvailabilityState": "Normal",
"runtimeAvailabilityState": "Normal",
"dnsConfiguration": {},
"vnetRouteAllEnabled": false,
"containerAllocationSubnet": null,
"useContainerLocalhostBindings": null,
"vnetImagePullEnabled": false,
"vnetContentShareEnabled": false,
"siteConfig": {
"numberOfWorkers": 1,
"defaultDocuments": null,
"netFrameworkVersion": null,
"phpVersion": null,
"pythonVersion": null,
"nodeVersion": null,
"powerShellVersion": null,
"linuxFxVersion": "",
"windowsFxVersion": null,
"windowsConfiguredStacks": null,
"requestTracingEnabled": null,
"remoteDebuggingEnabled": null,
"remoteDebuggingVersion": null,
"httpLoggingEnabled": null,
"azureMonitorLogCategories": null,
"acrUseManagedIdentityCreds": false,
"acrUserManagedIdentityID": null,
"logsDirectorySizeLimit": null,
"detailedErrorLoggingEnabled": null,
"publishingUsername": null,
"publishingPassword": null,
"appSettings": null,
"metadata": null,
"connectionStrings": null,
"machineKey": null,
"handlerMappings": null,
"documentRoot": null,
"scmType": null,
"use32BitWorkerProcess": null,
"webSocketsEnabled": null,
"alwaysOn": true,
"javaVersion": null,
"javaContainer": null,
"javaContainerVersion": null,
"appCommandLine": null,
"managedPipelineMode": null,
"virtualApplications": null,
"winAuthAdminState": null,
"winAuthTenantState": null,
"customAppPoolIdentityAdminState": null,
"customAppPoolIdentityTenantState": null,
"runtimeADUser": null,
"runtimeADUserPassword": null,
"loadBalancing": null,
"routingRules": null,
"experiments": null,
"limits": null,
"autoHealEnabled": null,
"autoHealRules": null,
"tracingOptions": null,
"vnetName": null,
"vnetRouteAllEnabled": null,
"vnetPrivatePortsCount": null,
"publicNetworkAccess": null,
"cors": null,
"push": null,
"apiDefinition": null,
"apiManagementConfig": null,
"autoSwapSlotName": null,
"localMySqlEnabled": null,
"managedServiceIdentityId": null,
"xManagedServiceIdentityId": null,
"keyVaultReferenceIdentity": null,
"ipSecurityRestrictions": null,
"ipSecurityRestrictionsDefaultAction": null,
"scmIpSecurityRestrictions": null,
"scmIpSecurityRestrictionsDefaultAction": null,
"scmIpSecurityRestrictionsUseMain": null,
"http20Enabled": false,
"minTlsVersion": null,
"minTlsCipherSuite": null,
"supportedTlsCipherSuites": null,
"scmMinTlsVersion": null,
"ftpsState": null,
"preWarmedInstanceCount": null,
"functionAppScaleLimit": 0,
"elasticWebAppScaleLimit": null,
"healthCheckPath": null,
"fileChangeAuditEnabled": null,
"functionsRuntimeScaleMonitoringEnabled": null,
"websiteTimeZone": null,
"minimumElasticInstanceCount": 0,
"azureStorageAccounts": null,
"http20ProxyFlag": null,
"sitePort": null,
"antivirusScanEnabled": null,
"storageType": null
},
"deploymentId": testLWA-ip",
"slotName": null,
"trafficManagerHostNames": null,
"sku": "Standard",
"scmSiteAlsoStopped": false,
"targetSwapSlot": null,
"hostingEnvironment": null,
"hostingEnvironmentProfile": null,
"clientAffinityEnabled": false,
"clientCertEnabled": false,
"clientCertMode": "Required",
"clientCertExclusionPaths": null,
"hostNamesDisabled": false,
"vnetBackupRestoreEnabled": false,
"domainVerificationIdentifiers": null,
"customDomainVerificationId": "60050EDF973F6A37580BEC6B496D6EB73503D4FFDEBC08629AB575880A1CAD2A",
"kind": "app,linux",
"managedEnvironmentId": null,
"inboundIpAddress": "20.119.8.46",
"possibleInboundIpAddresses": "20.119.8.46",
"ftpUsername": "testLWA-ip\\$testLWA-ip",
"ftpsHostName": "ftps://waws-prod-blu-489.ftp.azurewebsites.windows.net/site/wwwroot",
"outboundIpAddresses": "20.75.146.211,20.75.146.221,20.75.146.228,20.75.146.229,20.75.146.254,20.75.146.255,40.88.199.185,20.75.146.16,20.75.146.17,20.75.146.24,20.75.146.25,20.75.146.30,20.119.8.46",
"possibleOutboundIpAddresses": "20.75.146.211,20.75.146.221,20.75.146.228,20.75.146.229,20.75.146.254,20.75.146.255,40.88.199.185,20.75.146.16,20.75.146.17,20.75.146.24,20.75.146.25,20.75.146.30,20.75.146.31,20.75.146.32,20.75.146.33,20.75.146.40,20.75.146.64,20.75.146.65,20.75.149.122,20.75.146.74,40.88.194.183,20.75.146.166,20.75.146.194,20.75.146.195,20.75.146.211,20.75.146.221,20.75.146.228,20.75.146.229,20.75.146.254,20.75.146.255,20.75.147.4,20.75.147.5,20.75.147.18,20.75.147.19,20.75.147.37,20.75.147.65,20.119.8.46",
"containerSize": 0,
"dailyMemoryTimeQuota": 0,
"suspendedTill": null,
"siteDisabledReason": 0,
"functionExecutionUnitsCache": null,
"maxNumberOfWorkers": null,
"homeStamp": "waws-prod-blu-489",
"cloningInfo": null,
"hostingEnvironmentId": null,
"tags": {},
"resourceGroup": "testRG-lwa-ip",
"defaultHostName": "lwa-ip.azurewebsites.net",
"slotSwapStatus": null,
"httpsOnly": false,
"endToEndEncryptionEnabled": false,
"redundancyMode": "None",
"inProgressOperationId": null,
"geoDistributions": null,
"privateEndpointConnections": [],
"publicNetworkAccess": "Enabled",
"buildVersion": null,
"targetBuildVersion": null,
"migrationState": null,
"eligibleLogCategories": "AppServiceAppLogs,AppServiceAuditLogs,AppServiceConsoleLogs,AppServiceHTTPLogs,AppServiceIPSecAuditLogs,AppServicePlatformLogs,ScanLogs",
"inFlightFeatures": [],
"storageAccountRequired": false,
"virtualNetworkSubnetId": null,
"keyVaultReferenceIdentity": "SystemAssigned",
"defaultHostNameScope": "Global",
"privateLinkIdentifiers": null
}
}
```

Contributor guide

Open the contributing guide

Research direction

Start with specification/web/resource-manager/Microsoft.Web/stable/2022-09-01/CommonDefinitions.json around line 3097 and compare the SiteConfig schema with the request payload shown in the issue. Done means the swagger definition represents the http20ProxyFlag property consistently with the payload.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.