File size: 1,158 Bytes
fcaa164 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
openapi: 3.0.1
info:
title: QR Code API
version: 1.0.0
description: Create a QR code for any text or url.
servers:
- url: https://create-qr-code.modelxy.com
paths:
/create-qr-code:
get:
operationId: getQRCode
summary: Create a QR code
parameters:
- in: query
name: data
schema:
type: string
description: The data to encode in the QR code.
- in: query
name: size
schema:
type: string
default: '100x100'
description: The size of the QR code.
- in: query
name: alt
schema:
type: string
description: The alt text for the QR code image.
- in: query
name: title
schema:
type: string
description: The title for the QR code image.
responses:
'200':
description: A JSON object containing the QR code image tag.
content:
application/json:
schema:
type: object
properties:
img_tag:
type: string
|