feat: generate implementation plan and design artifacts
This commit is contained in:
27
specs/001-users-pukpuk-dev/contracts/contact.yaml
Normal file
27
specs/001-users-pukpuk-dev/contracts/contact.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
openapi: 3.0.0
|
||||
info:
|
||||
title: Contact Form API
|
||||
version: 1.0.0
|
||||
paths:
|
||||
/contact:
|
||||
post:
|
||||
summary: Submit a contact form
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
type: string
|
||||
email:
|
||||
type: string
|
||||
format: email
|
||||
message:
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
description: Form submission successful
|
||||
'400':
|
||||
description: Invalid request
|
||||
Reference in New Issue
Block a user