Commit 5bff17d
Changed default authentication provider to "Unauthenticated" in dab.draft.schema.json. (#3424)
## Why make this change?
Closes #3392.
The JSON schema default for runtime.host.authentication.provider was set
to AppService, while CLI help text and docs indicate the default should
be Unauthenticated. This mismatch can confuse users and tooling.
## What is this change?
- Updated the schema default in schemas/dab.draft.schema.json:
- runtime.host.authentication.provider: AppService -> Unauthenticated
- No runtime behavior changes were introduced beyond aligning the schema
default value.
## How was this tested?
- [ ] Integration Tests
- [x] Unit Tests
Ran:
- dotnet test
src/Service.Tests/Azure.DataApiBuilder.Service.Tests.csproj --framework
net8.0 --filter
"FullyQualifiedName~CorsUnitTests.TestCorsConfigReadCorrectly"
## Sample Request(s)
CLI example:
- dab configure --runtime.host.authentication.provider AppService
- This demonstrates overriding the default.
Config example:
- Omit runtime.host.authentication.provider from config.
- Schema default resolves it to Unauthenticated.
Co-authored-by: Souvik Ghosh <souvikofficial04@gmail.com>1 parent df401ec commit 5bff17d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
439 | | - | |
| 439 | + | |
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
| |||
0 commit comments