Code completion in referenced files
hcomnetworkers opened this issue · comments
Is there any way to enable code-completion for a yaml-file that only contains e.g. schemas?
For example, I have a Foo.yml
with:
openapi: 3.0.0
components:
schemas:
foo:
type: object
properties:
id:
$ref: './Common.yml#/uuid'
And a Common.yml
with:
uuid:
type: string
pattern: '^[A-F0-9]{32}$'
The code-completion works great in Foo.yml
, but surely not in Common.yml
because that file proably does not look like anything for the intellij-swagger-plugin.
Is there maybe an annotation that could be used to enable code-completion? For example, by putting an #language=openapi-schema-definitions
in the first line of Common.yml
?
If not, please see this as a feature request :)