-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.yml
45 lines (34 loc) · 919 Bytes
/
index.yml
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
# Date Conversion OpenAPI
openapi: 3.0.3
info:
title: OpenAPI specification for Date Conversion
version: '1.0.0'
externalDocs:
description: More information about the Date Conversion API
# url: http://dateconversion.com/api
servers:
- url: http://localhost:8000/api
- url: http://localhost:{port}/api
variables:
port:
enum:
- '5000'
- '3000'
default: '3000'
tags:
- name: DateConversion
description: Date Conversion Operation
paths:
/courses:
summary: Operations for date conversion from ISO 8601 format to ISO standard time format
post:
tags:
- DateConversion
summary: Convert date from ISO 8601 format to ISO format
responses:
200:
description: Success
400:
description: Incorrect input
default:
description: Success