JSFiddle - React, Tailwind, and code Playground

by ajai jothi

HTML

---
swagger: "2.0"
info:
  description: "A suite of REST APIs to return a result for a Company Name and/or\
    \ Company address."
  version: "1.0.0"
  title: "Shell Company APIs"
  termsOfService: "http://swagger.io/terms/"
  contact:
    email: "[email protected]"
  license:
    name: "Apache 2.0"
    url: "http://www.apache.org/licenses/LICENSE-2.0.html"
basePath: "/v1"
schemes:
- "http"
paths:
  /company:
    get:
      tags:
      - "company"
      summary: "Returns score and explainability for a Company Name and/or Company\
        \ Address"
      description: "This will return a json document with the result from heuristic\
        \ business rules"
      operationId: "companyGET"
      consumes:
      - "application/json"
      produces:
      - "application/json"
      parameters:
      - name: "name"
        in: "query"
        description: "Company Name"
        required: true
        type: "string"
      - name: "address"
        in: "body"
        description: "Company Address"
        required: true
        schema:
          $ref: "#/components/schemas/address"
      - name: "threshold"
        in: "query"
        description: "Used to test scored valued"
        required: true
        type: "integer"
      responses:
        200:
          description: "successful operation"
          schema: {}
      x-swagger-router-controller: "Company"
  /lei/addressAttributes:
    get:
      tags:
      - "lei"
      summary: "Get number of companies at a sepecific address"
      description: "This will return the quantity of company names that  reside at\
        \ the same address"
      operationId: "getAttributes"
      consumes:
      - "application/json"
      produces:
      - "application/json"
      parameters:
      - name: "query"
        in: "query"
        description: "Company Address"
        required: true
        type: "string"
      - name: "filters"
        in: "query"
        description: "Filters - Country | General Catagory |...