Skip to content

Latest commit

History

History
25 lines (16 loc) 路 528 Bytes

File metadata and controls

25 lines (16 loc) 路 528 Bytes

openapi.proxy

This example demonstrates creating an HTTP request proxy where the available endpoints are defined in an OpenAPI schema petstore-openapi.yaml.

Setup

To start the Docker Compose stack defined in the compose.yaml file, use:

docker compose up -d

Test

curl 'http://localhost:7114/pets' --header 'Accept: application/json'

Teardown

To remove any resources created by the Docker Compose stack, use:

docker compose down