Luis Fernando Planella Gonzalez

Results 97 comments of Luis Fernando Planella Gonzalez

Thanks @TheRealGI. To be honest, we don't use external references, so I don't have any experience on this. The Refparser's dereference method seems to be the clearest solution. I've tested...

Mmmm, sorry guys. The tests use a direct call to the generation, which is not the same as the external `ng-openapi-gen` script does, so the neither `bundle` nor `dereference` methods...

Yes, the module was kept since `ng-swagger-gen`. However, for projects depending on a provided `ApiConfiguration`, those would need to provide it themselves instead of via importing the generated module. I'll...

Actually, it is possible to configure the root url using the `ApiModule.forRoot()` method. See https://github.com/cyclosproject/ng-openapi-gen#specifying-the-root-url--web-service-endpoint So I'll leave it, because the module can still be configured to not be generated.

Top-level enums are handled as models. You can set custom prefix / suffix for models or services in the configuration file.

No. Also, take into account that it's not just renaming a file. The class name is renamed accordingly too, and it affects all imports and references from other models and...

"The Angular way" states that class `HelloIamAClass` should be placed in the file named `hello-i-am-a-class.ts`. So, renaming just the file name would break this. Also the file name is explicitly...

Actually, the model suffix is for the class name. The file name will be derived from it. So, if you have `"modelSuffix": "Model"`, your model `User` will be renamed to...

It would be great if you could contribute a PR. Option 1 would be the way to go, but not lowercasing the entire tag, as it could be something like...

After releasing in 0.21.0, I noticed there were broker clients, so I reverted the commit. To be honest, a typo is an error, and shouldn't be handled at generator-level -...