krzyhan

Results 15 comments of krzyhan

Try this, it works for me: ```js app.directive('ngDropdownRequired', function () { return { restrict: 'A', require: '?ngModel', link: function ($scope, elem, attrs, ngModel) { $scope.updateForm = function (model, mode) {...

`message here` where "form" is form name and "country" is dropdown name

It would be very helpful.

Not sure if this will help, but you can use https://github.com/ngneat/spectator#integration-testing-with-routertestingmodule

Try to change `ng-if `to `ng-show`, it works for me

Can you show openapi doc with schema part? I'm asking because in the default example, everything is working fine: ![image](https://github.com/RicoSuter/NSwag/assets/20922676/44e07960-5814-493e-afe4-158135217e40) (maybe you have different settings?) I had similar issue, with...

Maybe I'm wrong, but I think `runtime` is not needed anymore as you are providing an input, so file is already generated (in a specific runtime)

Can you provide your settings from which you are generating TS clients? Which template are you using? (And example model from API spec)

Did you try to uninstall the studio and install again? (the latest 14.0.1 version)? This error occurs while opening the studio or along with some action?

in a config (`openApiToTypeScriptClient`) check if `generateOptionalParameters` is set to `true`; this should produce proper code: `controllerName(someString?: string | null | undefined, anotherString?: string | null | undefined): Observable;`