petstore/

directory
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0

README

petstore

This minimalist example demonstrates the use of the go-openapi runtime as an "untyped" server, without any generated code.

Usage:

cd server
go build

./server &
2020/12/18 11:49:13 Serving petstore api on http://127.0.0.1:8344/api/

curl http://127.0.0.1:8344/api/pets/
[{"id":1,"name":"Dog","status":"available"},{"id":2,"name":"Cat","status":"pending"}]

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

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