{"id":429085,"date":"2024-02-16T11:13:26","date_gmt":"2024-02-16T14:13:26","guid":{"rendered":"https:\/\/mvp.climatempo.com.br\/?page_id=429085"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-30T03:00:00","slug":"swagger","status":"publish","type":"page","link":"https:\/\/wp.climatempo.dev\/agroclima\/swagger\/","title":{"rendered":"Swagger"},"content":{"rendered":"<p><!DOCTYPE html><br \/>\n<html lang=\"en\"><br \/>\n<head><br \/>\n    <meta charset=\"UTF-8\"><br \/>\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><br \/>\n    <title>Swagger UI Example<\/title><\/p>\n<p>    <!-- Inclua o CSS do Swagger UI -->\n    <link rel=\"stylesheet\" type=\"text\/css\" href=\"https:\/\/unpkg.com\/swagger-ui-dist@3.49.0\/swagger-ui.css\">\n<\/head><br \/>\n<body><\/p>\n<p>    <!-- Cont\u00eainer para o Swagger UI --><\/p>\n<div id=\"swagger-ui\"><\/div>\n<p>    <!-- Inclua o JS do Swagger UI --><br \/>\n    <script src=\"https:\/\/unpkg.com\/swagger-ui-dist@3.49.0\/swagger-ui-bundle.js\"><\/script><br \/>\n    <script src=\"https:\/\/unpkg.com\/swagger-ui-dist@3.49.0\/swagger-ui-standalone-preset.js\"><\/script><\/p>\n<p>    <script>\n        window.onload = function () {\n            \/\/ Especificar o caminho do arquivo de especifica\u00e7\u00e3o Swagger\n            const specUrl = 'https:\/\/mvp.climatempo.dev\/agroclima\/wp-json\/wp\/v2\/swagger-noticias-agricolas';<\/p>\n<p>            \/\/ Inicializar o Swagger UI\n            const ui = SwaggerUIBundle({\n                url: specUrl,\n                dom_id: '#swagger-ui',\n                presets: [SwaggerUIBundle.presets.apis],\n                layout: 'BaseLayout',\n            });\n        };\n    <\/script><br \/>\n<\/body><br \/>\n<\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Swagger UI Example<\/p>\n","protected":false},"author":156,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-429085","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/wp.climatempo.dev\/agroclima\/wp-json\/wp\/v2\/pages\/429085","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.climatempo.dev\/agroclima\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wp.climatempo.dev\/agroclima\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wp.climatempo.dev\/agroclima\/wp-json\/wp\/v2\/users\/156"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.climatempo.dev\/agroclima\/wp-json\/wp\/v2\/comments?post=429085"}],"version-history":[{"count":1,"href":"https:\/\/wp.climatempo.dev\/agroclima\/wp-json\/wp\/v2\/pages\/429085\/revisions"}],"predecessor-version":[{"id":429087,"href":"https:\/\/wp.climatempo.dev\/agroclima\/wp-json\/wp\/v2\/pages\/429085\/revisions\/429087"}],"wp:attachment":[{"href":"https:\/\/wp.climatempo.dev\/agroclima\/wp-json\/wp\/v2\/media?parent=429085"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}