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
There was a problem resolving type of 'HTMLAllCollection'.
There was a problem resolving type of 'Document'.
There was a problem resolving type of 'Beneficiary'.
There was a problem resolving type of 'Domain'.
/Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/methodGenerator.js:82
throw new Error("Error generate parameter method: '" + controllerId.text + "." + methodId.text + "' argument: " + parameterId.text + " " + e);
^
Error: Error generate parameter method: 'DomainEndpoint.create' argument: boleto Error: Only string indexers are supported. Found double.
at /Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/methodGenerator.js:82:23
at Array.map ()
at MethodGenerator.buildParameters (/Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/methodGenerator.js:73:47)
at MethodGenerator.generate (/Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/methodGenerator.js:53:30)
at /Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/controllerGenerator.js:86:58
at Array.map ()
at ControllerGenerator.buildMethodsForClass (/Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/controllerGenerator.js:86:14)
at ControllerGenerator.buildMethods (/Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/controllerGenerator.js:68:43)
at ControllerGenerator.generate (/Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/controllerGenerator.js:47:27)
at /Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/metadataGenerator.js:103:58
at Array.map ()
at MetadataGenerator.buildControllers (/Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/metadataGenerator.js:103:14)
at MetadataGenerator.generate (/Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/metadataGenerator.js:41:32)
`
One interesting fact is when I change the name of the Document for other another name I can get generate the swagger.
The text was updated successfully, but these errors were encountered:
When I try to generate a swagger.json file for the object bellow:
I got the follow error:
`
There was a problem resolving type of 'HTMLAllCollection'.
There was a problem resolving type of 'Document'.
There was a problem resolving type of 'Beneficiary'.
There was a problem resolving type of 'Domain'.
/Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/methodGenerator.js:82
throw new Error("Error generate parameter method: '" + controllerId.text + "." + methodId.text + "' argument: " + parameterId.text + " " + e);
^
Error: Error generate parameter method: 'DomainEndpoint.create' argument: boleto Error: Only string indexers are supported. Found double.
at /Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/methodGenerator.js:82:23
at Array.map ()
at MethodGenerator.buildParameters (/Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/methodGenerator.js:73:47)
at MethodGenerator.generate (/Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/methodGenerator.js:53:30)
at /Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/controllerGenerator.js:86:58
at Array.map ()
at ControllerGenerator.buildMethodsForClass (/Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/controllerGenerator.js:86:14)
at ControllerGenerator.buildMethods (/Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/controllerGenerator.js:68:43)
at ControllerGenerator.generate (/Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/controllerGenerator.js:47:27)
at /Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/metadataGenerator.js:103:58
at Array.map ()
at MetadataGenerator.buildControllers (/Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/metadataGenerator.js:103:14)
at MetadataGenerator.generate (/Users/rpinheir/Projects/company/issuer-platform/node_modules/typescript-rest-swagger/dist/metadata/metadataGenerator.js:41:32)
`
One interesting fact is when I change the name of the Document for other another name I can get generate the swagger.
The text was updated successfully, but these errors were encountered: