Command wsk api list shows empty list

_mj_

26-06-2020

Hi, 
I have defintion of APIs in manifest file, something like that:

...
      apis:
        dev-api:
          dev:
            token:
              getToken:
                method: GET
                response: http
            create/{resourceType}:
              createObject:
                method: POST
                response: http

Endpoints work fine, but whenever I try to fetch list of APIs using:

wsk api list

I always receive empty list.

▶ wsk api list
ok: APIs
Action                            Verb             API Name  URL

 Other commands like wsk action, wsk activation, work fine.

 

My goal is to fetch swagger configuration for existing APIs and update manifest to use that configuration. But of course it would be nice to be able to check currently installed APIs.

Accepted Solutions (0)

Answers (0)