Generators should escape correctly @
.
#2110
Labels
bug
Something that should work but isn't, with an example and a test case.
community-generated
generator-misc
Pertaining to more than one generator, or perhaps one that doesn't exist yet
Describe the bug
Some targets do not accept
@
as-is, so terms such as@id
or@type
have to be escaped/transformed.To reproduce
Steps to reproduce the behavior:
@type
, likehttps://github.com/w3c/wot-thing-description-toolchain-tmp/blob/main/src/thing_description_schema/schema/thing_description_schema.yamlhttps://github.com/w3c/wot-thing-description-toolchain-tmp/blob/main/resources/thing_description_schema.yamlpoetry run gen-typescript
on it.@type?
while it should be"@type"?
Expected behavior
Every generator should have a mean to escape/map
@terms
.The text was updated successfully, but these errors were encountered: