Open skywing918 opened 1 month ago
This was something we didn't do exactly by design but changing it would be breaking. We have also considered removing the restriction of @extension
to allow any keys to provide support for any things that we don't have a dedicated decorator for.
For OAS3 emitter, at least we can improve it by outputing warning log when compiling tsp
Describe the bug
@info decorator failed to exclude unallow keys, it only allow fixed fields and start with "x-".
TSP
Actual Specification
Expected Specification
Reproduction
.
git clone https://github.com/skywing918/typespec-workaround.git
tsp compile unallowkey.tsp
/tsp-output/@typespec/openapi3
to get the resultChecklist