File size: 703 Bytes
0832091
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
openapi: 3.0.1
info:
    title: Stock Quote
    description: Get price and volume information for a given stock.
    version: "v1"
servers:
    - url: "${MY_API_DOMAIN_URL}"
paths:
    /stock:
        get:
            operationId: getStockData
            summary: Retrieves the price and volume information for a given stock symbol.
            parameters:
                - in: query
                  name: symbol
                  schema:
                      type: string
                  description: The symbol of the stock to get a quote for. For example, the stock symbol MSFT represents the company Microsoft.
            responses:
                "200":
                    description: OK