Closed ghost closed 7 years ago
i don't fully understand the problem, but i'm ok with the solution anyway. the if / if / elif / .. / else should be refactored to be consistent.
I don't see why the 'example' field wouldn't work in your example, neither why x-example would improve this (even if I am completly agree to support it). Can you provide the code that fails ?
we can close this PR, i added the x-example support and cleaned up the if/elif block
Done in #26
the acutal code is searching for 'example' in the parameters. When using the example field like this...
...it fails . The only way to get {uid} populated with 'myuuid' is by using the 'default' property but it is not intended to be used for setting a default value in such a scenario.
As x-vendor properties are permitted by the spec, let use them: