github.com/circl-dev/go-swagger@v0.31.0/examples/2.0/petstore/README.md (about)

     1  # petstore
     2  
     3  This minimalist example demonstrates the use of the go-openapi runtime
     4  as an "untyped" server, without any generated code.
     5  
     6  Usage:
     7  
     8  ```bash
     9  cd server
    10  go build
    11  
    12  ./server &
    13  2020/12/18 11:49:13 Serving petstore api on http://127.0.0.1:8344/api/
    14  
    15  curl http://127.0.0.1:8344/api/pets/
    16  [{"id":1,"name":"Dog","status":"available"},{"id":2,"name":"Cat","status":"pending"}]
    17  ```