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
Even though prettier is the module crashing I think that this needs to be addressed in swagger-to-flowtype, because export type My-Awesome-Type = {} is invalid JS to begin with.
Thanks for reporting. Yes, swagger-to-flowtype needs to validate the component names.
Although we may have cases component names conflicts, Removing - and . characters are fine for general cases.
Even though prettier is the module crashing I think that this needs to be addressed in
swagger-to-flowtype
, becauseexport type My-Awesome-Type = {}
is invalid JS to begin with.Dashes are supported in OpenAPI spec (3.0.2): https://swagger.io/docs/specification/components/
The text was updated successfully, but these errors were encountered: