FasterXML / FasterXML/jackson-module-jsonSchema
Issue with serializing enum to schema
未關閉
- 主要語言
- Java
- 星號
- 387
- 分支
- 136
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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?
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。