Gateway

    Click below to view the image full-size:

    When deployed each function creates 1 to many Pods/containers depending on the minimum and maximum scaling parameters requested by the user. Functions can also scale to zero and back again through use of the faas-idler or the REST API.

    You can find the reference documentation and any additional settings for the API gateway in the README file for the gateway:

    The OpenFaaS API exposes a RESTful API which is documented with Swagger.

    The file can be viewed and edited in the Swagger UI.

    • Now click File -> Import URL

    • Type in https://raw.githubusercontent.com/openfaas/faas/master/api-docs/swagger.yml and click OK

    You can now view and edit the Swagger, copy back to your fork before pushing changes.