Skip to content

Latest commit

 

History

History

http.json.schema

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

http.json.schema

Listens on https port 7114 and will response back whatever is hosted in nginx on that path after enforcing validation.

Requirements

  • docker compose

Setup

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

docker compose up -d

Verify behavior for valid content

curl http://localhost:7114/valid.json

output:

{
    "id": 42,
    "status": "Active"
}

Verify behavior for invalid content

curl http://localhost:7114/invalid.json

output:

curl: (18) transfer closed with 37 bytes remaining to read

Teardown

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

docker compose down