Skip to content

The option --silent is not honoured in version 13.0.22 #942

Closed
@m4rt1nn

Description

@m4rt1nn

It looks like the option --silent has no effect in version 13.0.22.

I verified the behaviour with the example yaml api-with-example.yaml (https://github.com/acacode/swagger-typescript-api/blob/main/tests/fixtures/schemas/v3.0/api-with-examples.yaml):

swagger-typescript-api --modular --module-name-first-tag --unwrap-response-data --axios -p ~/Downloads/api-with-examples.yaml -o /tmp --silent

The output in version 13.0.22 is

ℹ Code generator will use the default template for "api"                                                                                                                                                        
ℹ Code generator will use the default template for "routetypes"                                                                                                                                                 
ℹ try to get swagger by path "/home/marnij/Downloads/api-with-examples.yaml"                                                                                                                                    
ℹ start generating your typescript api                                                                                                                                                                          
✔ api file "http-client.ts" created in /tmp                                                                                                                                                                     
✔ api file "V2.ts" created in /tmp  

but in 13.0.16 there is no output (which is the closest previous version that I could get to work)

Regards,

Martin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions