[Typescript][Angular] Disabling `authMethods` not supported?
See original GitHub issueDescription
I’m trying to generate Angular code but with some customizations.
For example, I want to skip authenticate part in the service by setting authMethods
to false
in the configuration file. But this is not respected - the authentication code is still there.
Is it possible? Am I missing something?
openapi-generator version
3.3.4
OpenAPI declaration file content or url
Command line used for generation
java -jar ..\openapi-generator-cli-3.3.4.jar generate -g typescript-angular -i pet.yml -o .\temp --skip-validate-spec -c config.json
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Angular 2 Basic Authentication not working - Stack Overflow
I'm trying to connect/ do a POST request to an API with Angular2, It's a very simple API with a Basic Authentication password....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ah… Understand! My assumptions was different… Thanks for the clarification.
The issue can be closed i think…
given the specification, the options should help to control variants of code generation. but the options should not override definitions imposed by the specification, since it is by definition that the requirements for the api communication are in the specification.