All Projects → Optum → faas-swagger

Optum / faas-swagger

Licence: Apache-2.0 license
Swagger for Openfaas

Programming Languages

go
31211 projects - #10 most used programming language
HTML
75241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to faas-swagger

openapi-viewer
Browse and test a REST API described with the OpenAPI 3.0 Specification
Stars: ✭ 85 (+347.37%)
Mutual labels:  swagger-ui
spring-boot-starter-swagger
Spring Boot Swagger UI Starter
Stars: ✭ 14 (-26.32%)
Mutual labels:  swagger-ui
faas facebox
OpenFaaS anonymize function. Use MachineBox service.
Stars: ✭ 35 (+84.21%)
Mutual labels:  openfaas
cloud-functions
OpenFaaS social functions
Stars: ✭ 27 (+42.11%)
Mutual labels:  openfaas
cakephp-swagger-bake
Automatically generate OpenAPI, Swagger, and Redoc documentation from your existing CakePHP code.
Stars: ✭ 48 (+152.63%)
Mutual labels:  swagger-ui
leaderboard-app
GitHub leaderboard for your organisation or repo (Serverless SPA)
Stars: ✭ 64 (+236.84%)
Mutual labels:  openfaas
node8-express-template
Node.js 8 template for OpenFaaS with HTTP via Express.js
Stars: ✭ 16 (-15.79%)
Mutual labels:  openfaas
net-api
A documented REST API which returns structured data from network devices
Stars: ✭ 73 (+284.21%)
Mutual labels:  swagger-ui
kanban-board
Single-click full-stack application (Postgres, Spring Boot & Angular) using Docker Compose
Stars: ✭ 138 (+626.32%)
Mutual labels:  swagger-ui
openfaas-plus-webassembly
WebAssembly + OpenfaaS The Universal Runtime for Serverless Functions
Stars: ✭ 40 (+110.53%)
Mutual labels:  openfaas
example-postgresql
A complete example of a "CRUD" service (UserService) built with Oat++ and using oatpp ORM with PostgreSQL.
Stars: ✭ 24 (+26.32%)
Mutual labels:  swagger-ui
swagger-aggregate
Spring Boot app to aggregate multiple service's Swagger api-docs
Stars: ✭ 23 (+21.05%)
Mutual labels:  swagger-ui
cakephp-swagger
Swagger plugin for documenting your CakePHP APIs
Stars: ✭ 61 (+221.05%)
Mutual labels:  swagger-ui
grlc
grlc builds Web APIs using shared SPARQL queries
Stars: ✭ 118 (+521.05%)
Mutual labels:  swagger-ui
platform
Apinf - Open source API management platform with multi proxy and protocol support
Stars: ✭ 69 (+263.16%)
Mutual labels:  swagger-ui
falco-the-kubernetes-response-engine-using-openfaas-functions
Demonstrating how you can take an action to your intrusions detected by Falco using OpenFaaS functions
Stars: ✭ 23 (+21.05%)
Mutual labels:  openfaas
IGeekFan.AspNetCore.Knife4jUI
support .NET Core3.0+,.NET Standard2.0 Swagger UI knife4j ui,you can use NSwagger or Swashbuckle.AspNetCore in packages
Stars: ✭ 178 (+836.84%)
Mutual labels:  swagger-ui
django-swagger-ui
Django swagger UI is a viewer for Swagger YAML files as html.
Stars: ✭ 24 (+26.32%)
Mutual labels:  swagger-ui
koa2-swagger-ui
Swagger UI as Koa v2 middleware
Stars: ✭ 95 (+400%)
Mutual labels:  swagger-ui
Ktor-OpenAPI-Generator
Ktor OpenAPI/Swagger 3 Generator
Stars: ✭ 203 (+968.42%)
Mutual labels:  swagger-ui

Swagger for Openfaas

Go Report Card go.dev reference LICENSE

Swagger interface for openfaas functions

Whats it About

  • Document your Openfaas functions in OpenAPI 3.0 Spec and visualize it in a swagger ui.
  • Uses the annotations in the function descriptor yml to look for the swagger config.
  • Test functions from swagger ui


Function

Navigate to the function folder to deploy the swagger yaml generator.


UI

The function will generate the swagger yaml. To visualize, deploy the swaggerui-proxy component as below

ko apply -RBf config/

Once the component is created access the ui at /swaggerui/ path.


Usage

Add your api spec (json format) in the function descriptor(stack.yaml) as annotation. Use this example.

After deploying your function with this annotation, you should be able see the paths in swagger ui

  • We are following open api 3.0 spec
  • Please make sure the json is well formatted.
  • In swagger 3.0, the spec is defined in yaml. You can define in yaml and convert to json using online editor like this
  • If annotatation is not provided , by default just the path will be shown.

Authentication

Supports the basic auth plugin.

Implement the OFAuth interface for other options


GO Packages

The swagger package can be used as a standalone in your GO function.


Contributing to the Project

The team is open to contributions to our project. For more details, see our Contribution Guide.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].