Go-swagger: Question: How to include all operations?

Created on 20 Dec 2016  路  3Comments  路  Source: go-swagger/go-swagger

Problem statement

When I run: swagger generate server --name=MyName --spec=current.json --default-scheme=https I get the output: no operations were selected

Probably a n00b question, but how can I generate a server with _all_ operations? If I have missed the documentation, I would love to get the URL.

Thanks!

PS:
I have _many_ operations so, would be nice if I just can include all of them...

All 3 comments

is your spec valid? because the default behavior is everything

Would it be possible to perhaps include the spec file you're using, might help others in knowing why it doesn't work for you.

Thanks all, completely misunderstood this... Got it now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mcandre picture mcandre  路  4Comments

CuBiC3D picture CuBiC3D  路  3Comments

casualjim picture casualjim  路  3Comments

alihalabyah picture alihalabyah  路  4Comments

flier picture flier  路  5Comments