Simple API (1.0.0)

Download OpenAPI specification:Download

License: MIT

A simple demo for zod-openapi

Get Job

Authorizations:
s2sauth
query Parameters
id
required
string <uuid> (jobId)
Example: id=4dd643ff-7ec7-4666-9c88-50b7d3da34e4

A unique identifier for a job

Responses

Response samples

Content type
application/json
{
  • "id": "4dd643ff-7ec7-4666-9c88-50b7d3da34e4",
  • "title": "Mid level developer",
  • "userId": "60001234"
}

Create Job

Authorizations:
s2sauth
Request Body schema: application/json
title
required
string (jobTitle) non-empty

A name that describes the job

Responses

Request samples

Content type
application/json
{
  • "title": "Mid level developer"
}

Response samples

Content type
application/json
{
  • "id": "4dd643ff-7ec7-4666-9c88-50b7d3da34e4"
}