Rob Quist
Rob Quist
Honestly, I have no idea..
Thanks, i'll look in to that once i receive my DK2 :)
Kind of works. Needs some refinement.
https://github.com/omissis/go-jsonschema/issues/378 might be related
Can you check this again? The current main branch should have the fixed merged.
This also causes another bug I have, the \n and \r characters (linebreak and carriage return) are parsed as-is, introducing newlines in the generating file, causing syntax errors.
For me the newline issues are fixed by https://github.com/omissis/go-jsonschema/pull/295 Running the master branch works for me, what branch are you running @dmipeck ?
EDIT: They are not. They are now encapsulated in backticks (`) which resolves the syntax error, but still isn't what I want: Spec: ```json { "expressionSyntax": { "type": "string", "$comment":...
So I'm working on this now, but I think the generated output is correct; `\d` should be a digit character (same as `[0-9]`). The error you were getting was likely...
> I was using v0.17.0 but it's working for me on main. Doesn't look like the url made any difference Yep, I think thats because before the regex was written...