You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relevant for both next and master, after #1208 I tried with anyOf instead, and it generate even weirder results... I expect the same as I explained in #1208.
What is now generated is really weird version of the Action model, as it contains
import {AnyOf_0} from './AnyOf_0';
type Action = AnyOf_0;
export { Action };
When it should be a whole model in itself.
AnyOf_0 contains:
import {PackageAction} from './PackageAction';
class AnyOf_0 {
private _config?: PackageAction;
....
}
export { AnyOf_0 };
Which should have been the Action model 🤨 And is missing type and additionalProperties properties 🤔
This issue has been automatically marked as stale because it has not had recent activity 😴
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Describe the bug
Relevant for both
next
andmaster
, after #1208 I tried withanyOf
instead, and it generate even weirder results... I expect the same as I explained in #1208.What is now generated is really weird version of the
Action
model, as it containsWhen it should be a whole model in itself.
AnyOf_0 contains:
Which should have been the
Action
model 🤨 And is missingtype
andadditionalProperties
properties 🤔PackageAction
is actually generated correctly:Schema:
The text was updated successfully, but these errors were encountered: