-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin cannot deal with separate files #35
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. |
Hi! Out of curiosity, does it work with absolute paths? |
@rost5000 Hi! It's because of 2.6.0. I submitted update to JetBrains. Will be available on Monday(few days for review from their side) |
@rost5000 hi! I checked both variants on current and new versions- 2.2.0, 2.3.0. Reference resolving works great, with specs that you were provided Scenario 1: spec(assyncapi.yml): asyncapi: 2.5.0
info:
title: Account Service
version: 1.0.0
description: This service is in charge of processing user signups
channels:
user/signedup:
subscribe:
message:
$ref: "./messages/userSignedUp.yaml" ref: payload:
type: object
properties:
displayName:
type: string
description: Name of the user(2_2)
email:
type: string
format: email
description: Email of the user(3_3) Scenario 2: asyncapi: 2.6.0
info:
title: Account Service 22
version: 1.0.0
description: This service is in charge of processing user signups
channels:
user/signedup:
subscribe:
message:
$ref: './messages/common.yaml#/components/messages/UserSignedUp' ref: asyncapi: 2.6.0
info:
title: Account Service--
version: 1.0.0
description: This service is in charge of processing user signups
channels:
{}
components:
messages:
UserSignedUp:
payload:
type: object
properties:
displayName:
type: string
description: Name of the user
email:
type: string
format: email
description: Email of the user Looks like problem is only in preview view which was provided by IDEA, not my plugin. Will try to research what went wrong and create an issue For now, you can still use the preview in the browser button. It allows to render specifications inside IDEA or in any installed browser with refresh on save |
@Pakisan, thanks for your researching. The problem is still reproducing. Probably, it is connected to comparbility with your plugin and openapi view plugin. I will try to check out |
@rost5000 I hope folks from JetBrains fix this issue soon, but unfortunately it will be available only in next IDEA release |
@rost5000 hi! New version is available |
Describe the bug
I have the following structure of the assyncapi:
assyncapi.yml
:./messages/common.yaml
When I press a
preview
button . I see the error:How to Reproduce
preview
Expected behavior
I expect the view in idea like: this
The text was updated successfully, but these errors were encountered: