Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI wsk api get to generate API consumer friendly swagger file #2198

Closed
csantanapr opened this issue Apr 27, 2017 · 1 comment
Closed

CLI wsk api get to generate API consumer friendly swagger file #2198

csantanapr opened this issue Apr 27, 2017 · 1 comment
Labels

Comments

@csantanapr
Copy link
Member

The WSK CLI would need to be adjust , today by default the support export admin cfg file, and import the same admin cfg, it's not a swagger file for consumers.

The WSK CLI would need to be updated with a flag to indicate that the desire output is for consumers of the API (ie wsk api get --consumer > consumer_client_swagger.json)

The file will be ready to be use as it will have the full basePath and host client can use to call the APIs.
The full basePath and host (i.e. 172.17.0.1:9001) that a consumer API consumer would use say with curl will be constructed from the managedUrl value we get back from API Gateway management interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants