example

command module
v0.0.0-...-878580d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

README

Example API for testing with the fuzzer

Example API for the cloud native fuzzer. This API has endpoints for creating and getting todo lists. Also has some simple auth endpoints.

How to use

Generate OpenAPI documentation:

make swag

Build the Docker image:

IMAGE=todo-api make image

Authentication

OpenAPI security:

https://swagger.io/docs/specification/2-0/authentication/

Goswag example:

https://github.com/swaggo/swag/blob/master/example/celler/main.go

Example OAuth2 implementation:

https://www.ory.sh/hydra/docs/5min-tutorial

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL