API Deployment #2
api.yml
on: workflow_dispatch
Annotations
1 error and 10 warnings
deploy-to-prod
Deployment Failed, Error: Resource m3hwlbiw466g4cosureg-api of type Microsoft.Web/Sites doesn't exist.
|
build:
src/ContosoSuitesWebAPI/Agents/MaintenanceCopilot.cs#L13
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/ContosoSuitesWebAPI/Entities/MaintenanceRequest.cs#L17
Non-nullable property 'hotel' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
src/ContosoSuitesWebAPI/Entities/MaintenanceRequest.cs#L20
Non-nullable property 'source' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
src/ContosoSuitesWebAPI/Entities/MaintenanceRequest.cs#L26
Non-nullable property 'details' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
build:
src/ContosoSuitesWebAPI/Program.cs#L51
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/ContosoSuitesWebAPI/Program.cs#L58
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/ContosoSuitesWebAPI/Program.cs#L65
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/ContosoSuitesWebAPI/Program.cs#L72
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/ContosoSuitesWebAPI/Program.cs#L96
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
src/ContosoSuitesWebAPI/Program.cs#L104
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|