-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenapi.yaml
55 lines (49 loc) · 1.29 KB
/
openapi.yaml
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
46
47
48
49
50
51
52
53
54
55
openapi: 3.1.0
info:
title: GoMint Hedera Hashgraph API
description: API for interacting with the Hedera Hashgraph network, including custodial key control, token creation, and transaction handling.
version: 1.0.0
servers:
- url: 'https://api.gomint.com/v1'
description: Main production server
paths:
/tokens:
post:
summary: Create a new token
operationId: createToken
tags:
- Tokens
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/TokenRequest'
responses:
'201':
description: Token created successfully
content:
application/json:
schema:
$ref: '#/components/schemas/TokenResponse'
# Add other response codes here
# Add other endpoints like transactions, key management, etc.
components:
schemas:
TokenRequest:
type: object
# Define properties for token creation request here
TokenResponse:
type: object
# Define properties for token creation response here
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-KEY
BasicAuth:
type: http
scheme: basic
security:
- ApiKeyAuth: []
- BasicAuth: []