JSFiddle - React, Tailwind, and code Playground

by orthosie

HTML

<h2>
Poems API
</h2>
<pre>
  ---
swagger: "2.0" 
produces: 
  - application/json
  - application/xml
  - application/js
consumes:
  - application/json  
schemes: 
  - https
  - http
host: poems.rest
info:
  termsOfService: https://theysaidso.com/terms
  description: " They Said So Poems API offers a complete feature rich REST API access to its poems platform.  This is the documentation for the world famous [poems API](https://theysaidso.com/api/poem).  If you are a subscriber and you are trying this from a console add 'X-TheySaidSo-Api-Secret' header and add your api key as the header value. This is a swagger UI generated using yaml markup of the They Said So poems API. You can test and play with the API right here on this web page. For using the private end points and subscribing to the API please visit https://theysaidso.com/api/poem."
  title: "They Said So Poems API"
  version: "2.1"
  contact:
    name: They Said So 
    url: https://theysaidso.com/api/poem
definitions: 
  PoemResponse: 
        properties: 
          success: 
            description: "Metadata about this successful call"
            type: string
          contents: 
            properties:
              poems:
                description: "List of poems"
                items:
                    $ref: "#/definitions/Poem"
                type: array
  QOD: 
    allOf: 
      - $ref: "#/definitions/Poem"
      - required: 
        - date
        properties: 
          date: 
            description: "Date this poem of the day belongs to"
            type: string
  Poem:
    allOf:
      - $ref: '#/definitions/NewPoem'
      - required:
        - id
        properties:
          id:
            description: "Unique identifier representing a specific poem in theysaidso.com."          
            type: string
          image: 
            description: "Image URL that can be used for background to display this poem."
            type: string   
          length: 
            description:...