Data Models

This page contains all the data models used in the API.

HTTPValidationError

Schema:

{
  "detail": [ValidationError]  // 
}

Properties:

  • detail: [ValidationError]

NewEndpointRequest

Schema:

{
  "name": string (required)  // The name to include in the message.
}

Properties:

  • name (required): string
  • Description: The name to include in the message.
  • Example: developer

NewEndpointResponse

Schema:

{
  "message": string (required)  // A welcome message.
}

Properties:

  • message (required): string
  • Description: A welcome message.
  • Example: Hello, world!

ValidationError

Schema:

{
  "loc": [unknown] (required)  // 
  "msg": string (required)  // 
  "type": string (required)  // 
}

Properties:

  • loc (required): [unknown]

  • msg (required): string

  • type (required): string