[Schema Inaccuracy] scim-enterprise-user examples use "User" (capital U) but user-role schema enum only defines "user" (lowercase)
@shawnHartsell ci sta già lavorando.
Dal 29/6/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Schema Inaccuracy
The scim-enterprise-user and scim-enterprise-user-list examples both have roles[].value set to "User" (capital U), but the user-role schema defines value as an enum whose only user-role entry is "user" (all lowercase).
Identified at schema commit ef4e98d.
Affected examples:
#/components/examples/scim-enterprise-user/value#/components/examples/scim-enterprise-user-list/value
Expected
The roles[].value field in both examples should use "user" (lowercase) to match the enum values defined in #/components/schemas/user-role/items/properties/value.
Reproduction Steps
The schema defines the enum as:
# /components/schemas/user-role/items/properties/value
enum:
- user
- guest_collaborator
- enterprise_owner
- billing_manager
- ...
But both examples contain:
"roles": [{ "value": "User", "primary": false }]
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 1.6k
- Fork
- 342
- Merge medio
- 2h 23m
- PR unite (30g)
- 57
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di github/rest-api-description
-
feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
github/rest-api-description#7220 ·
-
feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
github/rest-api-description#7201 ·
-
feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
github/rest-api-description#7163 ·
-
Runner deprecations: registration_deprecates_at is declared on the response but never returned Apertafeature
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
github/rest-api-description#7162 ·
-
feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
github/rest-api-description#7135 ·