JSFiddle - React, Tailwind, and code Playground

by youssef moudine

JavaScript

"/public/sendToken": {
      "post": {
        "summary": "sendToken",
        "operationId": "sendToken",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string"
                  }
                },
                "required": [
                  "email"
                ]
              }
            },
            "responses": {
              "201": {
                "description": "Ok"
              }
            }
          }
        }
      }
    },
    "/public/registryPage": {
      "post": {
        "summary": "registryPage",
        "operationId": "registryPage",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "nom": {
                    "type": "string"
                  },
                  "prenom": {
                    "type": "string"
                  },
                  "email": {
                    "type": "string"
                  },
                  "adresse": {
                    "type": "string"
                  },
                  "age": {
                    "type": "integer"
                  },
                  "status": {
                    "type": "string"
                  }
                },
                "required": [
                  "nom",
                  "prenom",
                  "adresse",
                  "age",
                  "email"
                ]
              }
            },
            "responses": {
              "201": {
                "description": "Ok"
              }
            }
          }
        }
      }
    },