The OneOfRenderer uses the createCombinatorRendererInfos utility to render its options, see here.
The util then calls the findUISchema util which is used whenever we need to determine a UI Schema for a (sub) JSON Schema, see here.
See here for the implementation of findUISchema.
In short:
- You can hand over a
options.detailUI Schema for theoneOfcontrol. However it will be used for all of theoneOfentries. This is likely not a good fit for your use case, OR - You can use the
uischemasregistry prop. It’s a tester-based registry, like therenderersthemselves, however it returns UI Schemas. You can use this to return a specialized UI Schema just for yourauthorizeFunctionsub JSON Schema, OR - We generate a UI Schema when no specialized one is handed over. You can override the (global) UI Schema generator with an own implementation. For this, override the (global)
Generate.uiSchemafunction.