name = Imported OpenAPI Collection
description = Generated by `hen import` from an OpenAPI contract.
scalar Article_content = string & len(1..)
scalar Article_slug = string & pattern(/^[a-z0-9-]+$/) & len(1..64)
scalar Article_subtitle = string & len(1..200)
scalar Article_title = string & len(1..240)
scalar User_name = string & len(1..120)
schema Article {
author: User
content: Article_content
dateCreated: DATE_TIME
image: URI
slug: Article_slug
subtitle: Article_subtitle
title: Article_title
}
schema User {
avatar: URI
email: EMAIL
id: UUID
name: User_name
}
---
getArticle
GET https://lorem-api.com/api/article/foo
^ & body === Article
---
getUser
GET https://lorem-api.com/api/user/76a5b162-12c0-4a57-b56e-1a5e882133c0
^ & body === User