FasterXML / FasterXML/jackson-module-jsonSchema
Issue with serializing enum to schema
Aperta
- Lingua principale
- Java
- Stelle
- 387
- Fork
- 136
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hi, i am trying to convert object to schema, where i'm using few enums. And sometimes the same enum is used in few places. I would love to have enum saved as separate object with references there, instead of multiple repetitions of field like this:
```
"theme" : {
"type" : "string",
"enum" : [ "LIGHT", "DARK" ]
},
```
Is there any way to achieve that?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.