Closed asyncapi-bot closed 1 year ago
G'day All,
I am not sure whether it is relevant to ask in today's community meeting, this below question - If it is irrelevent please ignore it.
The question is:
For Example:
This json schema I got it from https://json-schema.org/understanding-json-schema/reference/conditionals.html#if-then-else :
{
"type": "object",
"properties": {
"street_address": {
"type": "string"
},
"country": {
"default": "United States of America",
"enum": ["United States of America", "Canada"]
}
},
"if": {
"properties": { "country": { "const": "United States of America" } }
},
"then": {
"properties": { "postal_code": { "pattern": "[0-9]{5}(-[0-9]{4})?" } }
},
"else": {
"properties": { "postal_code": { "pattern": "[A-Z][0-9][A-Z] [0-9][A-Z][0-9]" } }
}
}
I would like to know whether we can generate java classes with each property setter should include the regular expression.
If it is relevant - please help to answer.
Thanking you, Raj
Update on the AACoT'23 Website design. You can find the discussion here.
What is the name of the AI @derberg ?
@Mayaleeeee It's Fathom. It's working wonders isn't it :slightly_smiling_face:
Great tool @derberg :clap:
@Mayaleeeee It's Fathom. It's working wonders isn't it :slightly_smiling_face:
Great tool @derberg :clap:
Thank you @kaushik-rishi
Agenda
Notes
Recording https://www.youtube.com/watch?v=0X7wnn41Vho Recording and full transcription also here https://fathom.video/share/JjcyFg46GYQkXhGBQ_9w7gwKxvTCrsU7
AI Generated notes with some edits: