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
After updating this morning the generator produces quite a bit of warnings of the indicated type. This relates to the change
constpart=this.variantMethodPart(type);if(map.has(part)){this.logger.warn(`Overwriting variant method part '${part}' for media type '${map.get(part)?.mediaType}' by media type '${type.mediaType}'.`);}map.set(part,type);
in operation.ts. I'm not quite sure if it's necessary to have the empty type in the map at all or if it may be desirable to suppress this specific warning on !part or event with a new setting.
But since we have a quite large API this warnings mess with the build and make it hard to find real problems.
After updating this morning the generator produces quite a bit of warnings of the indicated type. This relates to the change
in
operation.ts
. I'm not quite sure if it's necessary to have the empty type in the map at all or if it may be desirable to suppress this specific warning on !part or event with a new setting.But since we have a quite large API this warnings mess with the build and make it hard to find real problems.
Could you please check on this (should be #317).
Thanks
Jochen
The text was updated successfully, but these errors were encountered: