· 6 years ago · Oct 28, 2019, 09:50 PM
1swagger: '2.0'
2info:
3 title: String API
4 description: An API that checks given string type, such as if string contains small letters, capitalized letters, digits or special signs, sent by params as key mystring
5 version: 1.0.0
6servers:
7 -description:
8 url: http://localhost:3000/stringapi
9paths:
10 /stringapi/index:
11 get:
12 parameters:
13 - in: params
14 name: mystring
15 description: String that user needs to send to check string type
16 required: true
17 schema:
18 type: string
19 responses:
20 '200':
21 description: Returns string description
22 content:
23 application/json:
24 schema:
25 $ref:
26# Added by API Auto Mocking Plugin
27host: virtserver.swaggerhub.com
28basePath: /GrzegorzKabzinski/string-api/1.0.0
29schemes:
30 - https