$ curl -o giftshop-openapi.yaml https://api.pb33f.io/wiretap/giftshop-openapi.yaml
$ docker run -p 9090:9090 -p 9091:9091 -p 9092:9092 --rm -v $PWD:/work:rw pb33f/wiretap -u https://api.pb33f.io -s gi
ftshop-openapi.yaml
@@@@@@@ @@@@@@@ @@@@@@ @@@@@@ @@@@@@@@
@@@@@@@@ @@@@@@@@ @@@@@@@ @@@@@@@ @@@@@@@@
@@! @@@ @@! @@@ @@@ @@@ @@!
!@! @!@ !@ @!@ @!@ @!@ !@!
@!@@!@! @!@!@!@ @!@!!@ @!@!!@ @!!!:!
!!@!!! !!!@!!!! !!@!@! !!@!@! !!!!!:
!!: !!: !!! !!: !!: !!:
:!: :!: !:! :!: :!: :!:
:: :: :::: :: :::: :: :::: ::
: :: : :: : : : : : : :
wiretap version: latest | compiled: Fri, 15 Dec 2023 09:30:40 UTC
Designed and built by Princess Beef Heavy Industries: https://pb33f.io/wiretap
INFO No wiretap configuration located. Using defaults
INFO OpenAPI Specification: 'giftshop-openapi.yaml' parsed and read
INFO API Gateway UI booting on port 9090...
INFO Monitor UI booting on port 9091...
┌─ wiretap is online! ─────────────────────────────────────┐
| |
| ┌─ API Gateway ─────────┐ ┌─ Monitor UI ──────────┐ |
| | http://localhost:9090 | | http://localhost:9091 | |
| └───────────────────────┘ └───────────────────────┘ |
| |
└──────────────────────────────────────────────────────────┘
INFO wiretap is proxying all traffic to 'https://api.pb33f.io'
Then i do
$ curl "http://localhost:9090/wiretap/giftshop/products"
[{"id":"d91a1cc2-ec4e-468a-97dc-7a0325017f1b","shortCode":"pb0001","name":"pb33f t-shirt","description":"A t-shirt with the pb33f logo on the front","price":19.99,"category":"clothes","image":"https://pb33f.io/images/t-shirt.png"},{"id":"3f6713b8-0e05-4724-9553-5f571248a47a","shortCode":"pb0002","name":"pb33f baseball cap","description":"A baseball cap with the pb33f logo on the front","price":29.99,"category":"clothes","image":"https://pb33f.io/images/cap.png"},{"id":"1d4517a3-c099-4a39-a057-b44a66ba6940","shortCode":"pb0003","name":"pb33f coffee cup","description":"A black coffee cup with the pb33f logo on the front and the word 'hack code' on the back","price":15.75,"category":"cups","image":"https://pb33f.io/images/cup.png"},{"id":"457acf29-a43a-413b-908e-017ab048ad19","shortCode":"pb0004","name":"pb33f hoodie","description":"A nice black hoodie with the pb33f logo on the back and 'hack code' on the front","price":39.99,"category":"clothes","image":"https://pb33f.io/images/hoodie.png"},{"id":"91a99caa-8a8b-4176-8f8a-03bb86d1160e","shortCode":"pb0005","name":"pb33f thermos","description":"A black thermos mug with the words 'hack code' written on the front","price":25.99,"category":"cups","image":"https://pb33f.io/images/thermos.png"},{"id":"1c9b473b-b4f0-4b00-8378-f2f99052feb1","shortCode":"pb0006","name":"pb33f shot glass","description":"A solid black shot glass with the words 'hack code' written on the front","price":5.99,"category":"cups","image":"https://pb33f.io/images/shot-glass.png"}]
when i then go to http://localhost:9091 it shows 100% Complinance, 0 Requests and 0 Results
i followed the examples and did
Then i do
when i then go to http://localhost:9091 it shows 100% Complinance, 0 Requests and 0 Results