Created
February 2, 2020 09:56
-
-
Save marcusramberg/45edd3f1292b599b468bc5290eb66f12 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ prove -l | |
t/00-basic.t ..................... ok | |
t/backend-file-basic.t ........... ok | |
t/backend-file-messages.t ........ ok | |
t/backend.t ...................... ok | |
Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Tests were run but no plan was declared and done_testing() was not seen. | |
# Looks like your test exited with 2 just after 1. | |
t/config.t ....................... | |
Dubious, test returned 2 (wstat 512, 0x200) | |
All 1 subtests passed | |
t/connection.t ................... ok | |
t/connection_name.t .............. ok | |
t/irc-basic.t .................... ok | |
t/irc-commands.t ................. ok | |
t/irc-connect.t .................. ok | |
t/irc-events.t ................... ok | |
t/irc-message.t .................. ok | |
t/irc-real-servers.t ............. skipped: TEST_NETWORKS=all is not set | |
t/irc-steal-nick.t ............... ok | |
t/log.t .......................... ok | |
[2020-02-02 10:55:56.15235] [35207] [error] [214b10cd] Test 500 page at /Users/marcus/Source/convos/lib/Convos.pm line 45. | |
t/production-resources.t ......... ok | |
t/start.t ........................ ok | |
t/user.t ......................... ok | |
t/util.t ......................... ok | |
t/version.t ...................... skipped: TEST_ALL=1 | |
[2020-02-02 10:55:57.87563] [35212] [error] [be4dd347] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '200 OK' | |
# at t/web-admin.t line 9. | |
# got: '500' | |
# expected: '200' | |
[2020-02-02 10:55:57.95858] [35212] [error] [a6b1a4c2] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '401 Unauthorized' | |
# at t/web-admin.t line 12. | |
# got: '500' | |
# expected: '401' | |
[2020-02-02 10:55:57.96297] [35212] [error] [82c828e4] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '200 OK' | |
# at t/web-admin.t line 15. | |
# got: '500' | |
# expected: '200' | |
[2020-02-02 10:55:57.96624] [35212] [error] [8db4cdec] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '200 OK' | |
# at t/web-admin.t line 19. | |
# got: '500' | |
# expected: '200' | |
# Failed test 'exact match for JSON Pointer "/contact"' | |
# at t/web-admin.t line 19. | |
# got: undef | |
# expected: 'mailto:root@localhost' | |
# Failed test 'exact match for JSON Pointer "/default_connection"' | |
# at t/web-admin.t line 19. | |
# got: undef | |
# expected: 'irc://chat.freenode.net:6697/%23convos' | |
# Failed test 'exact match for JSON Pointer "/forced_connection"' | |
# at t/web-admin.t line 19. | |
# got: undef | |
# expected: '0' | |
# Failed test 'exact match for JSON Pointer "/open_to_public"' | |
# at t/web-admin.t line 19. | |
# got: undef | |
# expected: '0' | |
# Failed test 'exact match for JSON Pointer "/organization_name"' | |
# at t/web-admin.t line 19. | |
# got: undef | |
# expected: 'Convos' | |
# Failed test 'exact match for JSON Pointer "/organization_url"' | |
# at t/web-admin.t line 19. | |
# got: undef | |
# expected: 'https://convos.by' | |
[2020-02-02 10:55:57.97198] [35212] [error] [68e090f5] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '400 Bad Request' | |
# at t/web-admin.t line 26. | |
# got: '500' | |
# expected: '400' | |
# Failed test 'exact match for JSON Pointer "/errors/0/message"' | |
# at t/web-admin.t line 26. | |
# got: 'Internal Server Error.' | |
# expected: 'Contact URL need to start with "mailto:".' | |
# Failed test 'exact match for JSON Pointer "/errors/1/message"' | |
# at t/web-admin.t line 26. | |
# got: undef | |
# expected: 'Connection URL require a scheme and host.' | |
# Failed test 'exact match for JSON Pointer "/errors/2/message"' | |
# at t/web-admin.t line 26. | |
# got: undef | |
# expected: 'Organization URL require a scheme and host.' | |
[2020-02-02 10:55:57.97599] [35212] [error] [5058132c] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '200 OK' | |
# at t/web-admin.t line 38. | |
# got: '500' | |
# expected: '200' | |
# Failed test 'exact match for JSON Pointer "/default_connection"' | |
# at t/web-admin.t line 38. | |
# got: undef | |
# expected: 'irc://chat.freenode.net:6697/%23convos' | |
# Failed test 'exact match for JSON Pointer "/open_to_public"' | |
# at t/web-admin.t line 38. | |
# got: undef | |
# expected: '1' | |
[2020-02-02 10:55:57.97949] [35212] [error] [be39049a] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '200 OK' | |
# at t/web-admin.t line 46. | |
# got: '500' | |
# expected: '200' | |
# Failed test 'exact match for JSON Pointer "/contact"' | |
# at t/web-admin.t line 46. | |
# got: undef | |
# expected: 'mailto:[email protected]' | |
# Failed test 'exact match for JSON Pointer "/default_connection"' | |
# at t/web-admin.t line 46. | |
# got: undef | |
# expected: 'irc://chat.freenode.net:6697/%23mojo' | |
# Failed test 'exact match for JSON Pointer "/forced_connection"' | |
# at t/web-admin.t line 46. | |
# got: undef | |
# expected: '1' | |
# Failed test 'exact match for JSON Pointer "/open_to_public"' | |
# at t/web-admin.t line 46. | |
# got: undef | |
# expected: '1' | |
# Failed test 'exact match for JSON Pointer "/organization_name"' | |
# at t/web-admin.t line 46. | |
# got: undef | |
# expected: 'Superheroes' | |
# Failed test 'exact match for JSON Pointer "/organization_url"' | |
# at t/web-admin.t line 46. | |
# got: undef | |
# expected: 'https://metacpan.org' | |
[2020-02-02 10:55:57.98400] [35212] [error] [50abca69] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '200 OK' | |
# at t/web-admin.t line 64. | |
# got: '500' | |
# expected: '200' | |
# Failed test 'element for selector "h1 .subtitle" exists' | |
# at t/web-admin.t line 64. | |
# Failed test 'element for selector "h1 .subtitle[href="https://metacpan.org"]" exists' | |
# at t/web-admin.t line 64. | |
# Failed test 'exact match for selector "h1 .subtitle"' | |
# at t/web-admin.t line 64. | |
# got: '' | |
# expected: 'for Superheroes' | |
[2020-02-02 10:55:58.05690] [35212] [error] [80b71432] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '200 OK' | |
# at t/web-admin.t line 72. | |
# got: '500' | |
# expected: '200' | |
[2020-02-02 10:55:58.06058] [35212] [error] [2d6d4db3] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '200 OK' | |
# at t/web-admin.t line 73. | |
# got: '500' | |
# expected: '200' | |
# Failed test 'element for selector "h1 .subtitle" exists' | |
# at t/web-admin.t line 73. | |
# Failed test 'exact match for selector "h1 .subtitle"' | |
# at t/web-admin.t line 73. | |
# got: '' | |
# expected: 'for Superheroes' | |
Can't call method "role" on an undefined value at t/web-admin.t line 78. | |
# Tests were run but no plan was declared and done_testing() was not seen. | |
# Looks like your test exited with 255 just after 52. | |
t/web-admin.t .................... | |
Dubious, test returned 255 (wstat 65280, 0xff00) | |
Failed 32/52 subtests | |
[2020-02-02 10:55:58.61891] [35213] [error] [2228efc2] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '200 OK' | |
# at t/web-base-url.t line 25. | |
# got: '500' | |
# expected: '200' | |
# Failed test 'exact match for content' | |
# at t/web-base-url.t line 25. | |
# got: '<!DOCTYPE html> | |
# <!-- Request ID: 2228efc2 --> | |
# <html> | |
# <head> | |
# <title>Server error (development mode)</title> | |
# <meta http-equiv="Pragma" content="no-cache"> | |
# <meta http-equiv="Expires" content="-1"> | |
# <script src="/mojo/jquery/jquery.js"></script> | |
# <script src="/mojo/prettify/run_prettify.js"></script> | |
# <link href="/mojo/prettify/prettify-mojo-dark.css" rel="stylesheet"> | |
# <style> | |
# a img { | |
# border: 0; | |
# } | |
# body { | |
# background: url(/mojo/pinstripe-light.png); | |
# color: #445555; | |
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif; | |
# font-weight: normal; | |
# line-height: 1.5em; | |
# margin: 0; | |
# } | |
# :not(pre) > code { | |
# background-color: #eef9ff; | |
# border: solid #cce4ff 1px; | |
# border-radius: 5px; | |
# color: #333; | |
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace; | |
# padding: 0.4em; | |
# } | |
# h1 { | |
# color: #2a2a2a; | |
# font-size: 1.5em; | |
# margin: 0; | |
# } | |
# pre { | |
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace; | |
# margin: 0; | |
# white-space: pre-wrap; | |
# } | |
# pre > code { | |
# display: block; | |
# font: 1.0em Consolas, Menlo, Monaco, Courier, monospace; | |
# margin-bottom: 0.7em; | |
# margin-top: 0.7em; | |
# } | |
# table { | |
# border-collapse: collapse; | |
# width: 100%; | |
# } | |
# td { padding: 0.5em } | |
# .box { | |
# background-color: #fff; | |
# border: 1px solid #c1c1c1; | |
# overflow: hidden; | |
# padding: 1em; | |
# } | |
# .code { | |
# background-color: #1a1a1a; | |
# background: url(/mojo/pinstripe-dark.png); | |
# color: #eee; | |
# text-shadow: #333 0 1px 0; | |
# } | |
# .important { | |
# background-color: rgba(47, 48, 50, .75); | |
# } | |
# .infobox { | |
# color: #333; | |
# } | |
# .infobox tr:nth-child(odd) .value { | |
# background-color: #ddeeff; | |
# } | |
# .infobox tr:nth-child(even) .value { | |
# background-color: #eef9ff; | |
# } | |
# .key { | |
# text-align: right; | |
# } | |
# .more table { | |
# margin-bottom: 1em; | |
# } | |
# .spaced { | |
# margin-left: 5em; | |
# margin-right: 5em; | |
# } | |
# .striped { | |
# border-top: solid #cce4ff 1px; | |
# } | |
# .tap { | |
# font: 0.5em Verdana, sans-serif; | |
# text-align: center; | |
# } | |
# .value { | |
# padding-left: 1em; | |
# } | |
# .wide { | |
# width: 100%; | |
# } | |
# #error { | |
# font: 1.5em 'Helvetica Neue', Helvetica, sans-serif; | |
# font-weight: 300; | |
# margin: 0; | |
# text-shadow: #333 0 1px 0; | |
# } | |
# #footer { | |
# padding-top: 0.5em; | |
# text-align: center; | |
# } | |
# #nothing { | |
# border-bottom: 0; | |
# padding-top: 20px; | |
# } | |
# #showcase { | |
# border-bottom: 0; | |
# border-top: 0; | |
# } | |
# #showcase table { | |
# margin-top: 1em; | |
# } | |
# #showcase td { | |
# padding-top: 0; | |
# padding-bottom: 0; | |
# } | |
# #showcase .key { | |
# padding-right: 0; | |
# } | |
# #log { | |
# border-radius: 5px; | |
# margin-top: 1em; | |
# } | |
# #log table { | |
# margin: 0; | |
# } | |
# #mojobar { | |
# background-color: #1a1a1a; | |
# background: -webkit-linear-gradient(top, #2a2a2a 0%, #000 100%); | |
# background: -moz-linear-gradient(top, #2a2a2a 0%, #000 100%); | |
# background: linear-gradient(top, #2a2a2a 0%, #000 100%); | |
# box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5); | |
# height: 46px; | |
# overflow: hidden; | |
# width: 100%; | |
# z-index: 1000; | |
# } | |
# #mojobar-brand { | |
# display: inline-block; | |
# padding-left: 50px; | |
# padding-top: 4px; | |
# } | |
# #mojobar-links { | |
# display: inline; | |
# float: right; | |
# height: 60px; | |
# margin-top: 0.8em; | |
# padding-right: 50px; | |
# } | |
# #mojobar-links a { | |
# color: #bbb; | |
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif; | |
# margin-left: 0.5em; | |
# text-decoration: none; | |
# transition: all 200ms ease-in-out; | |
# } | |
# #mojobar-links a:hover { | |
# color: #fff; | |
# } | |
# #mojobar-links input { | |
# background-color: #3a3a3a; | |
# border: 1px solid rgba(0, 0, 0, 0.1); | |
# border-radius: 3px; | |
# color: #eee; | |
# display: inline; | |
# margin-left: 1em; | |
# padding: 4px; | |
# transition: all 0.15s; | |
# } | |
# #mojobar-links input:focus { | |
# background-color: #fff; | |
# color: #111; | |
# outline: 0; | |
# } | |
# #mojobar-links form { | |
# display: inline; | |
# } | |
# #more, #trace { | |
# border-bottom-left-radius: 5px; | |
# border-bottom-right-radius: 5px; | |
# } | |
# #more .tap, #trace .tap { | |
# text-shadow: #ddd 0 1px 0; | |
# } | |
# #request { | |
# border-bottom: 0; | |
# border-top-left-radius: 5px; | |
# border-top-right-radius: 5px; | |
# margin-top: 1em; | |
# } | |
# #routes { | |
# border-bottom-left-radius: 5px; | |
# border-bottom-right-radius: 5px; | |
# padding-top: 30px; | |
# } | |
# #trace { | |
# border-top: 0; | |
# } | |
# #wrapperlicious { | |
# max-width: 1000px; | |
# margin: 0 auto; | |
# } | |
# </style> | |
# </head> | |
# <body> | |
# <div id="mojobar"> | |
# <a href="https://mojolicious.org" id="mojobar-brand"> | |
# <picture> | |
# <img src="/mojo/logo-white.png" | |
# srcset="/mojo/logo-white-2x.png 2x"> | |
# </picture> | |
# </a> <div id="mojobar-links"> | |
# <a href="https://mojolicious.org/perldoc">Documentation</a> | |
# <a href="https://kiwiirc.com/nextclient/#irc://irc.freenode.net/mojo?nick=guest-?">Chat</a> | |
# <a href="https://github.com/mojolicious/mojo/wiki">Wiki</a> | |
# <a href="https://github.com/mojolicious/mojo">GitHub</a> | |
# <a href="https://metacpan.org/release/Mojolicious/">CPAN</a> | |
# <a href="https://groups.google.com/group/mojolicious">MailingList</a> | |
# <a href="https://twitter.com/perlmojo">Twitter</a> | |
# <form action="https://www.google.com/cse" target="_blank"> | |
# <input name="cx" type="hidden" value="014527573091551588235:pwfplkjpgbi"> | |
# <input name="ie" type="hidden" value="UTF-8"> | |
# <input name="q" placeholder="Search" type="search"> | |
# </form> | |
# </div> | |
# </div> | |
# <script> | |
# function mojoDrawer(handle, drawer) { | |
# $(handle).on('click', function () { | |
# $(drawer).slideToggle('slow'); | |
# var text = $(handle + ' div.tap').text(); | |
# text = text == "tap for more" ? "tap for less" : "tap for more"; | |
# $(handle + ' div.tap').text(text); | |
# }); | |
# $(drawer).toggle(); | |
# } | |
# $(function () { | |
# mojoDrawer('#trace', '#frames'); | |
# mojoDrawer('#more', '#infos'); | |
# }); | |
# </script> | |
# <div id="wrapperlicious"> | |
# <div id="nothing" class="box spaced"></div> | |
# <div id="showcase" class="box code spaced"> | |
# <pre id="error">Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# </pre> | |
# <div id="context" class="more"> | |
# <table> | |
# <tr> | |
# <td class="key">28</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint">sub _asset_version {</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">29</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> my $app = shift->app;</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">30</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> return $app->config->{asset_version} if $app->config->{asset_version};</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">31</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"></code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">32</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> my $mode = $app->mode eq 'development' ? 'development' : 'production';</code></pre> | |
# </td> | |
# </tr> | |
# <tr class="important"> | |
# <td class="key">33</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> my @paths = (</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">34</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> $app->static->file("asset/webpack.$mode.html")->path,</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">35</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> $app->renderer->template_path({template => 'sw', format => 'js', handler => 'ep'}),</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">36</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> );</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">37</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"></code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">38</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> my $version = 0;</code></pre> | |
# </td> | |
# </tr> | |
# </table> | |
# </div> | |
# </div> | |
# <div id="trace" class="box spaced"> | |
# <div id="frames" class="infobox more"> | |
# <table> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 33, in "Convos::Plugin::Helpers"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Controller.pm", line 29, in "Mojolicious::Controller"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 124, in "Convos::Plugin::Helpers"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 93, in "Convos::Plugin::Helpers"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Controller.pm", line 29, in "Mojolicious::Controller"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/lib/Convos.pm", line 112, in "Convos"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugins.pm", line 23, in "Mojolicious::Plugins"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 112, in "Mojolicious"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 141, in "Mojolicious"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugins.pm", line 15, in "Mojolicious::Plugins"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 213, in "Mojolicious"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 213, in "Mojolicious"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugins.pm", line 15, in "Mojolicious::Plugins"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugins.pm", line 18, in "Mojolicious::Plugins"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 146, in "Mojolicious"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Server.pm", line 68, in "Mojo::Server"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/EventEmitter.pm", line 15, in "Mojo::EventEmitter"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Server/Daemon.pm", line 104, in "Mojo::Server::Daemon"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/EventEmitter.pm", line 15, in "Mojo::EventEmitter"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Transaction/HTTP.pm", line 60, in "Mojo::Transaction::HTTP"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Server/Daemon.pm", line 219, in "Mojo::Server::Daemon"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Server/Daemon.pm", line 200, in "Mojo::Server::Daemon"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/EventEmitter.pm", line 15, in "Mojo::EventEmitter"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop/Stream.pm", line 110, in "Mojo::IOLoop::Stream"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop/Stream.pm", line 58, in "Mojo::IOLoop::Stream"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 145, in "Mojo::Reactor::Poll"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 145, in "Mojo::Reactor::Poll"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 52, in "Mojo::Reactor::EV"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 30, in "Mojo::Reactor::EV"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 30, in "Mojo::Reactor::EV"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop.pm", line 134, in "Mojo::IOLoop"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/UserAgent.pm", line 65, in "Mojo::UserAgent"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 396, in "Test::Mojo"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 343, in "Test::Mojo"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 121, in "Test::Mojo"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "t/web-base-url.t", line 25, in "main"</pre> | |
# </td> | |
# </tr> | |
# </table> | |
# </div> | |
# <div class="tap">tap for more</div> | |
# </div> | |
# <div id="request" class="box infobox spaced"> | |
# <table> | |
# <tr> | |
# <td class="key">Request ID:</td> | |
# <td class="striped value wide"><pre>2228efc2</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Method:</td> | |
# <td class="striped value wide"><pre>GET</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">URL:</td> | |
# <td class="striped value wide"><pre>/t/request-base?x=1</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Base URL:</td> | |
# <td class="striped value wide"><pre>http://127.0.0.1:50014</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Parameters:</td> | |
# <td class="striped value wide"><pre>{ | |
# "x" => 1 | |
# } | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Stash:</td> | |
# <td class="striped value wide"><pre>{ | |
# "debug" => [ | |
# "info" | |
# ], | |
# "openapi.base_paths" => [ | |
# [ | |
# "/api", | |
# bless( { | |
# "default_response_codes" => [ | |
# 400, | |
# 401, | |
# 404, | |
# 500, | |
# 501 | |
# ], | |
# "default_response_name" => "DefaultResponse", | |
# "log_level" => "warn", | |
# "parameters_for" => { | |
# "/connection/{connection_id}" => { | |
# "delete" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# } | |
# ], | |
# "post" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# }, | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ), | |
# "schema" => { | |
# "properties" => { | |
# "on_connect_commands" => { | |
# "description" => "Commands to be run after the connection is established", | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array" | |
# }, | |
# "url" => { | |
# "description" => "Example: irc://user:pass\@irc.perl.org?nick=superman", | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "wanted_state" => { | |
# "description" => "Connection state", | |
# "enum" => [ | |
# "connected", | |
# "disconnected" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# } | |
# ] | |
# }, | |
# "/connection/{connection_id}/dialog/{dialog_id}/messages" => { | |
# "get" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# }, | |
# { | |
# "\$ref" => "#/parameters/dialog_id" | |
# }, | |
# { | |
# "description" => "Find messages after a given ISO 8601 timestamp", | |
# "format" => "date-time", | |
# "in" => "query", | |
# "name" => "after", | |
# "type" => "string" | |
# }, | |
# { | |
# "description" => "Find messages before a given ISO 8601 timestamp", | |
# "format" => "date-time", | |
# "in" => "query", | |
# "name" => "before", | |
# "type" => "string" | |
# }, | |
# { | |
# "description" => "Max number of messages to retrieve", | |
# "in" => "query", | |
# "name" => "limit", | |
# "type" => "integer" | |
# }, | |
# { | |
# "description" => "Messages must match this string", | |
# "in" => "query", | |
# "name" => "match", | |
# "type" => "string" | |
# } | |
# ] | |
# }, | |
# "/connection/{connection_id}/dialog/{dialog_id}/read" => { | |
# "post" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# }, | |
# { | |
# "\$ref" => "#/parameters/dialog_id" | |
# } | |
# ] | |
# }, | |
# "/connection/{connection_id}/messages" => { | |
# "get" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# }, | |
# { | |
# "description" => "Find messages after a given ISO 8601 timestamp", | |
# "format" => "date-time", | |
# "in" => "query", | |
# "name" => "after", | |
# "type" => "string" | |
# }, | |
# { | |
# "description" => "Find messages before a given ISO 8601 timestamp", | |
# "format" => "date-time", | |
# "in" => "query", | |
# "name" => "before", | |
# "type" => "string" | |
# }, | |
# { | |
# "description" => "Max number of messages to retrieve", | |
# "in" => "query", | |
# "name" => "limit", | |
# "type" => "integer" | |
# }, | |
# { | |
# "description" => "Messages must match this string", | |
# "in" => "query", | |
# "name" => "match", | |
# "type" => "string" | |
# } | |
# ] | |
# }, | |
# "/connection/{connection_id}/read" => { | |
# "post" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# } | |
# ] | |
# }, | |
# "/connections" => { | |
# "get" => [], | |
# "post" => [ | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "schema" => { | |
# "properties" => { | |
# "on_connect_commands" => { | |
# "description" => "Commands to be run after the connection is established", | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array" | |
# }, | |
# "url" => { | |
# "description" => "Example: irc://user:pass\@irc.perl.org?nick=superman", | |
# "type" => "string" | |
# }, | |
# "wanted_state" => { | |
# "description" => "Connection state", | |
# "enum" => [ | |
# "connected", | |
# "disconnected" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "url" | |
# ], | |
# "type" => "object" | |
# } | |
# } | |
# ] | |
# }, | |
# "/dialogs" => { | |
# "get" => [] | |
# }, | |
# "/embed" => { | |
# "get" => [ | |
# { | |
# "description" => "URL to resource", | |
# "in" => "query", | |
# "name" => "url", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string" | |
# } | |
# ] | |
# }, | |
# "/file" => { | |
# "post" => [ | |
# { | |
# "in" => "formData", | |
# "name" => "file", | |
# "required" => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ), | |
# "type" => "file" | |
# }, | |
# { | |
# "in" => "formData", | |
# "name" => "id", | |
# "type" => "string" | |
# }, | |
# { | |
# "in" => "formData", | |
# "name" => "write_only", | |
# "type" => "boolean" | |
# } | |
# ] | |
# }, | |
# "/file/:uid/:fid" => { | |
# "get" => [ | |
# { | |
# "in" => "path", | |
# "name" => "fid", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string" | |
# }, | |
# { | |
# "in" => "path", | |
# "name" => "uid", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string" | |
# } | |
# ] | |
# }, | |
# "/notifications" => { | |
# "get" => [] | |
# }, | |
# "/notifications/read" => { | |
# "post" => [] | |
# }, | |
# "/settings" => { | |
# "get" => [], | |
# "post" => [ | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "schema" => { | |
# "\$ref" => "#/definitions/ServerSettings" | |
# } | |
# } | |
# ] | |
# }, | |
# "/user" => { | |
# "delete" => [], | |
# "get" => [ | |
# { | |
# "description" => "Retrieve connection list.", | |
# "in" => "query", | |
# "name" => "connections", | |
# "type" => "boolean" | |
# }, | |
# { | |
# "description" => "Retrieve dialog list.", | |
# "in" => "query", | |
# "name" => "dialogs", | |
# "type" => "boolean" | |
# }, | |
# { | |
# "description" => "Retrieve notifications list.", | |
# "in" => "query", | |
# "name" => "notifications", | |
# "type" => "boolean" | |
# } | |
# ], | |
# "post" => [ | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "schema" => { | |
# "properties" => { | |
# "highlight_keywords" => { | |
# "description" => "Extra keywords to highlight on", | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array" | |
# }, | |
# "password" => { | |
# "\$ref" => "#/definitions/password" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# } | |
# ] | |
# }, | |
# "/user/login" => { | |
# "post" => [ | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "schema" => { | |
# "properties" => { | |
# "email" => { | |
# "description" => "User email", | |
# "format" => "email", | |
# "type" => "string" | |
# }, | |
# "password" => { | |
# "description" => "User password", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "email", | |
# "password" | |
# ], | |
# "type" => "object" | |
# } | |
# } | |
# ] | |
# }, | |
# "/user/logout" => { | |
# "get" => [] | |
# }, | |
# "/user/register" => { | |
# "post" => [ | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "schema" => { | |
# "properties" => { | |
# "email" => { | |
# "description" => "User email", | |
# "format" => "email", | |
# "type" => "string" | |
# }, | |
# "exp" => { | |
# "description" => "Expire time for a token", | |
# "type" => "string" | |
# }, | |
# "password" => { | |
# "\$ref" => "#/definitions/password" | |
# }, | |
# "token" => { | |
# "description" => "Checksum generated by inviteUser", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "email", | |
# "password" | |
# ], | |
# "type" => "object" | |
# } | |
# } | |
# ] | |
# }, | |
# "/user/{email}/invite" => { | |
# "post" => [ | |
# { | |
# "\$ref" => "#/parameters/email_in_path" | |
# }, | |
# { | |
# "description" => "Role to give the user.", | |
# "in" => "query", | |
# "name" => "role", | |
# "type" => "string" | |
# } | |
# ] | |
# } | |
# }, | |
# "route" => bless( { | |
# "children" => [ | |
# bless( { | |
# "children" => [], | |
# "name" => "", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" } | |
# }, | |
# "types" => { | |
# "num" => qr/[0-9]+/ | |
# } | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "uploadFile", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "upload", | |
# "controller" => "files", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/file" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/file" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/file", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "deleteUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "delete", | |
# "controller" => "user", | |
# "openapi.method" => "delete", | |
# "openapi.path" => "/user" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "DELETE" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "getUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "get", | |
# "controller" => "user", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/user" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "updateUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "update", | |
# "controller" => "user", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/user" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "embed", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "info", | |
# "controller" => "url", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/embed" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/embed" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/embed", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "listDialogs", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "list", | |
# "controller" => "dialog", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/dialogs" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/dialogs" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/dialogs", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "getSettings", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "settings_get", | |
# "controller" => "admin", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/settings" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/settings" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/settings", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "updateSettings", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "settings_update", | |
# "controller" => "admin", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/settings" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/settings" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/settings", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "loginUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "login", | |
# "controller" => "user", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/user/login" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/login" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/login", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "logoutUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "logout", | |
# "controller" => "user", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/user/logout" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/logout" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/logout", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "listConnections", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "list", | |
# "controller" => "connection", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/connections" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connections" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connections", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "createConnection", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "create", | |
# "controller" => "connection", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/connections" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connections" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connections", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "notificationMessages", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "messages", | |
# "controller" => "notifications", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/notifications" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/notifications" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/notifications", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "registerUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "register", | |
# "controller" => "user", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/user/register" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/register" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/register", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "getFile", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "get", | |
# "controller" => "files", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/file/:uid/:fid" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/file" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "uid" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "fid" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/file/:uid/:fid", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "readNotifications", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "read", | |
# "controller" => "notifications", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/notifications/read" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/notifications/read" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/notifications/read", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "inviteUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "generate_invite_link", | |
# "controller" => "user", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/user/{email}/invite" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "email", | |
# "relaxed" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "invite" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/<#email>/invite", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "removeConnection", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "remove", | |
# "controller" => "connection", | |
# "openapi.method" => "delete", | |
# "openapi.path" => "/connection/{connection_id}" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "DELETE" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "updateConnection", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "update", | |
# "controller" => "connection", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/connection/{connection_id}" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "setConnectionLastRead", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "last_read", | |
# "controller" => "dialog", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/connection/{connection_id}/read" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "read" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/read", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "connectionMessages", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "messages", | |
# "controller" => "dialog", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/connection/{connection_id}/messages" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "messages" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/messages", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "setDialogLastRead", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "last_read", | |
# "controller" => "dialog", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/connection/{connection_id}/dialog/{dialog_id}/read" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "dialog" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "dialog_id", | |
# "relaxed" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "read" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/dialog/<#dialog_id>/read", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "dialogMessages", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "messages", | |
# "controller" => "dialog", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/connection/{connection_id}/dialog/{dialog_id}/messages" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "dialog" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "dialog_id", | |
# "relaxed" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "messages" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/dialog/<#dialog_id>/messages", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "uploadFile_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/file" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/file", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "deleteUser_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "embed_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/embed" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/embed", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "listDialogs_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/dialogs" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/dialogs", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "getSettings_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/settings" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/settings", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "loginUser_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/login" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/login", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "logoutUser_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/logout" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/logout", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "listConnections_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connections" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connections", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "notificationMessages_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/notifications" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/notifications", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "registerUser_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/register" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/register", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "getFile_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/file" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "uid" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "fid" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/file/:uid/:fid", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "readNotifications_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/notifications/read" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/notifications/read", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "inviteUser_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "email", | |
# "relaxed" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "invite" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/<#email>/invite", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "removeConnection_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "setConnectionLastRead_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "read" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/read", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "connectionMessages_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "messages" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/messages", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "setDialogLastRead_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "dialog" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "dialog_id", | |
# "relaxed" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "read" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/dialog/<#dialog_id>/read", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "dialogMessages_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "dialog" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "dialog_id", | |
# "relaxed" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "messages" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/dialog/<#dialog_id>/messages", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ) | |
# ], | |
# "has_websocket" => 0, | |
# "name" => "api", | |
# "parent" => bless( { | |
# "children" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "index", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "load_user" => 1, | |
# "template" => "index" | |
# }, | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"} | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "docsdoc_name", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "docs", | |
# "controller" => "user", | |
# "doc_name" => "" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/docs" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "doc_name", | |
# "wildcard" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/docs/*doc_name", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "register", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "register_html", | |
# "controller" => "user" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/register" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/register", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "login", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "template" => "index" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/login" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/login", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "logout", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "template" => "index" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/logout" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/logout", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "assetbrowserconfighash", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => { | |
# "format" => [ | |
# "xml" | |
# ] | |
# }, | |
# "defaults" => { | |
# "template" => "asset/browserconfig" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/asset/browserconfig." | |
# ], | |
# [ | |
# "placeholder", | |
# "hash" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/asset/browserconfig.<:hash>", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "assetsitehash", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => { | |
# "format" => [ | |
# "webmanifest" | |
# ] | |
# }, | |
# "defaults" => { | |
# "template" => "asset/site" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/asset/site." | |
# ], | |
# [ | |
# "placeholder", | |
# "hash" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/asset/site.<:hash>", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "err500", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" } | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/err/500" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/err/500", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "errcode", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "err", | |
# "controller" => "url" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/err" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "code" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/err/:code", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "sw", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => { | |
# "format" => "js" | |
# }, | |
# "defaults" => {}, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/sw" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/sw", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "events", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "start", | |
# "controller" => "events" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/events" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/events", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ], | |
# "websocket" => 1 | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [ | |
# bless( { | |
# "children" => [], | |
# "name" => "help", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[12], | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "template" => "index" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/help" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/help", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "chatrest", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[12], | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "rest" => "", | |
# "template" => "index" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/chat" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "rest", | |
# "wildcard" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/chat/*rest", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "settingsrest", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[12], | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "rest" => "", | |
# "template" => "index" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/settings" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "rest", | |
# "wildcard" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/settings/*rest", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ) | |
# ], | |
# "inline" => 1, | |
# "name" => "", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "redirect_if_not_logged_in", | |
# "controller" => "user" | |
# }, | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"} | |
# }, 'Mojolicious::Routes::Pattern' ) | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "fileuidfid", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "get", | |
# "controller" => "files" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/file" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "uid" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "fid" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/file/:uid/:fid", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "pasteemail_hashfile_hash", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" } | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/paste" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "email_hash" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "file_hash" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/paste/:email_hash/:file_hash", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "webpack.asset", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => {}, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/asset" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "name", | |
# "wildcard" | |
# ] | |
# ], | |
# "type_start" => ":", | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/asset/*name", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "HEAD", | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "tbaseurl", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" } | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/t/base-url" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/t/base-url", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "trequestbase", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" } | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/t/request-base" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/t/request-base", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ) | |
# ], | |
# "conditions" => { | |
# "agent" => sub { "DUMMY" }, | |
# "headers" => sub { "DUMMY" }, | |
# "host" => sub { "DUMMY" } | |
# }, | |
# "hidden" => [ | |
# "attr", | |
# "has", | |
# "new", | |
# "tap", | |
# "app", | |
# "cookie", | |
# "every_cookie", | |
# "every_param", | |
# "every_signed_cookie", | |
# "finish", | |
# "helpers", | |
# "match", | |
# "on", | |
# "param", | |
# "render", | |
# "render_later", | |
# "render_maybe", | |
# "render_to_string", | |
# "rendered", | |
# "req", | |
# "res", | |
# "send", | |
# "session", | |
# "signed_cookie", | |
# "stash", | |
# "tx", | |
# "url_for", | |
# "write", | |
# "write_chunk" | |
# ], | |
# "namespaces" => [ | |
# "Convos::Controller" | |
# ], | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "tree" => [], | |
# "type_start" => ":" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "reverse" => { | |
# "" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[12], | |
# "api" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "assetbrowserconfighash" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[6], | |
# "assetsitehash" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[7], | |
# "chatrest" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[12]{"children"}[1], | |
# "connectionMessages" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[21], | |
# "connectionMessages_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[39], | |
# "createConnection" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[12], | |
# "deleteUser" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[2], | |
# "deleteUser_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[25], | |
# "dialogMessages" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[23], | |
# "dialogMessages_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[41], | |
# "docsdoc_name" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[2], | |
# "embed" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[5], | |
# "embed_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[26], | |
# "err500" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[8], | |
# "errcode" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[9], | |
# "events" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[11], | |
# "fileuidfid" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[13], | |
# "getFile" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[15], | |
# "getFile_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[34], | |
# "getSettings" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[7], | |
# "getSettings_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[28], | |
# "getUser" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[3], | |
# "help" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[12]{"children"}[0], | |
# "index" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[1], | |
# "inviteUser" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[17], | |
# "inviteUser_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[36], | |
# "listConnections" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[11], | |
# "listConnections_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[31], | |
# "listDialogs" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[6], | |
# "listDialogs_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[27], | |
# "login" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[4], | |
# "loginUser" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[9], | |
# "loginUser_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[29], | |
# "logout" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[5], | |
# "logoutUser" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[10], | |
# "logoutUser_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[30], | |
# "notificationMessages" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[13], | |
# "notificationMessages_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[32], | |
# "pasteemail_hashfile_hash" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[14], | |
# "readNotifications" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[16], | |
# "readNotifications_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[35], | |
# "register" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[3], | |
# "registerUser" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[14], | |
# "registerUser_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[33], | |
# "removeConnection" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[18], | |
# "removeConnection_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[37], | |
# "setConnectionLastRead" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[20], | |
# "setConnectionLastRead_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[38], | |
# "setDialogLastRead" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[22], | |
# "setDialogLastRead_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[40], | |
# "settingsrest" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[12]{"children"}[2], | |
# "sw" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[10], | |
# "tbaseurl" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[16], | |
# "trequestbase" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[17], | |
# "updateConnection" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[19], | |
# "updateSettings" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[8], | |
# "updateUser" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[4], | |
# "uploadFile" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[1], | |
# "uploadFile_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[24], | |
# "webpack.asset" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[15] | |
# }, | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"} | |
# }, 'Mojolicious::Routes' ), | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "handler" => "openapi", | |
# "openapi.object" => $VAR1->{"openapi.base_paths"}[0][1] | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/api" | |
# ] | |
# ], | |
# "type_start" => ":", | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/api", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ) | |
# }, 'Mojolicious::Routes::Route' ), | |
# "route_prefix" => "", | |
# "validator" => bless( { | |
# "coerce" => { | |
# "booleans" => 1, | |
# "numbers" => 1, | |
# "strings" => 1 | |
# }, | |
# "root_schema_url" => bless( do{\(my $o = "/Users/marcus/Source/convos/public/convos-api.json")}, 'Mojo::File' ), | |
# "schema" => bless( { | |
# "data" => { | |
# "basePath" => "/api", | |
# "definitions" => { | |
# "Connection" => { | |
# "properties" => { | |
# "connection_id" => { | |
# "description" => "Unique identifier for this connection", | |
# "type" => "string" | |
# }, | |
# "name" => { | |
# "description" => "Name for this connection", | |
# "type" => "string" | |
# }, | |
# "on_connect_commands" => { | |
# "description" => "Commands to be run after the connection is established", | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array" | |
# }, | |
# "state" => { | |
# "description" => "Actual connection state", | |
# "enum" => [ | |
# "connected", | |
# "queued", | |
# "disconnected" | |
# ], | |
# "type" => "string" | |
# }, | |
# "url" => { | |
# "description" => "Example: irc://user:\@irc.perl.org?nick=superman (Note: Without password)", | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "wanted_state" => { | |
# "description" => "Wanted connection state", | |
# "enum" => [ | |
# "connected", | |
# "disconnected" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "connection_id", | |
# "url" | |
# ] | |
# }, | |
# "DefaultResponse" => { | |
# "properties" => { | |
# "errors" => { | |
# "items" => { | |
# "properties" => { | |
# "message" => { | |
# "type" => "string" | |
# }, | |
# "path" => { | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "message" | |
# ], | |
# "type" => "object" | |
# }, | |
# "type" => "array" | |
# } | |
# }, | |
# "required" => [ | |
# "errors" | |
# ], | |
# "type" => "object" | |
# }, | |
# "Dialog" => { | |
# "properties" => { | |
# "connection_id" => { | |
# "description" => "Unique identifier for the connection this dialog is part of", | |
# "type" => "string" | |
# }, | |
# "dialog_id" => { | |
# "description" => "Unique identifier for the dialog", | |
# "type" => "string" | |
# }, | |
# "last_active" => { | |
# "format" => "date-time", | |
# "type" => "string" | |
# }, | |
# "last_read" => { | |
# "format" => "date-time", | |
# "type" => "string" | |
# }, | |
# "name" => { | |
# "description" => "Name of the room or person", | |
# "type" => "string" | |
# }, | |
# "topic" => { | |
# "description" => "The subjec/topic for this room", | |
# "type" => "string" | |
# }, | |
# "unread" => { | |
# "description" => "Number of unread messages", | |
# "type" => "integer" | |
# } | |
# }, | |
# "required" => [ | |
# "connection_id", | |
# "dialog_id", | |
# "last_read", | |
# "name", | |
# "unread" | |
# ] | |
# }, | |
# "Error" => { | |
# "properties" => { | |
# "errors" => { | |
# "items" => { | |
# "properties" => { | |
# "message" => { | |
# "description" => "Human readable description of the error", | |
# "type" => "string" | |
# }, | |
# "path" => { | |
# "description" => "JSON pointer to the input data where the error occur", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "message" | |
# ] | |
# }, | |
# "type" => "array" | |
# } | |
# } | |
# }, | |
# "Message" => { | |
# "properties" => { | |
# "from" => { | |
# "description" => "Identifier for who sent this message", | |
# "type" => "string" | |
# }, | |
# "message" => { | |
# "description" => "The message", | |
# "type" => "string" | |
# }, | |
# "ts" => { | |
# "description" => "Example: 2015-09-06T13:49:37Z", | |
# "format" => "date-time", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "message", | |
# "from", | |
# "ts" | |
# ] | |
# }, | |
# "Notification" => { | |
# "properties" => { | |
# "connection_id" => { | |
# "description" => "Unique identifier for the connection this notification came from", | |
# "type" => "string" | |
# }, | |
# "dialog_id" => { | |
# "description" => "Dialog ID", | |
# "type" => "string" | |
# }, | |
# "from" => { | |
# "description" => "Identifier for who sent this message", | |
# "type" => "string" | |
# }, | |
# "message" => { | |
# "description" => "The message", | |
# "type" => "string" | |
# }, | |
# "ts" => { | |
# "description" => "Example: 2015-09-06T13:49:37Z", | |
# "format" => "date-time", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "message", | |
# "from", | |
# "ts" | |
# ] | |
# }, | |
# "ServerSettings" => { | |
# "properties" => { | |
# "contact" => { | |
# "minLength" => 3, | |
# "type" => "string" | |
# }, | |
# "default_connection" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "open_to_public" => { | |
# "type" => "boolean" | |
# }, | |
# "organization_name" => { | |
# "type" => "string" | |
# }, | |
# "organization_url" => { | |
# "type" => "string" | |
# } | |
# } | |
# }, | |
# "Success" => { | |
# "properties" => { | |
# "message" => { | |
# "description" => "Human readable description", | |
# "type" => "string" | |
# } | |
# } | |
# }, | |
# "User" => { | |
# "properties" => { | |
# "connections" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/Connection" | |
# }, | |
# "type" => "array" | |
# }, | |
# "dialogs" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/Dialog" | |
# }, | |
# "type" => "array" | |
# }, | |
# "email" => { | |
# "description" => "Unique email identifying a user in Convos", | |
# "type" => "string" | |
# }, | |
# "highlight_keywords" => { | |
# "description" => "Extra keywords to highlight on", | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array" | |
# }, | |
# "registered" => { | |
# "description" => "Example: 2015-09-06T10:47:31Z", | |
# "format" => "date-time", | |
# "type" => "string" | |
# }, | |
# "unread" => { | |
# "description" => "Number of unread notifications", | |
# "type" => "integer" | |
# } | |
# }, | |
# "required" => [ | |
# "email", | |
# "unread" | |
# ] | |
# }, | |
# "password" => { | |
# "description" => "User password", | |
# "minLength" => 10, | |
# "type" => "string" | |
# } | |
# }, | |
# "host" => "demo.convos.by", | |
# "info" => { | |
# "contact" => { | |
# "name" => "Convos", | |
# "url" => "https://github.com/Nordaaker/convos" | |
# }, | |
# "description" => "This document describes the API for Convos, a multiuser persistent IRC proxy with web interface.", | |
# "license" => { | |
# "name" => "Artistic License version 2.0", | |
# "url" => "http://opensource.org/licenses/Artistic-2.0" | |
# }, | |
# "termsOfService" => "SSL (HTTPS) is highly suggested, since login credentials and session cookies are transmitted over this API.", | |
# "title" => "Convos API specification", | |
# "version" => "3.8.0" | |
# }, | |
# "parameters" => { | |
# "connection_id" => { | |
# "description" => "A unique connection identifier", | |
# "in" => "path", | |
# "name" => "connection_id", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string" | |
# }, | |
# "dialog_id" => { | |
# "default" => "", | |
# "description" => "The name of the person or room", | |
# "in" => "path", | |
# "name" => "dialog_id", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string", | |
# "x-mojo-placeholder" => "#" | |
# }, | |
# "email_in_path" => { | |
# "description" => "User email", | |
# "format" => "email", | |
# "in" => "path", | |
# "name" => "email", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string", | |
# "x-mojo-placeholder" => "#" | |
# }, | |
# "ident" => { | |
# "description" => "User email or server identity", | |
# "in" => "path", | |
# "name" => "ident", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string" | |
# } | |
# }, | |
# "paths" => { | |
# "/connection/{connection_id}" => { | |
# "delete" => { | |
# "operationId" => "removeConnection", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"delete"}[0] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "Remove a connection.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Success" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}"}{"delete"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}"}{"delete"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}"}{"delete"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}"}{"delete"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Delete a connection and all assosiated data.", | |
# "tags" => [ | |
# "connection" | |
# ], | |
# "x-mojo-to" => "connection#remove" | |
# }, | |
# "post" => { | |
# "operationId" => "updateConnection", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[0], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "Update a connection.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Connection" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Update a connection.", | |
# "tags" => [ | |
# "connection" | |
# ], | |
# "x-mojo-to" => "connection#update" | |
# } | |
# }, | |
# "/connection/{connection_id}/dialog/{dialog_id}/messages" => { | |
# "get" => { | |
# "operationId" => "dialogMessages", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}[0], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}[1], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}[2], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}[3], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}[4], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}[5] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "List of messages.", | |
# "schema" => { | |
# "properties" => { | |
# "end" => { | |
# "description" => "Indicates if historic messages can be received.", | |
# "type" => "boolean" | |
# }, | |
# "messages" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/Message" | |
# }, | |
# "type" => "array" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Internal server error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Get a list of messages.\n\nNote: this resource require the user to be authenticated first.", | |
# "tags" => [ | |
# "dialog" | |
# ], | |
# "x-mojo-to" => "dialog#messages" | |
# } | |
# }, | |
# "/connection/{connection_id}/dialog/{dialog_id}/read" => { | |
# "post" => { | |
# "operationId" => "setDialogLastRead", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/dialog/{dialog_id}/read"}{"post"}[0], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/dialog/{dialog_id}/read"}{"post"}[1] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "Successful response.", | |
# "schema" => { | |
# "properties" => { | |
# "last_read" => { | |
# "format" => "date-time", | |
# "type" => "string" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/dialog/{dialog_id}/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/dialog/{dialog_id}/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/dialog/{dialog_id}/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/dialog/{dialog_id}/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Internal server error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Set 'last_read' for a dialog.", | |
# "tags" => [ | |
# "dialog" | |
# ], | |
# "x-mojo-to" => "dialog#last_read" | |
# } | |
# }, | |
# "/connection/{connection_id}/messages" => { | |
# "get" => { | |
# "operationId" => "connectionMessages", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/messages"}{"get"}[0], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/messages"}{"get"}[1], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/messages"}{"get"}[2], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/messages"}{"get"}[3], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/messages"}{"get"}[4] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "List of messages.", | |
# "schema" => { | |
# "properties" => { | |
# "end" => { | |
# "description" => "Indicates if historic messages can be received.", | |
# "type" => "boolean" | |
# }, | |
# "messages" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/Message" | |
# }, | |
# "type" => "array" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/messages"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/messages"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/messages"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/messages"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Internal server error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Get a list of messages.\n\nNote: this resource require the user to be authenticated first.", | |
# "tags" => [ | |
# "dialog" | |
# ], | |
# "x-mojo-to" => "dialog#messages" | |
# } | |
# }, | |
# "/connection/{connection_id}/read" => { | |
# "post" => { | |
# "operationId" => "setConnectionLastRead", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/read"}{"post"}[0] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "Successful response.", | |
# "schema" => { | |
# "properties" => { | |
# "last_read" => { | |
# "format" => "date-time", | |
# "type" => "string" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Internal server error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Set 'last_read' for a connection dialog.", | |
# "tags" => [ | |
# "connection" | |
# ], | |
# "x-mojo-to" => "dialog#last_read" | |
# } | |
# }, | |
# "/connections" => { | |
# "get" => { | |
# "operationId" => "listConnections", | |
# "responses" => { | |
# "200" => { | |
# "description" => "List of connections.", | |
# "schema" => { | |
# "properties" => { | |
# "connections" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/Connection" | |
# }, | |
# "type" => "array" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connections"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connections"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connections"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connections"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Get all the connections for a user.", | |
# "tags" => [ | |
# "connection" | |
# ], | |
# "x-mojo-to" => "connection#list" | |
# }, | |
# "post" => { | |
# "operationId" => "createConnection", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connections"}{"post"}[0] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "Connection information.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Connection" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connections"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connections"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connections"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connections"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Add a connection.", | |
# "tags" => [ | |
# "connection" | |
# ], | |
# "x-mojo-to" => "connection#create" | |
# } | |
# }, | |
# "/dialogs" => { | |
# "get" => { | |
# "operationId" => "listDialogs", | |
# "responses" => { | |
# "200" => { | |
# "description" => "List of messages.", | |
# "schema" => { | |
# "properties" => { | |
# "dialogs" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/Dialog" | |
# }, | |
# "type" => "array" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/dialogs"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/dialogs"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/dialogs"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/dialogs"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Internal server error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Get a list of all dialogs.", | |
# "tags" => [ | |
# "dialog" | |
# ], | |
# "x-mojo-to" => "dialog#list" | |
# } | |
# }, | |
# "/embed" => { | |
# "get" => { | |
# "operationId" => "embed", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/embed"}{"get"}[0] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "Information about resource." | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/embed"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/embed"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/embed"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/embed"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Get information from a URL", | |
# "tags" => [], | |
# "x-mojo-to" => "url#info" | |
# } | |
# }, | |
# "/file" => { | |
# "post" => { | |
# "operationId" => "uploadFile", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/file"}{"post"}[0], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/file"}{"post"}[1], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/file"}{"post"}[2] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "Successfully uploaded.", | |
# "schema" => { | |
# "properties" => { | |
# "files" => { | |
# "items" => { | |
# "properties" => { | |
# "ext" => { | |
# "type" => "string" | |
# }, | |
# "filename" => { | |
# "type" => "string" | |
# }, | |
# "id" => { | |
# "type" => "string" | |
# }, | |
# "saved" => { | |
# "format" => "date-time", | |
# "type" => "string" | |
# }, | |
# "uid" => { | |
# "type" => "string" | |
# }, | |
# "url" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "ext", | |
# "filename", | |
# "id", | |
# "saved", | |
# "uid", | |
# "url" | |
# ], | |
# "type" => "object" | |
# }, | |
# "type" => "array" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/file"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/file"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/file"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/file"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Upload file.", | |
# "tags" => [ | |
# "files" | |
# ], | |
# "x-mojo-to" => "files#upload" | |
# } | |
# }, | |
# "/file/:uid/:fid" => { | |
# "get" => { | |
# "operationId" => "getFile", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/file/:uid/:fid"}{"get"}[0], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/file/:uid/:fid"}{"get"}[1] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "File found and served.", | |
# "schema" => { | |
# "type" => "string" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/file/:uid/:fid"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/file/:uid/:fid"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/file/:uid/:fid"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/file/:uid/:fid"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Retrieve uploaded file.", | |
# "tags" => [ | |
# "files" | |
# ], | |
# "x-mojo-to" => "files#get" | |
# } | |
# }, | |
# "/notifications" => { | |
# "get" => { | |
# "description" => "A notification is added once your name is mentioned in a chat.", | |
# "operationId" => "notificationMessages", | |
# "responses" => { | |
# "200" => { | |
# "description" => "List of notifications.", | |
# "schema" => { | |
# "properties" => { | |
# "messages" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/Notification" | |
# }, | |
# "type" => "array" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/notifications"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/notifications"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/notifications"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/notifications"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Get list of notications.", | |
# "tags" => [ | |
# "chat" | |
# ], | |
# "x-mojo-to" => "notifications#messages" | |
# } | |
# }, | |
# "/notifications/read" => { | |
# "post" => { | |
# "description" => "TODO: Notification count vs red/green toggling of a single notification.", | |
# "operationId" => "readNotifications", | |
# "responses" => { | |
# "200" => { | |
# "description" => "Successful response.", | |
# "schema" => { | |
# "properties" => {}, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/notifications/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/notifications/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/notifications/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/notifications/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Mark notications as read.", | |
# "tags" => [ | |
# "chat" | |
# ], | |
# "x-mojo-to" => "notifications#read" | |
# } | |
# }, | |
# "/settings" => { | |
# "get" => { | |
# "operationId" => "getSettings", | |
# "responses" => { | |
# "200" => { | |
# "description" => "ServerSettings.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/ServerSettings" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/settings"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/settings"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/settings"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/settings"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Get settings for Convos.", | |
# "tags" => [ | |
# "settings" | |
# ], | |
# "x-mojo-to" => "admin#settings_get" | |
# }, | |
# "post" => { | |
# "operationId" => "updateSettings", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/settings"}{"post"}[0] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "User profile.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/ServerSettings" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/settings"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/settings"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/settings"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/settings"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Update settings for Convos.", | |
# "tags" => [ | |
# "settings" | |
# ], | |
# "x-mojo-to" => "admin#settings_update" | |
# } | |
# }, | |
# "/user" => { | |
# "delete" => { | |
# "operationId" => "deleteUser", | |
# "responses" => { | |
# "200" => { | |
# "description" => "Successfully deleted.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Success" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"delete"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"delete"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"delete"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"delete"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Delete a user.", | |
# "tags" => [ | |
# "user" | |
# ], | |
# "x-mojo-to" => "user#delete" | |
# }, | |
# "get" => { | |
# "operationId" => "getUser", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/user"}{"get"}[0], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/user"}{"get"}[1], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/user"}{"get"}[2] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "User profile.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/User" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Get user data.", | |
# "tags" => [ | |
# "user" | |
# ], | |
# "x-mojo-to" => "user#get" | |
# }, | |
# "post" => { | |
# "operationId" => "updateUser", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/user"}{"post"}[0] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "User profile.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/User" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Update an existing user.", | |
# "tags" => [ | |
# "user" | |
# ], | |
# "x-mojo-to" => "user#update" | |
# } | |
# }, | |
# "/user/login" => { | |
# "post" => { | |
# "operationId" => "loginUser", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/user/login"}{"post"}[0] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "User profile.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/User" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/login"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/login"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/login"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/login"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Log in a user based on email and password.", | |
# "tags" => [ | |
# "user" | |
# ], | |
# "x-mojo-to" => "user#login" | |
# } | |
# }, | |
# "/user/logout" => { | |
# "get" => { | |
# "description" => "This resource will delete any sessions cookies that might be stored in the client.", | |
# "operationId" => "logoutUser", | |
# "responses" => { | |
# "200" => { | |
# "description" => "Successfully logged out.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Success" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/logout"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/logout"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/logout"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/logout"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Logout a user.", | |
# "tags" => [ | |
# "user" | |
# ], | |
# "x-mojo-to" => "user#logout" | |
# } | |
# }, | |
# "/user/register" => { | |
# "post" => { | |
# "operationId" => "registerUser", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/user/register"}{"post"}[0] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "User profile.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/User" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/register"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/register"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/register"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/register"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Register a new user.", | |
# "tags" => [ | |
# "user" | |
# ], | |
# "x-mojo-to" => "user#register" | |
# } | |
# }, | |
# "/user/{email}/invite" => { | |
# "post" => { | |
# "operationId" => "inviteUser", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/user/{email}/invite"}{"post"}[0], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/user/{email}/invite"}{"post"}[1] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "User profile.", | |
# "schema" => { | |
# "properties" => { | |
# "existing" => { | |
# "type" => "boolean" | |
# }, | |
# "expires" => { | |
# "format" => "date-time", | |
# "type" => "string" | |
# }, | |
# "url" => { | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "url" | |
# ], | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/{email}/invite"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/{email}/invite"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/{email}/invite"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/{email}/invite"}{"post"}{"responses"}{"400"}{"schema"} | |
# } | |
# }, | |
# "summary" => "Generate invite link for an existing / new user.", | |
# "tags" => [ | |
# "user" | |
# ], | |
# "x-mojo-to" => "user#generate_invite_link" | |
# } | |
# } | |
# }, | |
# "schemes" => [ | |
# "http" | |
# ], | |
# "swagger" => "2.0" | |
# } | |
# }, 'Mojo::JSON::Pointer' ), | |
# "schemas" => { | |
# "/Users/marcus/Source/convos/public/convos-api.json" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}, | |
# "http://json-schema.org/draft-04/schema" => { | |
# "\$schema" => "http://json-schema.org/draft-04/schema#", | |
# "default" => {}, | |
# "definitions" => { | |
# "positiveInteger" => { | |
# "minimum" => 0, | |
# "type" => "integer" | |
# }, | |
# "positiveIntegerDefault0" => { | |
# "allOf" => [ | |
# { | |
# "\$ref" => "#/definitions/positiveInteger" | |
# }, | |
# { | |
# "default" => 0 | |
# } | |
# ] | |
# }, | |
# "schemaArray" => { | |
# "items" => { | |
# "\$ref" => "#" | |
# }, | |
# "minItems" => 1, | |
# "type" => "array" | |
# }, | |
# "simpleTypes" => { | |
# "enum" => [ | |
# "array", | |
# "boolean", | |
# "integer", | |
# "null", | |
# "number", | |
# "object", | |
# "string" | |
# ] | |
# }, | |
# "stringArray" => { | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "minItems" => 1, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# } | |
# }, | |
# "dependencies" => { | |
# "exclusiveMaximum" => [ | |
# "maximum" | |
# ], | |
# "exclusiveMinimum" => [ | |
# "minimum" | |
# ] | |
# }, | |
# "description" => "Core schema meta-schema", | |
# "id" => "http://json-schema.org/draft-04/schema#", | |
# "properties" => { | |
# "\$schema" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "additionalItems" => { | |
# "anyOf" => [ | |
# { | |
# "type" => "boolean" | |
# }, | |
# { | |
# "\$ref" => "#" | |
# } | |
# ], | |
# "default" => {} | |
# }, | |
# "additionalProperties" => { | |
# "anyOf" => [ | |
# { | |
# "type" => "boolean" | |
# }, | |
# { | |
# "\$ref" => "#" | |
# } | |
# ], | |
# "default" => {} | |
# }, | |
# "allOf" => { | |
# "\$ref" => "#/definitions/schemaArray" | |
# }, | |
# "anyOf" => { | |
# "\$ref" => "#/definitions/schemaArray" | |
# }, | |
# "default" => {}, | |
# "definitions" => { | |
# "additionalProperties" => { | |
# "\$ref" => "#" | |
# }, | |
# "default" => {}, | |
# "type" => "object" | |
# }, | |
# "dependencies" => { | |
# "additionalProperties" => { | |
# "anyOf" => [ | |
# { | |
# "\$ref" => "#" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/stringArray" | |
# } | |
# ] | |
# }, | |
# "type" => "object" | |
# }, | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "enum" => { | |
# "minItems" => 1, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# }, | |
# "exclusiveMaximum" => { | |
# "default" => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ), | |
# "type" => "boolean" | |
# }, | |
# "exclusiveMinimum" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "type" => "boolean" | |
# }, | |
# "id" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "items" => { | |
# "anyOf" => [ | |
# { | |
# "\$ref" => "#" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/schemaArray" | |
# } | |
# ], | |
# "default" => {} | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "#/definitions/positiveInteger" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "#/definitions/positiveInteger" | |
# }, | |
# "maxProperties" => { | |
# "\$ref" => "#/definitions/positiveInteger" | |
# }, | |
# "maximum" => { | |
# "type" => "number" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "#/definitions/positiveIntegerDefault0" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "#/definitions/positiveIntegerDefault0" | |
# }, | |
# "minProperties" => { | |
# "\$ref" => "#/definitions/positiveIntegerDefault0" | |
# }, | |
# "minimum" => { | |
# "type" => "number" | |
# }, | |
# "multipleOf" => { | |
# "exclusiveMinimum" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "minimum" => 0, | |
# "type" => "number" | |
# }, | |
# "not" => { | |
# "\$ref" => "#" | |
# }, | |
# "oneOf" => { | |
# "\$ref" => "#/definitions/schemaArray" | |
# }, | |
# "pattern" => { | |
# "format" => "regex", | |
# "type" => "string" | |
# }, | |
# "patternProperties" => { | |
# "additionalProperties" => { | |
# "\$ref" => "#" | |
# }, | |
# "default" => {}, | |
# "type" => "object" | |
# }, | |
# "properties" => { | |
# "additionalProperties" => { | |
# "\$ref" => "#" | |
# }, | |
# "default" => {}, | |
# "type" => "object" | |
# }, | |
# "required" => { | |
# "\$ref" => "#/definitions/stringArray" | |
# }, | |
# "title" => { | |
# "type" => "string" | |
# }, | |
# "type" => { | |
# "anyOf" => [ | |
# { | |
# "\$ref" => "#/definitions/simpleTypes" | |
# }, | |
# { | |
# "items" => { | |
# "\$ref" => "#/definitions/simpleTypes" | |
# }, | |
# "minItems" => 1, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# } | |
# ] | |
# }, | |
# "uniqueItems" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "type" => "boolean" | |
# } | |
# }, | |
# "type" => "object" | |
# }, | |
# "http://swagger.io/v2/schema.json" => { | |
# "\$schema" => "http://json-schema.org/draft-04/schema#", | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "definitions" => { | |
# "apiKeySecurity" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "in" => { | |
# "enum" => [ | |
# "header", | |
# "query" | |
# ], | |
# "type" => "string" | |
# }, | |
# "name" => { | |
# "type" => "string" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "apiKey" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "type", | |
# "name", | |
# "in" | |
# ], | |
# "type" => "object" | |
# }, | |
# "basicAuthenticationSecurity" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "basic" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "type" | |
# ], | |
# "type" => "object" | |
# }, | |
# "bodyParameter" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "description" => { | |
# "description" => "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.", | |
# "type" => "string" | |
# }, | |
# "in" => { | |
# "description" => "Determines the location of the parameter.", | |
# "enum" => [ | |
# "body" | |
# ], | |
# "type" => "string" | |
# }, | |
# "name" => { | |
# "description" => "The name of the parameter.", | |
# "type" => "string" | |
# }, | |
# "required" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "Determines whether or not this parameter is required or optional.", | |
# "type" => "boolean" | |
# }, | |
# "schema" => { | |
# "\$ref" => "#/definitions/schema" | |
# } | |
# }, | |
# "required" => [ | |
# "name", | |
# "in", | |
# "schema" | |
# ], | |
# "type" => "object" | |
# }, | |
# "collectionFormat" => { | |
# "default" => "csv", | |
# "enum" => [ | |
# "csv", | |
# "ssv", | |
# "tsv", | |
# "pipes" | |
# ], | |
# "type" => "string" | |
# }, | |
# "collectionFormatWithMulti" => { | |
# "default" => "csv", | |
# "enum" => [ | |
# "csv", | |
# "ssv", | |
# "tsv", | |
# "pipes", | |
# "multi" | |
# ], | |
# "type" => "string" | |
# }, | |
# "contact" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "Contact information for the owners of the API.", | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "email" => { | |
# "description" => "The email address of the contact person/organization.", | |
# "format" => "email", | |
# "type" => "string" | |
# }, | |
# "name" => { | |
# "description" => "The identifying name of the contact person/organization.", | |
# "type" => "string" | |
# }, | |
# "url" => { | |
# "description" => "The URL pointing to the contact information.", | |
# "format" => "uri", | |
# "type" => "string" | |
# } | |
# }, | |
# "type" => "object" | |
# }, | |
# "default" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/default" | |
# }, | |
# "definitions" => { | |
# "additionalProperties" => { | |
# "\$ref" => "#/definitions/schema" | |
# }, | |
# "description" => "One or more JSON objects describing the schemas being consumed and produced by the API.", | |
# "type" => "object" | |
# }, | |
# "description" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/description" | |
# }, | |
# "enum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/enum" | |
# }, | |
# "examples" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "object" | |
# }, | |
# "exclusiveMaximum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum" | |
# }, | |
# "exclusiveMinimum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum" | |
# }, | |
# "externalDocs" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "information about external documentation", | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "url" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "url" | |
# ], | |
# "type" => "object" | |
# }, | |
# "fileSchema" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "A deterministic version of a JSON Schema object.", | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "default" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/default" | |
# }, | |
# "description" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/description" | |
# }, | |
# "example" => {}, | |
# "externalDocs" => { | |
# "\$ref" => "#/definitions/externalDocs" | |
# }, | |
# "format" => { | |
# "type" => "string" | |
# }, | |
# "readOnly" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "type" => "boolean" | |
# }, | |
# "required" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/stringArray" | |
# }, | |
# "title" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/title" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "file" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "type" | |
# ], | |
# "type" => "object" | |
# }, | |
# "formDataParameterSubSchema" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "allowEmptyValue" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "allows sending a parameter by name only or with an empty value.", | |
# "type" => "boolean" | |
# }, | |
# "collectionFormat" => { | |
# "\$ref" => "#/definitions/collectionFormatWithMulti" | |
# }, | |
# "default" => { | |
# "\$ref" => "#/definitions/default" | |
# }, | |
# "description" => { | |
# "description" => "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.", | |
# "type" => "string" | |
# }, | |
# "enum" => { | |
# "\$ref" => "#/definitions/enum" | |
# }, | |
# "exclusiveMaximum" => { | |
# "\$ref" => "#/definitions/exclusiveMaximum" | |
# }, | |
# "exclusiveMinimum" => { | |
# "\$ref" => "#/definitions/exclusiveMinimum" | |
# }, | |
# "format" => { | |
# "type" => "string" | |
# }, | |
# "in" => { | |
# "description" => "Determines the location of the parameter.", | |
# "enum" => [ | |
# "formData" | |
# ], | |
# "type" => "string" | |
# }, | |
# "items" => { | |
# "\$ref" => "#/definitions/primitivesItems" | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "#/definitions/maxItems" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "#/definitions/maxLength" | |
# }, | |
# "maximum" => { | |
# "\$ref" => "#/definitions/maximum" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "#/definitions/minItems" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "#/definitions/minLength" | |
# }, | |
# "minimum" => { | |
# "\$ref" => "#/definitions/minimum" | |
# }, | |
# "multipleOf" => { | |
# "\$ref" => "#/definitions/multipleOf" | |
# }, | |
# "name" => { | |
# "description" => "The name of the parameter.", | |
# "type" => "string" | |
# }, | |
# "pattern" => { | |
# "\$ref" => "#/definitions/pattern" | |
# }, | |
# "required" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "Determines whether or not this parameter is required or optional.", | |
# "type" => "boolean" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "string", | |
# "number", | |
# "boolean", | |
# "integer", | |
# "array", | |
# "file" | |
# ], | |
# "type" => "string" | |
# }, | |
# "uniqueItems" => { | |
# "\$ref" => "#/definitions/uniqueItems" | |
# } | |
# } | |
# }, | |
# "header" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "collectionFormat" => { | |
# "\$ref" => "#/definitions/collectionFormat" | |
# }, | |
# "default" => { | |
# "\$ref" => "#/definitions/default" | |
# }, | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "enum" => { | |
# "\$ref" => "#/definitions/enum" | |
# }, | |
# "exclusiveMaximum" => { | |
# "\$ref" => "#/definitions/exclusiveMaximum" | |
# }, | |
# "exclusiveMinimum" => { | |
# "\$ref" => "#/definitions/exclusiveMinimum" | |
# }, | |
# "format" => { | |
# "type" => "string" | |
# }, | |
# "items" => { | |
# "\$ref" => "#/definitions/primitivesItems" | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "#/definitions/maxItems" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "#/definitions/maxLength" | |
# }, | |
# "maximum" => { | |
# "\$ref" => "#/definitions/maximum" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "#/definitions/minItems" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "#/definitions/minLength" | |
# }, | |
# "minimum" => { | |
# "\$ref" => "#/definitions/minimum" | |
# }, | |
# "multipleOf" => { | |
# "\$ref" => "#/definitions/multipleOf" | |
# }, | |
# "pattern" => { | |
# "\$ref" => "#/definitions/pattern" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "string", | |
# "number", | |
# "integer", | |
# "boolean", | |
# "array" | |
# ], | |
# "type" => "string" | |
# }, | |
# "uniqueItems" => { | |
# "\$ref" => "#/definitions/uniqueItems" | |
# } | |
# }, | |
# "required" => [ | |
# "type" | |
# ], | |
# "type" => "object" | |
# }, | |
# "headerParameterSubSchema" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "collectionFormat" => { | |
# "\$ref" => "#/definitions/collectionFormat" | |
# }, | |
# "default" => { | |
# "\$ref" => "#/definitions/default" | |
# }, | |
# "description" => { | |
# "description" => "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.", | |
# "type" => "string" | |
# }, | |
# "enum" => { | |
# "\$ref" => "#/definitions/enum" | |
# }, | |
# "exclusiveMaximum" => { | |
# "\$ref" => "#/definitions/exclusiveMaximum" | |
# }, | |
# "exclusiveMinimum" => { | |
# "\$ref" => "#/definitions/exclusiveMinimum" | |
# }, | |
# "format" => { | |
# "type" => "string" | |
# }, | |
# "in" => { | |
# "description" => "Determines the location of the parameter.", | |
# "enum" => [ | |
# "header" | |
# ], | |
# "type" => "string" | |
# }, | |
# "items" => { | |
# "\$ref" => "#/definitions/primitivesItems" | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "#/definitions/maxItems" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "#/definitions/maxLength" | |
# }, | |
# "maximum" => { | |
# "\$ref" => "#/definitions/maximum" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "#/definitions/minItems" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "#/definitions/minLength" | |
# }, | |
# "minimum" => { | |
# "\$ref" => "#/definitions/minimum" | |
# }, | |
# "multipleOf" => { | |
# "\$ref" => "#/definitions/multipleOf" | |
# }, | |
# "name" => { | |
# "description" => "The name of the parameter.", | |
# "type" => "string" | |
# }, | |
# "pattern" => { | |
# "\$ref" => "#/definitions/pattern" | |
# }, | |
# "required" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "Determines whether or not this parameter is required or optional.", | |
# "type" => "boolean" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "string", | |
# "number", | |
# "boolean", | |
# "integer", | |
# "array" | |
# ], | |
# "type" => "string" | |
# }, | |
# "uniqueItems" => { | |
# "\$ref" => "#/definitions/uniqueItems" | |
# } | |
# } | |
# }, | |
# "headers" => { | |
# "additionalProperties" => { | |
# "\$ref" => "#/definitions/header" | |
# }, | |
# "type" => "object" | |
# }, | |
# "info" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "General information about the API.", | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "contact" => { | |
# "\$ref" => "#/definitions/contact" | |
# }, | |
# "description" => { | |
# "description" => "A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed.", | |
# "type" => "string" | |
# }, | |
# "license" => { | |
# "\$ref" => "#/definitions/license" | |
# }, | |
# "termsOfService" => { | |
# "description" => "The terms of service for the API.", | |
# "type" => "string" | |
# }, | |
# "title" => { | |
# "description" => "A unique and precise title of the API.", | |
# "type" => "string" | |
# }, | |
# "version" => { | |
# "description" => "A semantic version number of the API.", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "version", | |
# "title" | |
# ], | |
# "type" => "object" | |
# }, | |
# "jsonReference" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "properties" => { | |
# "\$ref" => { | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "\$ref" | |
# ], | |
# "type" => "object" | |
# }, | |
# "license" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "name" => { | |
# "description" => "The name of the license type. It's encouraged to use an OSI compatible license.", | |
# "type" => "string" | |
# }, | |
# "url" => { | |
# "description" => "The URL pointing to the license.", | |
# "format" => "uri", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "name" | |
# ], | |
# "type" => "object" | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" | |
# }, | |
# "maximum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/maximum" | |
# }, | |
# "mediaTypeList" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/mimeType" | |
# }, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# }, | |
# "mimeType" => { | |
# "description" => "The MIME type of the HTTP message.", | |
# "type" => "string" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" | |
# }, | |
# "minimum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/minimum" | |
# }, | |
# "multipleOf" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/multipleOf" | |
# }, | |
# "nonBodyParameter" => { | |
# "oneOf" => [ | |
# { | |
# "\$ref" => "#/definitions/headerParameterSubSchema" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/formDataParameterSubSchema" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/queryParameterSubSchema" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/pathParameterSubSchema" | |
# } | |
# ], | |
# "required" => [ | |
# "name", | |
# "in", | |
# "type" | |
# ], | |
# "type" => "object" | |
# }, | |
# "oauth2AccessCodeSecurity" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "authorizationUrl" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "flow" => { | |
# "enum" => [ | |
# "accessCode" | |
# ], | |
# "type" => "string" | |
# }, | |
# "scopes" => { | |
# "\$ref" => "#/definitions/oauth2Scopes" | |
# }, | |
# "tokenUrl" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "oauth2" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "type", | |
# "flow", | |
# "authorizationUrl", | |
# "tokenUrl" | |
# ], | |
# "type" => "object" | |
# }, | |
# "oauth2ApplicationSecurity" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "flow" => { | |
# "enum" => [ | |
# "application" | |
# ], | |
# "type" => "string" | |
# }, | |
# "scopes" => { | |
# "\$ref" => "#/definitions/oauth2Scopes" | |
# }, | |
# "tokenUrl" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "oauth2" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "type", | |
# "flow", | |
# "tokenUrl" | |
# ], | |
# "type" => "object" | |
# }, | |
# "oauth2ImplicitSecurity" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "authorizationUrl" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "flow" => { | |
# "enum" => [ | |
# "implicit" | |
# ], | |
# "type" => "string" | |
# }, | |
# "scopes" => { | |
# "\$ref" => "#/definitions/oauth2Scopes" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "oauth2" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "type", | |
# "flow", | |
# "authorizationUrl" | |
# ], | |
# "type" => "object" | |
# }, | |
# "oauth2PasswordSecurity" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "flow" => { | |
# "enum" => [ | |
# "password" | |
# ], | |
# "type" => "string" | |
# }, | |
# "scopes" => { | |
# "\$ref" => "#/definitions/oauth2Scopes" | |
# }, | |
# "tokenUrl" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "oauth2" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "type", | |
# "flow", | |
# "tokenUrl" | |
# ], | |
# "type" => "object" | |
# }, | |
# "oauth2Scopes" => { | |
# "additionalProperties" => { | |
# "type" => "string" | |
# }, | |
# "type" => "object" | |
# }, | |
# "operation" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "consumes" => { | |
# "allOf" => [ | |
# { | |
# "\$ref" => "#/definitions/mediaTypeList" | |
# } | |
# ], | |
# "description" => "A list of MIME types the API can consume." | |
# }, | |
# "deprecated" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "type" => "boolean" | |
# }, | |
# "description" => { | |
# "description" => "A longer description of the operation, GitHub Flavored Markdown is allowed.", | |
# "type" => "string" | |
# }, | |
# "externalDocs" => { | |
# "\$ref" => "#/definitions/externalDocs" | |
# }, | |
# "operationId" => { | |
# "description" => "A unique identifier of the operation.", | |
# "type" => "string" | |
# }, | |
# "parameters" => { | |
# "\$ref" => "#/definitions/parametersList" | |
# }, | |
# "produces" => { | |
# "allOf" => [ | |
# { | |
# "\$ref" => "#/definitions/mediaTypeList" | |
# } | |
# ], | |
# "description" => "A list of MIME types the API can produce." | |
# }, | |
# "responses" => { | |
# "\$ref" => "#/definitions/responses" | |
# }, | |
# "schemes" => { | |
# "\$ref" => "#/definitions/schemesList" | |
# }, | |
# "security" => { | |
# "\$ref" => "#/definitions/security" | |
# }, | |
# "summary" => { | |
# "description" => "A brief summary of the operation.", | |
# "type" => "string" | |
# }, | |
# "tags" => { | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# } | |
# }, | |
# "required" => [ | |
# "responses" | |
# ], | |
# "type" => "object" | |
# }, | |
# "parameter" => { | |
# "oneOf" => [ | |
# { | |
# "\$ref" => "#/definitions/bodyParameter" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/nonBodyParameter" | |
# } | |
# ] | |
# }, | |
# "parameterDefinitions" => { | |
# "additionalProperties" => { | |
# "\$ref" => "#/definitions/parameter" | |
# }, | |
# "description" => "One or more JSON representations for parameters", | |
# "type" => "object" | |
# }, | |
# "parametersList" => { | |
# "additionalItems" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "The parameters needed to send a valid API call.", | |
# "items" => { | |
# "oneOf" => [ | |
# { | |
# "\$ref" => "#/definitions/parameter" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/jsonReference" | |
# } | |
# ] | |
# }, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# }, | |
# "pathItem" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "\$ref" => { | |
# "type" => "string" | |
# }, | |
# "delete" => { | |
# "\$ref" => "#/definitions/operation" | |
# }, | |
# "get" => { | |
# "\$ref" => "#/definitions/operation" | |
# }, | |
# "head" => { | |
# "\$ref" => "#/definitions/operation" | |
# }, | |
# "options" => { | |
# "\$ref" => "#/definitions/operation" | |
# }, | |
# "parameters" => { | |
# "\$ref" => "#/definitions/parametersList" | |
# }, | |
# "patch" => { | |
# "\$ref" => "#/definitions/operation" | |
# }, | |
# "post" => { | |
# "\$ref" => "#/definitions/operation" | |
# }, | |
# "put" => { | |
# "\$ref" => "#/definitions/operation" | |
# } | |
# }, | |
# "type" => "object" | |
# }, | |
# "pathParameterSubSchema" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "collectionFormat" => { | |
# "\$ref" => "#/definitions/collectionFormat" | |
# }, | |
# "default" => { | |
# "\$ref" => "#/definitions/default" | |
# }, | |
# "description" => { | |
# "description" => "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.", | |
# "type" => "string" | |
# }, | |
# "enum" => { | |
# "\$ref" => "#/definitions/enum" | |
# }, | |
# "exclusiveMaximum" => { | |
# "\$ref" => "#/definitions/exclusiveMaximum" | |
# }, | |
# "exclusiveMinimum" => { | |
# "\$ref" => "#/definitions/exclusiveMinimum" | |
# }, | |
# "format" => { | |
# "type" => "string" | |
# }, | |
# "in" => { | |
# "description" => "Determines the location of the parameter.", | |
# "enum" => [ | |
# "path" | |
# ], | |
# "type" => "string" | |
# }, | |
# "items" => { | |
# "\$ref" => "#/definitions/primitivesItems" | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "#/definitions/maxItems" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "#/definitions/maxLength" | |
# }, | |
# "maximum" => { | |
# "\$ref" => "#/definitions/maximum" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "#/definitions/minItems" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "#/definitions/minLength" | |
# }, | |
# "minimum" => { | |
# "\$ref" => "#/definitions/minimum" | |
# }, | |
# "multipleOf" => { | |
# "\$ref" => "#/definitions/multipleOf" | |
# }, | |
# "name" => { | |
# "description" => "The name of the parameter.", | |
# "type" => "string" | |
# }, | |
# "pattern" => { | |
# "\$ref" => "#/definitions/pattern" | |
# }, | |
# "required" => { | |
# "description" => "Determines whether or not this parameter is required or optional.", | |
# "enum" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# ], | |
# "type" => "boolean" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "string", | |
# "number", | |
# "boolean", | |
# "integer", | |
# "array" | |
# ], | |
# "type" => "string" | |
# }, | |
# "uniqueItems" => { | |
# "\$ref" => "#/definitions/uniqueItems" | |
# } | |
# }, | |
# "required" => [ | |
# "required" | |
# ] | |
# }, | |
# "paths" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "Relative paths to the individual endpoints. They must be relative to the 'basePath'.", | |
# "patternProperties" => { | |
# "^/" => { | |
# "\$ref" => "#/definitions/pathItem" | |
# }, | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "type" => "object" | |
# }, | |
# "pattern" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/pattern" | |
# }, | |
# "primitivesItems" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "collectionFormat" => { | |
# "\$ref" => "#/definitions/collectionFormat" | |
# }, | |
# "default" => { | |
# "\$ref" => "#/definitions/default" | |
# }, | |
# "enum" => { | |
# "\$ref" => "#/definitions/enum" | |
# }, | |
# "exclusiveMaximum" => { | |
# "\$ref" => "#/definitions/exclusiveMaximum" | |
# }, | |
# "exclusiveMinimum" => { | |
# "\$ref" => "#/definitions/exclusiveMinimum" | |
# }, | |
# "format" => { | |
# "type" => "string" | |
# }, | |
# "items" => { | |
# "\$ref" => "#/definitions/primitivesItems" | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "#/definitions/maxItems" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "#/definitions/maxLength" | |
# }, | |
# "maximum" => { | |
# "\$ref" => "#/definitions/maximum" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "#/definitions/minItems" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "#/definitions/minLength" | |
# }, | |
# "minimum" => { | |
# "\$ref" => "#/definitions/minimum" | |
# }, | |
# "multipleOf" => { | |
# "\$ref" => "#/definitions/multipleOf" | |
# }, | |
# "pattern" => { | |
# "\$ref" => "#/definitions/pattern" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "string", | |
# "number", | |
# "integer", | |
# "boolean", | |
# "array" | |
# ], | |
# "type" => "string" | |
# }, | |
# "uniqueItems" => { | |
# "\$ref" => "#/definitions/uniqueItems" | |
# } | |
# }, | |
# "type" => "object" | |
# }, | |
# "queryParameterSubSchema" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "allowEmptyValue" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "allows sending a parameter by name only or with an empty value.", | |
# "type" => "boolean" | |
# }, | |
# "collectionFormat" => { | |
# "\$ref" => "#/definitions/collectionFormatWithMulti" | |
# }, | |
# "default" => { | |
# "\$ref" => "#/definitions/default" | |
# }, | |
# "description" => { | |
# "description" => "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.", | |
# "type" => "string" | |
# }, | |
# "enum" => { | |
# "\$ref" => "#/definitions/enum" | |
# }, | |
# "exclusiveMaximum" => { | |
# "\$ref" => "#/definitions/exclusiveMaximum" | |
# }, | |
# "exclusiveMinimum" => { | |
# "\$ref" => "#/definitions/exclusiveMinimum" | |
# }, | |
# "format" => { | |
# "type" => "string" | |
# }, | |
# "in" => { | |
# "description" => "Determines the location of the parameter.", | |
# "enum" => [ | |
# "query" | |
# ], | |
# "type" => "string" | |
# }, | |
# "items" => { | |
# "\$ref" => "#/definitions/primitivesItems" | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "#/definitions/maxItems" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "#/definitions/maxLength" | |
# }, | |
# "maximum" => { | |
# "\$ref" => "#/definitions/maximum" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "#/definitions/minItems" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "#/definitions/minLength" | |
# }, | |
# "minimum" => { | |
# "\$ref" => "#/definitions/minimum" | |
# }, | |
# "multipleOf" => { | |
# "\$ref" => "#/definitions/multipleOf" | |
# }, | |
# "name" => { | |
# "description" => "The name of the parameter.", | |
# "type" => "string" | |
# }, | |
# "pattern" => { | |
# "\$ref" => "#/definitions/pattern" | |
# }, | |
# "required" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "Determines whether or not this parameter is required or optional.", | |
# "type" => "boolean" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "string", | |
# "number", | |
# "boolean", | |
# "integer", | |
# "array" | |
# ], | |
# "type" => "string" | |
# }, | |
# "uniqueItems" => { | |
# "\$ref" => "#/definitions/uniqueItems" | |
# } | |
# } | |
# }, | |
# "response" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "examples" => { | |
# "\$ref" => "#/definitions/examples" | |
# }, | |
# "headers" => { | |
# "\$ref" => "#/definitions/headers" | |
# }, | |
# "schema" => { | |
# "oneOf" => [ | |
# { | |
# "\$ref" => "#/definitions/schema" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/fileSchema" | |
# } | |
# ] | |
# } | |
# }, | |
# "required" => [ | |
# "description" | |
# ], | |
# "type" => "object" | |
# }, | |
# "responseDefinitions" => { | |
# "additionalProperties" => { | |
# "\$ref" => "#/definitions/response" | |
# }, | |
# "description" => "One or more JSON representations for parameters", | |
# "type" => "object" | |
# }, | |
# "responseValue" => { | |
# "oneOf" => [ | |
# { | |
# "\$ref" => "#/definitions/response" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/jsonReference" | |
# } | |
# ] | |
# }, | |
# "responses" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "Response objects names can either be any valid HTTP status code or 'default'.", | |
# "minProperties" => 1, | |
# "not" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "type" => "object" | |
# }, | |
# "patternProperties" => { | |
# "^([0-9]{3})\$|^(default)\$" => { | |
# "\$ref" => "#/definitions/responseValue" | |
# }, | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "type" => "object" | |
# }, | |
# "schema" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "A deterministic version of a JSON Schema object.", | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "\$ref" => { | |
# "type" => "string" | |
# }, | |
# "additionalProperties" => { | |
# "anyOf" => [ | |
# { | |
# "\$ref" => "#/definitions/schema" | |
# }, | |
# { | |
# "type" => "boolean" | |
# } | |
# ], | |
# "default" => {} | |
# }, | |
# "allOf" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/schema" | |
# }, | |
# "minItems" => 1, | |
# "type" => "array" | |
# }, | |
# "default" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/default" | |
# }, | |
# "description" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/description" | |
# }, | |
# "discriminator" => { | |
# "type" => "string" | |
# }, | |
# "enum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/enum" | |
# }, | |
# "example" => {}, | |
# "exclusiveMaximum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum" | |
# }, | |
# "exclusiveMinimum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum" | |
# }, | |
# "externalDocs" => { | |
# "\$ref" => "#/definitions/externalDocs" | |
# }, | |
# "format" => { | |
# "type" => "string" | |
# }, | |
# "items" => { | |
# "anyOf" => [ | |
# { | |
# "\$ref" => "#/definitions/schema" | |
# }, | |
# { | |
# "items" => { | |
# "\$ref" => "#/definitions/schema" | |
# }, | |
# "minItems" => 1, | |
# "type" => "array" | |
# } | |
# ], | |
# "default" => {} | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" | |
# }, | |
# "maxProperties" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" | |
# }, | |
# "maximum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/maximum" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" | |
# }, | |
# "minProperties" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" | |
# }, | |
# "minimum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/minimum" | |
# }, | |
# "multipleOf" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/multipleOf" | |
# }, | |
# "pattern" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/pattern" | |
# }, | |
# "properties" => { | |
# "additionalProperties" => { | |
# "\$ref" => "#/definitions/schema" | |
# }, | |
# "default" => {}, | |
# "type" => "object" | |
# }, | |
# "readOnly" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "type" => "boolean" | |
# }, | |
# "required" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/stringArray" | |
# }, | |
# "title" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/title" | |
# }, | |
# "type" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/type" | |
# }, | |
# "uniqueItems" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/uniqueItems" | |
# }, | |
# "xml" => { | |
# "\$ref" => "#/definitions/xml" | |
# } | |
# }, | |
# "type" => "object" | |
# }, | |
# "schemesList" => { | |
# "description" => "The transfer protocol of the API.", | |
# "items" => { | |
# "enum" => [ | |
# "http", | |
# "https", | |
# "ws", | |
# "wss" | |
# ], | |
# "type" => "string" | |
# }, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# }, | |
# "security" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/securityRequirement" | |
# }, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# }, | |
# "securityDefinitions" => { | |
# "additionalProperties" => { | |
# "oneOf" => [ | |
# { | |
# "\$ref" => "#/definitions/basicAuthenticationSecurity" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/apiKeySecurity" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/oauth2ImplicitSecurity" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/oauth2PasswordSecurity" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/oauth2ApplicationSecurity" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/oauth2AccessCodeSecurity" | |
# } | |
# ] | |
# }, | |
# "type" => "object" | |
# }, | |
# "securityRequirement" => { | |
# "additionalProperties" => { | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# }, | |
# "type" => "object" | |
# }, | |
# "tag" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "externalDocs" => { | |
# "\$ref" => "#/definitions/externalDocs" | |
# }, | |
# "name" => { | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "name" | |
# ], | |
# "type" => "object" | |
# }, | |
# "title" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/title" | |
# }, | |
# "uniqueItems" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/uniqueItems" | |
# }, | |
# "vendorExtension" => { | |
# "additionalItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "description" => "Any property starting with x- is valid." | |
# }, | |
# "xml" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "attribute" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "type" => "boolean" | |
# }, | |
# "name" => { | |
# "type" => "string" | |
# }, | |
# "namespace" => { | |
# "type" => "string" | |
# }, | |
# "prefix" => { | |
# "type" => "string" | |
# }, | |
# "wrapped" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "type" => "boolean" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "id" => "http://swagger.io/v2/schema.json#", | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "basePath" => { | |
# "description" => "The base path to the API. Example: '/api'.", | |
# "pattern" => "^/", | |
# "type" => "string" | |
# }, | |
# "consumes" => { | |
# "allOf" => [ | |
# { | |
# "\$ref" => "#/definitions/mediaTypeList" | |
# } | |
# ], | |
# "description" => "A list of MIME types accepted by the API." | |
# }, | |
# "definitions" => { | |
# "\$ref" => "#/definitions/definitions" | |
# }, | |
# "externalDocs" => { | |
# "\$ref" => "#/definitions/externalDocs" | |
# }, | |
# "host" => { | |
# "description" => "The host (name or ip) of the API. Example: 'swagger.io'", | |
# "pattern" => "^[^{}/ :\\\\]+(?::\\d+)?\$", | |
# "type" => "string" | |
# }, | |
# "info" => { | |
# "\$ref" => "#/definitions/info" | |
# }, | |
# "parameters" => { | |
# "\$ref" => "#/definitions/parameterDefinitions" | |
# }, | |
# "paths" => { | |
# "\$ref" => "#/definitions/paths" | |
# }, | |
# "produces" => { | |
# "allOf" => [ | |
# { | |
# "\$ref" => "#/definitions/mediaTypeList" | |
# } | |
# ], | |
# "description" => "A list of MIME types the API can produce." | |
# }, | |
# "responses" => { | |
# "\$ref" => "#/definitions/responseDefinitions" | |
# }, | |
# "schemes" => { | |
# "\$ref" => "#/definitions/schemesList" | |
# }, | |
# "security" => { | |
# "\$ref" => "#/definitions/security" | |
# }, | |
# "securityDefinitions" => { | |
# "\$ref" => "#/definitions/securityDefinitions" | |
# }, | |
# "swagger" => { | |
# "description" => "The Swagger version of this document.", | |
# "enum" => [ | |
# "2.0" | |
# ], | |
# "type" => "string" | |
# }, | |
# "tags" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/tag" | |
# }, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# } | |
# }, | |
# "required" => [ | |
# "swagger", | |
# "info", | |
# "paths" | |
# ], | |
# "title" => "A JSON Schema for Swagger 2.0 API.", | |
# "type" => "object" | |
# } | |
# }, | |
# "version" => 2 | |
# }, 'JSON::Validator::OpenAPI::Mojolicious' ) | |
# }, 'Mojolicious::Plugin::OpenAPI' ) | |
# ] | |
# ], | |
# "openapi_cors_allowed_origins" => [], | |
# "openapi_cors_default_exchange_callback" => sub { "DUMMY" }, | |
# "openapi_cors_default_max_age" => 1800 | |
# } | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Session:</td> | |
# <td class="striped value wide"><pre>{} | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Version:</td> | |
# <td class="striped value wide"><pre>1.1</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Accept-Encoding:</td> | |
# <td class="striped value wide"><pre>gzip</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Content-Length:</td> | |
# <td class="striped value wide"><pre>0</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Host:</td> | |
# <td class="striped value wide"><pre>127.0.0.1:50014</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">User-Agent:</td> | |
# <td class="striped value wide"><pre>Mojolicious (Perl)</pre></td> | |
# </tr> | |
# | |
# </table> | |
# </div> | |
# <div id="more" class="box infobox more spaced"> | |
# <div id="infos"> | |
# <table> | |
# <tr> | |
# <td class="key">Perl:</td> | |
# <td class="striped value wide"><pre>v5.30.0 (darwin)</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Mojolicious:</td> | |
# <td class="striped value wide"><pre>8.29 (Supervillain)</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Home:</td> | |
# <td class="striped value wide"><pre>/Users/marcus/Source/convos</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Template paths:</td> | |
# <td class="striped value wide"><pre>[ | |
# "/Users/marcus/Source/convos/templates" | |
# ] | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Template classes:</td> | |
# <td class="striped value wide"><pre>[ | |
# "main", | |
# "Convos", | |
# "Mojolicious::Plugin::OpenAPI::SpecRenderer" | |
# ] | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Static paths:</td> | |
# <td class="striped value wide"><pre>[ | |
# "/Users/marcus/Source/convos/public" | |
# ] | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Static classes:</td> | |
# <td class="striped value wide"><pre>[ | |
# "main" | |
# ] | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Include:</td> | |
# <td class="striped value wide"><pre>[ | |
# ".", | |
# "/Users/marcus/Source/convos/lib", | |
# "/Users/marcus/Source/convos/script/../lib", | |
# "/Users/marcus/Source/convos/script/../local/lib/perl5/darwin-2level", | |
# "/Users/marcus/Source/convos/script/../local/lib/perl5", | |
# "/Users/marcus/.plenv/versions/5.30.0/lib/perl5/site_perl/5.30.0/darwin-2level", | |
# "/Users/marcus/.plenv/versions/5.30.0/lib/perl5/site_perl/5.30.0", | |
# "/Users/marcus/.plenv/versions/5.30.0/lib/perl5/5.30.0/darwin-2level", | |
# "/Users/marcus/.plenv/versions/5.30.0/lib/perl5/5.30.0" | |
# ] | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Config:</td> | |
# <td class="striped value wide"><pre>{ | |
# "backend" => "Convos::Core::Backend::File", | |
# "home" => "/Users/marcus/Source/convos/t/../local/test-web-base-url-t", | |
# "log_file" => undef | |
# } | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Moniker:</td> | |
# <td class="striped value wide"><pre>convos</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Name:</td> | |
# <td class="striped value wide"><pre>t/web-base-url.t</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Executable:</td> | |
# <td class="striped value wide"><pre>/Users/marcus/.dotfiles/link/plenv/versions/5.30.0/bin/perl5.30.0</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">PID:</td> | |
# <td class="striped value wide"><pre>35213</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Time:</td> | |
# <td class="striped value wide"><pre>Sun Feb 2 10:55:58 2020</pre></td> | |
# </tr> | |
# | |
# </table> | |
# </div> | |
# <div class="tap">tap for more</div> | |
# </div> | |
# <div id="log" class="box infobox spaced"> | |
# <table> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>[2020-02-02 10:55:58.61891] [35213] [error] [2228efc2] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# | |
# </pre> | |
# </td> | |
# </tr> | |
# </table> | |
# </div> | |
# </div> | |
# <div id="footer"> | |
# <a href="https://mojolicious.org"> | |
# <picture> | |
# <img src="/mojo/logo-black.png" | |
# srcset="/mojo/logo-black-2x.png 2x" | |
# alt="Mojolicious logo"> | |
# </picture> | |
# </a> </div> | |
# </body> | |
# </html> | |
# ' | |
# expected: '/foo' | |
[2020-02-02 10:55:58.66461] [35213] [error] [0df9d4f0] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '200 OK' | |
# at t/web-base-url.t line 26. | |
# got: '500' | |
# expected: '200' | |
# Failed test 'exact match for content' | |
# at t/web-base-url.t line 26. | |
# got: '<!DOCTYPE html> | |
# <!-- Request ID: 0df9d4f0 --> | |
# <html> | |
# <head> | |
# <title>Server error (development mode)</title> | |
# <meta http-equiv="Pragma" content="no-cache"> | |
# <meta http-equiv="Expires" content="-1"> | |
# <script src="/mojo/jquery/jquery.js"></script> | |
# <script src="/mojo/prettify/run_prettify.js"></script> | |
# <link href="/mojo/prettify/prettify-mojo-dark.css" rel="stylesheet"> | |
# <style> | |
# a img { | |
# border: 0; | |
# } | |
# body { | |
# background: url(/mojo/pinstripe-light.png); | |
# color: #445555; | |
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif; | |
# font-weight: normal; | |
# line-height: 1.5em; | |
# margin: 0; | |
# } | |
# :not(pre) > code { | |
# background-color: #eef9ff; | |
# border: solid #cce4ff 1px; | |
# border-radius: 5px; | |
# color: #333; | |
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace; | |
# padding: 0.4em; | |
# } | |
# h1 { | |
# color: #2a2a2a; | |
# font-size: 1.5em; | |
# margin: 0; | |
# } | |
# pre { | |
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace; | |
# margin: 0; | |
# white-space: pre-wrap; | |
# } | |
# pre > code { | |
# display: block; | |
# font: 1.0em Consolas, Menlo, Monaco, Courier, monospace; | |
# margin-bottom: 0.7em; | |
# margin-top: 0.7em; | |
# } | |
# table { | |
# border-collapse: collapse; | |
# width: 100%; | |
# } | |
# td { padding: 0.5em } | |
# .box { | |
# background-color: #fff; | |
# border: 1px solid #c1c1c1; | |
# overflow: hidden; | |
# padding: 1em; | |
# } | |
# .code { | |
# background-color: #1a1a1a; | |
# background: url(/mojo/pinstripe-dark.png); | |
# color: #eee; | |
# text-shadow: #333 0 1px 0; | |
# } | |
# .important { | |
# background-color: rgba(47, 48, 50, .75); | |
# } | |
# .infobox { | |
# color: #333; | |
# } | |
# .infobox tr:nth-child(odd) .value { | |
# background-color: #ddeeff; | |
# } | |
# .infobox tr:nth-child(even) .value { | |
# background-color: #eef9ff; | |
# } | |
# .key { | |
# text-align: right; | |
# } | |
# .more table { | |
# margin-bottom: 1em; | |
# } | |
# .spaced { | |
# margin-left: 5em; | |
# margin-right: 5em; | |
# } | |
# .striped { | |
# border-top: solid #cce4ff 1px; | |
# } | |
# .tap { | |
# font: 0.5em Verdana, sans-serif; | |
# text-align: center; | |
# } | |
# .value { | |
# padding-left: 1em; | |
# } | |
# .wide { | |
# width: 100%; | |
# } | |
# #error { | |
# font: 1.5em 'Helvetica Neue', Helvetica, sans-serif; | |
# font-weight: 300; | |
# margin: 0; | |
# text-shadow: #333 0 1px 0; | |
# } | |
# #footer { | |
# padding-top: 0.5em; | |
# text-align: center; | |
# } | |
# #nothing { | |
# border-bottom: 0; | |
# padding-top: 20px; | |
# } | |
# #showcase { | |
# border-bottom: 0; | |
# border-top: 0; | |
# } | |
# #showcase table { | |
# margin-top: 1em; | |
# } | |
# #showcase td { | |
# padding-top: 0; | |
# padding-bottom: 0; | |
# } | |
# #showcase .key { | |
# padding-right: 0; | |
# } | |
# #log { | |
# border-radius: 5px; | |
# margin-top: 1em; | |
# } | |
# #log table { | |
# margin: 0; | |
# } | |
# #mojobar { | |
# background-color: #1a1a1a; | |
# background: -webkit-linear-gradient(top, #2a2a2a 0%, #000 100%); | |
# background: -moz-linear-gradient(top, #2a2a2a 0%, #000 100%); | |
# background: linear-gradient(top, #2a2a2a 0%, #000 100%); | |
# box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5); | |
# height: 46px; | |
# overflow: hidden; | |
# width: 100%; | |
# z-index: 1000; | |
# } | |
# #mojobar-brand { | |
# display: inline-block; | |
# padding-left: 50px; | |
# padding-top: 4px; | |
# } | |
# #mojobar-links { | |
# display: inline; | |
# float: right; | |
# height: 60px; | |
# margin-top: 0.8em; | |
# padding-right: 50px; | |
# } | |
# #mojobar-links a { | |
# color: #bbb; | |
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif; | |
# margin-left: 0.5em; | |
# text-decoration: none; | |
# transition: all 200ms ease-in-out; | |
# } | |
# #mojobar-links a:hover { | |
# color: #fff; | |
# } | |
# #mojobar-links input { | |
# background-color: #3a3a3a; | |
# border: 1px solid rgba(0, 0, 0, 0.1); | |
# border-radius: 3px; | |
# color: #eee; | |
# display: inline; | |
# margin-left: 1em; | |
# padding: 4px; | |
# transition: all 0.15s; | |
# } | |
# #mojobar-links input:focus { | |
# background-color: #fff; | |
# color: #111; | |
# outline: 0; | |
# } | |
# #mojobar-links form { | |
# display: inline; | |
# } | |
# #more, #trace { | |
# border-bottom-left-radius: 5px; | |
# border-bottom-right-radius: 5px; | |
# } | |
# #more .tap, #trace .tap { | |
# text-shadow: #ddd 0 1px 0; | |
# } | |
# #request { | |
# border-bottom: 0; | |
# border-top-left-radius: 5px; | |
# border-top-right-radius: 5px; | |
# margin-top: 1em; | |
# } | |
# #routes { | |
# border-bottom-left-radius: 5px; | |
# border-bottom-right-radius: 5px; | |
# padding-top: 30px; | |
# } | |
# #trace { | |
# border-top: 0; | |
# } | |
# #wrapperlicious { | |
# max-width: 1000px; | |
# margin: 0 auto; | |
# } | |
# </style> | |
# </head> | |
# <body> | |
# <div id="mojobar"> | |
# <a href="https://mojolicious.org" id="mojobar-brand"> | |
# <picture> | |
# <img src="/mojo/logo-white.png" | |
# srcset="/mojo/logo-white-2x.png 2x"> | |
# </picture> | |
# </a> <div id="mojobar-links"> | |
# <a href="https://mojolicious.org/perldoc">Documentation</a> | |
# <a href="https://kiwiirc.com/nextclient/#irc://irc.freenode.net/mojo?nick=guest-?">Chat</a> | |
# <a href="https://github.com/mojolicious/mojo/wiki">Wiki</a> | |
# <a href="https://github.com/mojolicious/mojo">GitHub</a> | |
# <a href="https://metacpan.org/release/Mojolicious/">CPAN</a> | |
# <a href="https://groups.google.com/group/mojolicious">MailingList</a> | |
# <a href="https://twitter.com/perlmojo">Twitter</a> | |
# <form action="https://www.google.com/cse" target="_blank"> | |
# <input name="cx" type="hidden" value="014527573091551588235:pwfplkjpgbi"> | |
# <input name="ie" type="hidden" value="UTF-8"> | |
# <input name="q" placeholder="Search" type="search"> | |
# </form> | |
# </div> | |
# </div> | |
# <script> | |
# function mojoDrawer(handle, drawer) { | |
# $(handle).on('click', function () { | |
# $(drawer).slideToggle('slow'); | |
# var text = $(handle + ' div.tap').text(); | |
# text = text == "tap for more" ? "tap for less" : "tap for more"; | |
# $(handle + ' div.tap').text(text); | |
# }); | |
# $(drawer).toggle(); | |
# } | |
# $(function () { | |
# mojoDrawer('#trace', '#frames'); | |
# mojoDrawer('#more', '#infos'); | |
# }); | |
# </script> | |
# <div id="wrapperlicious"> | |
# <div id="nothing" class="box spaced"></div> | |
# <div id="showcase" class="box code spaced"> | |
# <pre id="error">Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# </pre> | |
# <div id="context" class="more"> | |
# <table> | |
# <tr> | |
# <td class="key">28</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint">sub _asset_version {</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">29</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> my $app = shift->app;</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">30</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> return $app->config->{asset_version} if $app->config->{asset_version};</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">31</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"></code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">32</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> my $mode = $app->mode eq 'development' ? 'development' : 'production';</code></pre> | |
# </td> | |
# </tr> | |
# <tr class="important"> | |
# <td class="key">33</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> my @paths = (</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">34</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> $app->static->file("asset/webpack.$mode.html")->path,</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">35</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> $app->renderer->template_path({template => 'sw', format => 'js', handler => 'ep'}),</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">36</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> );</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">37</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"></code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">38</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> my $version = 0;</code></pre> | |
# </td> | |
# </tr> | |
# </table> | |
# </div> | |
# </div> | |
# <div id="trace" class="box spaced"> | |
# <div id="frames" class="infobox more"> | |
# <table> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 33, in "Convos::Plugin::Helpers"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Controller.pm", line 29, in "Mojolicious::Controller"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 124, in "Convos::Plugin::Helpers"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 93, in "Convos::Plugin::Helpers"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Controller.pm", line 29, in "Mojolicious::Controller"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/lib/Convos.pm", line 112, in "Convos"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugins.pm", line 23, in "Mojolicious::Plugins"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 112, in "Mojolicious"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 141, in "Mojolicious"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugins.pm", line 15, in "Mojolicious::Plugins"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 213, in "Mojolicious"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 213, in "Mojolicious"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugins.pm", line 15, in "Mojolicious::Plugins"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugins.pm", line 18, in "Mojolicious::Plugins"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 146, in "Mojolicious"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Server.pm", line 68, in "Mojo::Server"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/EventEmitter.pm", line 15, in "Mojo::EventEmitter"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Server/Daemon.pm", line 104, in "Mojo::Server::Daemon"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/EventEmitter.pm", line 15, in "Mojo::EventEmitter"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Transaction/HTTP.pm", line 60, in "Mojo::Transaction::HTTP"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Server/Daemon.pm", line 219, in "Mojo::Server::Daemon"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Server/Daemon.pm", line 200, in "Mojo::Server::Daemon"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/EventEmitter.pm", line 15, in "Mojo::EventEmitter"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop/Stream.pm", line 110, in "Mojo::IOLoop::Stream"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop/Stream.pm", line 58, in "Mojo::IOLoop::Stream"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 145, in "Mojo::Reactor::Poll"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 145, in "Mojo::Reactor::Poll"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 52, in "Mojo::Reactor::EV"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 30, in "Mojo::Reactor::EV"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 30, in "Mojo::Reactor::EV"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop.pm", line 134, in "Mojo::IOLoop"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/UserAgent.pm", line 65, in "Mojo::UserAgent"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 396, in "Test::Mojo"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 343, in "Test::Mojo"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 121, in "Test::Mojo"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "t/web-base-url.t", line 26, in "main"</pre> | |
# </td> | |
# </tr> | |
# </table> | |
# </div> | |
# <div class="tap">tap for more</div> | |
# </div> | |
# <div id="request" class="box infobox spaced"> | |
# <table> | |
# <tr> | |
# <td class="key">Request ID:</td> | |
# <td class="striped value wide"><pre>0df9d4f0</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Method:</td> | |
# <td class="striped value wide"><pre>GET</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">URL:</td> | |
# <td class="striped value wide"><pre>/t/request-base?x=1</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Base URL:</td> | |
# <td class="striped value wide"><pre>http://127.0.0.1:50014</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Parameters:</td> | |
# <td class="striped value wide"><pre>{ | |
# "x" => 1 | |
# } | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Stash:</td> | |
# <td class="striped value wide"><pre>{ | |
# "debug" => [ | |
# "info" | |
# ], | |
# "openapi.base_paths" => [ | |
# [ | |
# "/api", | |
# bless( { | |
# "default_response_codes" => [ | |
# 400, | |
# 401, | |
# 404, | |
# 500, | |
# 501 | |
# ], | |
# "default_response_name" => "DefaultResponse", | |
# "log_level" => "warn", | |
# "parameters_for" => { | |
# "/connection/{connection_id}" => { | |
# "delete" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# } | |
# ], | |
# "post" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# }, | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ), | |
# "schema" => { | |
# "properties" => { | |
# "on_connect_commands" => { | |
# "description" => "Commands to be run after the connection is established", | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array" | |
# }, | |
# "url" => { | |
# "description" => "Example: irc://user:pass\@irc.perl.org?nick=superman", | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "wanted_state" => { | |
# "description" => "Connection state", | |
# "enum" => [ | |
# "connected", | |
# "disconnected" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# } | |
# ] | |
# }, | |
# "/connection/{connection_id}/dialog/{dialog_id}/messages" => { | |
# "get" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# }, | |
# { | |
# "\$ref" => "#/parameters/dialog_id" | |
# }, | |
# { | |
# "description" => "Find messages after a given ISO 8601 timestamp", | |
# "format" => "date-time", | |
# "in" => "query", | |
# "name" => "after", | |
# "type" => "string" | |
# }, | |
# { | |
# "description" => "Find messages before a given ISO 8601 timestamp", | |
# "format" => "date-time", | |
# "in" => "query", | |
# "name" => "before", | |
# "type" => "string" | |
# }, | |
# { | |
# "description" => "Max number of messages to retrieve", | |
# "in" => "query", | |
# "name" => "limit", | |
# "type" => "integer" | |
# }, | |
# { | |
# "description" => "Messages must match this string", | |
# "in" => "query", | |
# "name" => "match", | |
# "type" => "string" | |
# } | |
# ] | |
# }, | |
# "/connection/{connection_id}/dialog/{dialog_id}/read" => { | |
# "post" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# }, | |
# { | |
# "\$ref" => "#/parameters/dialog_id" | |
# } | |
# ] | |
# }, | |
# "/connection/{connection_id}/messages" => { | |
# "get" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# }, | |
# { | |
# "description" => "Find messages after a given ISO 8601 timestamp", | |
# "format" => "date-time", | |
# "in" => "query", | |
# "name" => "after", | |
# "type" => "string" | |
# }, | |
# { | |
# "description" => "Find messages before a given ISO 8601 timestamp", | |
# "format" => "date-time", | |
# "in" => "query", | |
# "name" => "before", | |
# "type" => "string" | |
# }, | |
# { | |
# "description" => "Max number of messages to retrieve", | |
# "in" => "query", | |
# "name" => "limit", | |
# "type" => "integer" | |
# }, | |
# { | |
# "description" => "Messages must match this string", | |
# "in" => "query", | |
# "name" => "match", | |
# "type" => "string" | |
# } | |
# ] | |
# }, | |
# "/connection/{connection_id}/read" => { | |
# "post" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# } | |
# ] | |
# }, | |
# "/connections" => { | |
# "get" => [], | |
# "post" => [ | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "schema" => { | |
# "properties" => { | |
# "on_connect_commands" => { | |
# "description" => "Commands to be run after the connection is established", | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array" | |
# }, | |
# "url" => { | |
# "description" => "Example: irc://user:pass\@irc.perl.org?nick=superman", | |
# "type" => "string" | |
# }, | |
# "wanted_state" => { | |
# "description" => "Connection state", | |
# "enum" => [ | |
# "connected", | |
# "disconnected" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "url" | |
# ], | |
# "type" => "object" | |
# } | |
# } | |
# ] | |
# }, | |
# "/dialogs" => { | |
# "get" => [] | |
# }, | |
# "/embed" => { | |
# "get" => [ | |
# { | |
# "description" => "URL to resource", | |
# "in" => "query", | |
# "name" => "url", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string" | |
# } | |
# ] | |
# }, | |
# "/file" => { | |
# "post" => [ | |
# { | |
# "in" => "formData", | |
# "name" => "file", | |
# "required" => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ), | |
# "type" => "file" | |
# }, | |
# { | |
# "in" => "formData", | |
# "name" => "id", | |
# "type" => "string" | |
# }, | |
# { | |
# "in" => "formData", | |
# "name" => "write_only", | |
# "type" => "boolean" | |
# } | |
# ] | |
# }, | |
# "/file/:uid/:fid" => { | |
# "get" => [ | |
# { | |
# "in" => "path", | |
# "name" => "fid", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string" | |
# }, | |
# { | |
# "in" => "path", | |
# "name" => "uid", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string" | |
# } | |
# ] | |
# }, | |
# "/notifications" => { | |
# "get" => [] | |
# }, | |
# "/notifications/read" => { | |
# "post" => [] | |
# }, | |
# "/settings" => { | |
# "get" => [], | |
# "post" => [ | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "schema" => { | |
# "\$ref" => "#/definitions/ServerSettings" | |
# } | |
# } | |
# ] | |
# }, | |
# "/user" => { | |
# "delete" => [], | |
# "get" => [ | |
# { | |
# "description" => "Retrieve connection list.", | |
# "in" => "query", | |
# "name" => "connections", | |
# "type" => "boolean" | |
# }, | |
# { | |
# "description" => "Retrieve dialog list.", | |
# "in" => "query", | |
# "name" => "dialogs", | |
# "type" => "boolean" | |
# }, | |
# { | |
# "description" => "Retrieve notifications list.", | |
# "in" => "query", | |
# "name" => "notifications", | |
# "type" => "boolean" | |
# } | |
# ], | |
# "post" => [ | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "schema" => { | |
# "properties" => { | |
# "highlight_keywords" => { | |
# "description" => "Extra keywords to highlight on", | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array" | |
# }, | |
# "password" => { | |
# "\$ref" => "#/definitions/password" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# } | |
# ] | |
# }, | |
# "/user/login" => { | |
# "post" => [ | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "schema" => { | |
# "properties" => { | |
# "email" => { | |
# "description" => "User email", | |
# "format" => "email", | |
# "type" => "string" | |
# }, | |
# "password" => { | |
# "description" => "User password", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "email", | |
# "password" | |
# ], | |
# "type" => "object" | |
# } | |
# } | |
# ] | |
# }, | |
# "/user/logout" => { | |
# "get" => [] | |
# }, | |
# "/user/register" => { | |
# "post" => [ | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "schema" => { | |
# "properties" => { | |
# "email" => { | |
# "description" => "User email", | |
# "format" => "email", | |
# "type" => "string" | |
# }, | |
# "exp" => { | |
# "description" => "Expire time for a token", | |
# "type" => "string" | |
# }, | |
# "password" => { | |
# "\$ref" => "#/definitions/password" | |
# }, | |
# "token" => { | |
# "description" => "Checksum generated by inviteUser", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "email", | |
# "password" | |
# ], | |
# "type" => "object" | |
# } | |
# } | |
# ] | |
# }, | |
# "/user/{email}/invite" => { | |
# "post" => [ | |
# { | |
# "\$ref" => "#/parameters/email_in_path" | |
# }, | |
# { | |
# "description" => "Role to give the user.", | |
# "in" => "query", | |
# "name" => "role", | |
# "type" => "string" | |
# } | |
# ] | |
# } | |
# }, | |
# "route" => bless( { | |
# "children" => [ | |
# bless( { | |
# "children" => [], | |
# "name" => "", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" } | |
# }, | |
# "types" => { | |
# "num" => qr/[0-9]+/ | |
# } | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "uploadFile", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "upload", | |
# "controller" => "files", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/file" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/file" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/file", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "deleteUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "delete", | |
# "controller" => "user", | |
# "openapi.method" => "delete", | |
# "openapi.path" => "/user" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "DELETE" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "getUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "get", | |
# "controller" => "user", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/user" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "updateUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "update", | |
# "controller" => "user", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/user" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "embed", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "info", | |
# "controller" => "url", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/embed" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/embed" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/embed", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "listDialogs", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "list", | |
# "controller" => "dialog", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/dialogs" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/dialogs" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/dialogs", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "getSettings", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "settings_get", | |
# "controller" => "admin", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/settings" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/settings" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/settings", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "updateSettings", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "settings_update", | |
# "controller" => "admin", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/settings" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/settings" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/settings", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "loginUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "login", | |
# "controller" => "user", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/user/login" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/login" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/login", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "logoutUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "logout", | |
# "controller" => "user", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/user/logout" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/logout" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/logout", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "listConnections", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "list", | |
# "controller" => "connection", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/connections" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connections" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connections", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "createConnection", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "create", | |
# "controller" => "connection", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/connections" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connections" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connections", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "notificationMessages", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "messages", | |
# "controller" => "notifications", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/notifications" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/notifications" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/notifications", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "registerUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "register", | |
# "controller" => "user", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/user/register" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/register" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/register", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "getFile", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "get", | |
# "controller" => "files", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/file/:uid/:fid" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/file" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "uid" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "fid" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/file/:uid/:fid", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "readNotifications", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "read", | |
# "controller" => "notifications", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/notifications/read" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/notifications/read" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/notifications/read", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "inviteUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "generate_invite_link", | |
# "controller" => "user", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/user/{email}/invite" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "email", | |
# "relaxed" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "invite" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/<#email>/invite", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "removeConnection", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "remove", | |
# "controller" => "connection", | |
# "openapi.method" => "delete", | |
# "openapi.path" => "/connection/{connection_id}" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "DELETE" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "updateConnection", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "update", | |
# "controller" => "connection", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/connection/{connection_id}" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "setConnectionLastRead", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "last_read", | |
# "controller" => "dialog", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/connection/{connection_id}/read" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "read" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/read", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "connectionMessages", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "messages", | |
# "controller" => "dialog", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/connection/{connection_id}/messages" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "messages" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/messages", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "setDialogLastRead", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "last_read", | |
# "controller" => "dialog", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/connection/{connection_id}/dialog/{dialog_id}/read" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "dialog" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "dialog_id", | |
# "relaxed" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "read" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/dialog/<#dialog_id>/read", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "dialogMessages", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "messages", | |
# "controller" => "dialog", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/connection/{connection_id}/dialog/{dialog_id}/messages" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "dialog" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "dialog_id", | |
# "relaxed" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "messages" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/dialog/<#dialog_id>/messages", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "uploadFile_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/file" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/file", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "deleteUser_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "embed_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/embed" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/embed", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "listDialogs_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/dialogs" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/dialogs", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "getSettings_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/settings" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/settings", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "loginUser_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/login" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/login", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "logoutUser_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/logout" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/logout", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "listConnections_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connections" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connections", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "notificationMessages_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/notifications" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/notifications", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "registerUser_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/register" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/register", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "getFile_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/file" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "uid" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "fid" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/file/:uid/:fid", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "readNotifications_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/notifications/read" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/notifications/read", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "inviteUser_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "email", | |
# "relaxed" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "invite" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/<#email>/invite", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "removeConnection_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "setConnectionLastRead_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "read" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/read", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "connectionMessages_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "messages" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/messages", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "setDialogLastRead_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "dialog" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "dialog_id", | |
# "relaxed" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "read" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/dialog/<#dialog_id>/read", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "dialogMessages_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "dialog" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "dialog_id", | |
# "relaxed" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "messages" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/dialog/<#dialog_id>/messages", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ) | |
# ], | |
# "has_websocket" => 0, | |
# "name" => "api", | |
# "parent" => bless( { | |
# "children" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "index", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "load_user" => 1, | |
# "template" => "index" | |
# }, | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"} | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "docsdoc_name", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "docs", | |
# "controller" => "user", | |
# "doc_name" => "" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/docs" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "doc_name", | |
# "wildcard" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/docs/*doc_name", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "register", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "register_html", | |
# "controller" => "user" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/register" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/register", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "login", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "template" => "index" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/login" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/login", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "logout", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "template" => "index" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/logout" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/logout", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "assetbrowserconfighash", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => { | |
# "format" => [ | |
# "xml" | |
# ] | |
# }, | |
# "defaults" => { | |
# "template" => "asset/browserconfig" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/asset/browserconfig." | |
# ], | |
# [ | |
# "placeholder", | |
# "hash" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/asset/browserconfig.<:hash>", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "assetsitehash", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => { | |
# "format" => [ | |
# "webmanifest" | |
# ] | |
# }, | |
# "defaults" => { | |
# "template" => "asset/site" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/asset/site." | |
# ], | |
# [ | |
# "placeholder", | |
# "hash" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/asset/site.<:hash>", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "err500", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" } | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/err/500" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/err/500", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "errcode", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "err", | |
# "controller" => "url" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/err" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "code" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/err/:code", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "sw", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => { | |
# "format" => "js" | |
# }, | |
# "defaults" => {}, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/sw" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/sw", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "events", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "start", | |
# "controller" => "events" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/events" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/events", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ], | |
# "websocket" => 1 | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [ | |
# bless( { | |
# "children" => [], | |
# "name" => "help", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[12], | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "template" => "index" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/help" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/help", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "chatrest", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[12], | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "rest" => "", | |
# "template" => "index" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/chat" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "rest", | |
# "wildcard" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/chat/*rest", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "settingsrest", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[12], | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "rest" => "", | |
# "template" => "index" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/settings" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "rest", | |
# "wildcard" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/settings/*rest", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ) | |
# ], | |
# "inline" => 1, | |
# "name" => "", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "redirect_if_not_logged_in", | |
# "controller" => "user" | |
# }, | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"} | |
# }, 'Mojolicious::Routes::Pattern' ) | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "fileuidfid", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "get", | |
# "controller" => "files" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/file" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "uid" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "fid" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/file/:uid/:fid", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "pasteemail_hashfile_hash", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" } | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/paste" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "email_hash" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "file_hash" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/paste/:email_hash/:file_hash", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "webpack.asset", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => {}, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/asset" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "name", | |
# "wildcard" | |
# ] | |
# ], | |
# "type_start" => ":", | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/asset/*name", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "HEAD", | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "tbaseurl", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" } | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/t/base-url" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/t/base-url", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "name" => "trequestbase", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" } | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/t/request-base" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/t/request-base", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ) | |
# ], | |
# "conditions" => { | |
# "agent" => sub { "DUMMY" }, | |
# "headers" => sub { "DUMMY" }, | |
# "host" => sub { "DUMMY" } | |
# }, | |
# "hidden" => [ | |
# "attr", | |
# "has", | |
# "new", | |
# "tap", | |
# "app", | |
# "cookie", | |
# "every_cookie", | |
# "every_param", | |
# "every_signed_cookie", | |
# "finish", | |
# "helpers", | |
# "match", | |
# "on", | |
# "param", | |
# "render", | |
# "render_later", | |
# "render_maybe", | |
# "render_to_string", | |
# "rendered", | |
# "req", | |
# "res", | |
# "send", | |
# "session", | |
# "signed_cookie", | |
# "stash", | |
# "tx", | |
# "url_for", | |
# "write", | |
# "write_chunk" | |
# ], | |
# "namespaces" => [ | |
# "Convos::Controller" | |
# ], | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "tree" => [], | |
# "type_start" => ":" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "reverse" => { | |
# "" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[12], | |
# "api" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "assetbrowserconfighash" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[6], | |
# "assetsitehash" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[7], | |
# "chatrest" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[12]{"children"}[1], | |
# "connectionMessages" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[21], | |
# "connectionMessages_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[39], | |
# "createConnection" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[12], | |
# "deleteUser" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[2], | |
# "deleteUser_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[25], | |
# "dialogMessages" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[23], | |
# "dialogMessages_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[41], | |
# "docsdoc_name" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[2], | |
# "embed" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[5], | |
# "embed_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[26], | |
# "err500" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[8], | |
# "errcode" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[9], | |
# "events" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[11], | |
# "fileuidfid" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[13], | |
# "getFile" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[15], | |
# "getFile_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[34], | |
# "getSettings" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[7], | |
# "getSettings_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[28], | |
# "getUser" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[3], | |
# "help" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[12]{"children"}[0], | |
# "index" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[1], | |
# "inviteUser" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[17], | |
# "inviteUser_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[36], | |
# "listConnections" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[11], | |
# "listConnections_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[31], | |
# "listDialogs" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[6], | |
# "listDialogs_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[27], | |
# "login" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[4], | |
# "loginUser" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[9], | |
# "loginUser_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[29], | |
# "logout" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[5], | |
# "logoutUser" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[10], | |
# "logoutUser_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[30], | |
# "notificationMessages" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[13], | |
# "notificationMessages_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[32], | |
# "pasteemail_hashfile_hash" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[14], | |
# "readNotifications" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[16], | |
# "readNotifications_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[35], | |
# "register" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[3], | |
# "registerUser" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[14], | |
# "registerUser_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[33], | |
# "removeConnection" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[18], | |
# "removeConnection_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[37], | |
# "setConnectionLastRead" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[20], | |
# "setConnectionLastRead_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[38], | |
# "setDialogLastRead" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[22], | |
# "setDialogLastRead_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[40], | |
# "settingsrest" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[12]{"children"}[2], | |
# "sw" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[10], | |
# "tbaseurl" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[16], | |
# "trequestbase" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[17], | |
# "updateConnection" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[19], | |
# "updateSettings" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[8], | |
# "updateUser" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[4], | |
# "uploadFile" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[1], | |
# "uploadFile_openapi_documentation" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[24], | |
# "webpack.asset" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"parent"}{"children"}[15] | |
# }, | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"} | |
# }, 'Mojolicious::Routes' ), | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "handler" => "openapi", | |
# "openapi.object" => $VAR1->{"openapi.base_paths"}[0][1] | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/api" | |
# ] | |
# ], | |
# "type_start" => ":", | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/api", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ) | |
# }, 'Mojolicious::Routes::Route' ), | |
# "route_prefix" => "", | |
# "validator" => bless( { | |
# "coerce" => { | |
# "booleans" => 1, | |
# "numbers" => 1, | |
# "strings" => 1 | |
# }, | |
# "root_schema_url" => bless( do{\(my $o = "/Users/marcus/Source/convos/public/convos-api.json")}, 'Mojo::File' ), | |
# "schema" => bless( { | |
# "data" => { | |
# "basePath" => "/api", | |
# "definitions" => { | |
# "Connection" => { | |
# "properties" => { | |
# "connection_id" => { | |
# "description" => "Unique identifier for this connection", | |
# "type" => "string" | |
# }, | |
# "name" => { | |
# "description" => "Name for this connection", | |
# "type" => "string" | |
# }, | |
# "on_connect_commands" => { | |
# "description" => "Commands to be run after the connection is established", | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array" | |
# }, | |
# "state" => { | |
# "description" => "Actual connection state", | |
# "enum" => [ | |
# "connected", | |
# "queued", | |
# "disconnected" | |
# ], | |
# "type" => "string" | |
# }, | |
# "url" => { | |
# "description" => "Example: irc://user:\@irc.perl.org?nick=superman (Note: Without password)", | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "wanted_state" => { | |
# "description" => "Wanted connection state", | |
# "enum" => [ | |
# "connected", | |
# "disconnected" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "connection_id", | |
# "url" | |
# ] | |
# }, | |
# "DefaultResponse" => { | |
# "properties" => { | |
# "errors" => { | |
# "items" => { | |
# "properties" => { | |
# "message" => { | |
# "type" => "string" | |
# }, | |
# "path" => { | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "message" | |
# ], | |
# "type" => "object" | |
# }, | |
# "type" => "array" | |
# } | |
# }, | |
# "required" => [ | |
# "errors" | |
# ], | |
# "type" => "object" | |
# }, | |
# "Dialog" => { | |
# "properties" => { | |
# "connection_id" => { | |
# "description" => "Unique identifier for the connection this dialog is part of", | |
# "type" => "string" | |
# }, | |
# "dialog_id" => { | |
# "description" => "Unique identifier for the dialog", | |
# "type" => "string" | |
# }, | |
# "last_active" => { | |
# "format" => "date-time", | |
# "type" => "string" | |
# }, | |
# "last_read" => { | |
# "format" => "date-time", | |
# "type" => "string" | |
# }, | |
# "name" => { | |
# "description" => "Name of the room or person", | |
# "type" => "string" | |
# }, | |
# "topic" => { | |
# "description" => "The subjec/topic for this room", | |
# "type" => "string" | |
# }, | |
# "unread" => { | |
# "description" => "Number of unread messages", | |
# "type" => "integer" | |
# } | |
# }, | |
# "required" => [ | |
# "connection_id", | |
# "dialog_id", | |
# "last_read", | |
# "name", | |
# "unread" | |
# ] | |
# }, | |
# "Error" => { | |
# "properties" => { | |
# "errors" => { | |
# "items" => { | |
# "properties" => { | |
# "message" => { | |
# "description" => "Human readable description of the error", | |
# "type" => "string" | |
# }, | |
# "path" => { | |
# "description" => "JSON pointer to the input data where the error occur", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "message" | |
# ] | |
# }, | |
# "type" => "array" | |
# } | |
# } | |
# }, | |
# "Message" => { | |
# "properties" => { | |
# "from" => { | |
# "description" => "Identifier for who sent this message", | |
# "type" => "string" | |
# }, | |
# "message" => { | |
# "description" => "The message", | |
# "type" => "string" | |
# }, | |
# "ts" => { | |
# "description" => "Example: 2015-09-06T13:49:37Z", | |
# "format" => "date-time", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "message", | |
# "from", | |
# "ts" | |
# ] | |
# }, | |
# "Notification" => { | |
# "properties" => { | |
# "connection_id" => { | |
# "description" => "Unique identifier for the connection this notification came from", | |
# "type" => "string" | |
# }, | |
# "dialog_id" => { | |
# "description" => "Dialog ID", | |
# "type" => "string" | |
# }, | |
# "from" => { | |
# "description" => "Identifier for who sent this message", | |
# "type" => "string" | |
# }, | |
# "message" => { | |
# "description" => "The message", | |
# "type" => "string" | |
# }, | |
# "ts" => { | |
# "description" => "Example: 2015-09-06T13:49:37Z", | |
# "format" => "date-time", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "message", | |
# "from", | |
# "ts" | |
# ] | |
# }, | |
# "ServerSettings" => { | |
# "properties" => { | |
# "contact" => { | |
# "minLength" => 3, | |
# "type" => "string" | |
# }, | |
# "default_connection" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "open_to_public" => { | |
# "type" => "boolean" | |
# }, | |
# "organization_name" => { | |
# "type" => "string" | |
# }, | |
# "organization_url" => { | |
# "type" => "string" | |
# } | |
# } | |
# }, | |
# "Success" => { | |
# "properties" => { | |
# "message" => { | |
# "description" => "Human readable description", | |
# "type" => "string" | |
# } | |
# } | |
# }, | |
# "User" => { | |
# "properties" => { | |
# "connections" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/Connection" | |
# }, | |
# "type" => "array" | |
# }, | |
# "dialogs" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/Dialog" | |
# }, | |
# "type" => "array" | |
# }, | |
# "email" => { | |
# "description" => "Unique email identifying a user in Convos", | |
# "type" => "string" | |
# }, | |
# "highlight_keywords" => { | |
# "description" => "Extra keywords to highlight on", | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array" | |
# }, | |
# "registered" => { | |
# "description" => "Example: 2015-09-06T10:47:31Z", | |
# "format" => "date-time", | |
# "type" => "string" | |
# }, | |
# "unread" => { | |
# "description" => "Number of unread notifications", | |
# "type" => "integer" | |
# } | |
# }, | |
# "required" => [ | |
# "email", | |
# "unread" | |
# ] | |
# }, | |
# "password" => { | |
# "description" => "User password", | |
# "minLength" => 10, | |
# "type" => "string" | |
# } | |
# }, | |
# "host" => "demo.convos.by", | |
# "info" => { | |
# "contact" => { | |
# "name" => "Convos", | |
# "url" => "https://github.com/Nordaaker/convos" | |
# }, | |
# "description" => "This document describes the API for Convos, a multiuser persistent IRC proxy with web interface.", | |
# "license" => { | |
# "name" => "Artistic License version 2.0", | |
# "url" => "http://opensource.org/licenses/Artistic-2.0" | |
# }, | |
# "termsOfService" => "SSL (HTTPS) is highly suggested, since login credentials and session cookies are transmitted over this API.", | |
# "title" => "Convos API specification", | |
# "version" => "3.8.0" | |
# }, | |
# "parameters" => { | |
# "connection_id" => { | |
# "description" => "A unique connection identifier", | |
# "in" => "path", | |
# "name" => "connection_id", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string" | |
# }, | |
# "dialog_id" => { | |
# "default" => "", | |
# "description" => "The name of the person or room", | |
# "in" => "path", | |
# "name" => "dialog_id", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string", | |
# "x-mojo-placeholder" => "#" | |
# }, | |
# "email_in_path" => { | |
# "description" => "User email", | |
# "format" => "email", | |
# "in" => "path", | |
# "name" => "email", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string", | |
# "x-mojo-placeholder" => "#" | |
# }, | |
# "ident" => { | |
# "description" => "User email or server identity", | |
# "in" => "path", | |
# "name" => "ident", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string" | |
# } | |
# }, | |
# "paths" => { | |
# "/connection/{connection_id}" => { | |
# "delete" => { | |
# "operationId" => "removeConnection", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"delete"}[0] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "Remove a connection.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Success" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}"}{"delete"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}"}{"delete"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}"}{"delete"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}"}{"delete"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Delete a connection and all assosiated data.", | |
# "tags" => [ | |
# "connection" | |
# ], | |
# "x-mojo-to" => "connection#remove" | |
# }, | |
# "post" => { | |
# "operationId" => "updateConnection", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[0], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "Update a connection.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Connection" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Update a connection.", | |
# "tags" => [ | |
# "connection" | |
# ], | |
# "x-mojo-to" => "connection#update" | |
# } | |
# }, | |
# "/connection/{connection_id}/dialog/{dialog_id}/messages" => { | |
# "get" => { | |
# "operationId" => "dialogMessages", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}[0], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}[1], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}[2], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}[3], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}[4], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}[5] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "List of messages.", | |
# "schema" => { | |
# "properties" => { | |
# "end" => { | |
# "description" => "Indicates if historic messages can be received.", | |
# "type" => "boolean" | |
# }, | |
# "messages" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/Message" | |
# }, | |
# "type" => "array" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/dialog/{dialog_id}/messages"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Internal server error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Get a list of messages.\n\nNote: this resource require the user to be authenticated first.", | |
# "tags" => [ | |
# "dialog" | |
# ], | |
# "x-mojo-to" => "dialog#messages" | |
# } | |
# }, | |
# "/connection/{connection_id}/dialog/{dialog_id}/read" => { | |
# "post" => { | |
# "operationId" => "setDialogLastRead", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/dialog/{dialog_id}/read"}{"post"}[0], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/dialog/{dialog_id}/read"}{"post"}[1] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "Successful response.", | |
# "schema" => { | |
# "properties" => { | |
# "last_read" => { | |
# "format" => "date-time", | |
# "type" => "string" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/dialog/{dialog_id}/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/dialog/{dialog_id}/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/dialog/{dialog_id}/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/dialog/{dialog_id}/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Internal server error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Set 'last_read' for a dialog.", | |
# "tags" => [ | |
# "dialog" | |
# ], | |
# "x-mojo-to" => "dialog#last_read" | |
# } | |
# }, | |
# "/connection/{connection_id}/messages" => { | |
# "get" => { | |
# "operationId" => "connectionMessages", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/messages"}{"get"}[0], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/messages"}{"get"}[1], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/messages"}{"get"}[2], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/messages"}{"get"}[3], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/messages"}{"get"}[4] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "List of messages.", | |
# "schema" => { | |
# "properties" => { | |
# "end" => { | |
# "description" => "Indicates if historic messages can be received.", | |
# "type" => "boolean" | |
# }, | |
# "messages" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/Message" | |
# }, | |
# "type" => "array" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/messages"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/messages"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/messages"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/messages"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Internal server error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Get a list of messages.\n\nNote: this resource require the user to be authenticated first.", | |
# "tags" => [ | |
# "dialog" | |
# ], | |
# "x-mojo-to" => "dialog#messages" | |
# } | |
# }, | |
# "/connection/{connection_id}/read" => { | |
# "post" => { | |
# "operationId" => "setConnectionLastRead", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}/read"}{"post"}[0] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "Successful response.", | |
# "schema" => { | |
# "properties" => { | |
# "last_read" => { | |
# "format" => "date-time", | |
# "type" => "string" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connection/{connection_id}/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Internal server error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Set 'last_read' for a connection dialog.", | |
# "tags" => [ | |
# "connection" | |
# ], | |
# "x-mojo-to" => "dialog#last_read" | |
# } | |
# }, | |
# "/connections" => { | |
# "get" => { | |
# "operationId" => "listConnections", | |
# "responses" => { | |
# "200" => { | |
# "description" => "List of connections.", | |
# "schema" => { | |
# "properties" => { | |
# "connections" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/Connection" | |
# }, | |
# "type" => "array" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connections"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connections"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connections"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connections"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Get all the connections for a user.", | |
# "tags" => [ | |
# "connection" | |
# ], | |
# "x-mojo-to" => "connection#list" | |
# }, | |
# "post" => { | |
# "operationId" => "createConnection", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connections"}{"post"}[0] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "Connection information.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Connection" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connections"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connections"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connections"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/connections"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Add a connection.", | |
# "tags" => [ | |
# "connection" | |
# ], | |
# "x-mojo-to" => "connection#create" | |
# } | |
# }, | |
# "/dialogs" => { | |
# "get" => { | |
# "operationId" => "listDialogs", | |
# "responses" => { | |
# "200" => { | |
# "description" => "List of messages.", | |
# "schema" => { | |
# "properties" => { | |
# "dialogs" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/Dialog" | |
# }, | |
# "type" => "array" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/dialogs"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/dialogs"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/dialogs"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/dialogs"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Internal server error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Get a list of all dialogs.", | |
# "tags" => [ | |
# "dialog" | |
# ], | |
# "x-mojo-to" => "dialog#list" | |
# } | |
# }, | |
# "/embed" => { | |
# "get" => { | |
# "operationId" => "embed", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/embed"}{"get"}[0] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "Information about resource." | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/embed"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/embed"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/embed"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/embed"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Get information from a URL", | |
# "tags" => [], | |
# "x-mojo-to" => "url#info" | |
# } | |
# }, | |
# "/file" => { | |
# "post" => { | |
# "operationId" => "uploadFile", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/file"}{"post"}[0], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/file"}{"post"}[1], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/file"}{"post"}[2] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "Successfully uploaded.", | |
# "schema" => { | |
# "properties" => { | |
# "files" => { | |
# "items" => { | |
# "properties" => { | |
# "ext" => { | |
# "type" => "string" | |
# }, | |
# "filename" => { | |
# "type" => "string" | |
# }, | |
# "id" => { | |
# "type" => "string" | |
# }, | |
# "saved" => { | |
# "format" => "date-time", | |
# "type" => "string" | |
# }, | |
# "uid" => { | |
# "type" => "string" | |
# }, | |
# "url" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "ext", | |
# "filename", | |
# "id", | |
# "saved", | |
# "uid", | |
# "url" | |
# ], | |
# "type" => "object" | |
# }, | |
# "type" => "array" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/file"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/file"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/file"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/file"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Upload file.", | |
# "tags" => [ | |
# "files" | |
# ], | |
# "x-mojo-to" => "files#upload" | |
# } | |
# }, | |
# "/file/:uid/:fid" => { | |
# "get" => { | |
# "operationId" => "getFile", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/file/:uid/:fid"}{"get"}[0], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/file/:uid/:fid"}{"get"}[1] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "File found and served.", | |
# "schema" => { | |
# "type" => "string" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/file/:uid/:fid"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/file/:uid/:fid"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/file/:uid/:fid"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/file/:uid/:fid"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Retrieve uploaded file.", | |
# "tags" => [ | |
# "files" | |
# ], | |
# "x-mojo-to" => "files#get" | |
# } | |
# }, | |
# "/notifications" => { | |
# "get" => { | |
# "description" => "A notification is added once your name is mentioned in a chat.", | |
# "operationId" => "notificationMessages", | |
# "responses" => { | |
# "200" => { | |
# "description" => "List of notifications.", | |
# "schema" => { | |
# "properties" => { | |
# "messages" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/Notification" | |
# }, | |
# "type" => "array" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/notifications"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/notifications"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/notifications"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/notifications"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Get list of notications.", | |
# "tags" => [ | |
# "chat" | |
# ], | |
# "x-mojo-to" => "notifications#messages" | |
# } | |
# }, | |
# "/notifications/read" => { | |
# "post" => { | |
# "description" => "TODO: Notification count vs red/green toggling of a single notification.", | |
# "operationId" => "readNotifications", | |
# "responses" => { | |
# "200" => { | |
# "description" => "Successful response.", | |
# "schema" => { | |
# "properties" => {}, | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/notifications/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/notifications/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/notifications/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/notifications/read"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Mark notications as read.", | |
# "tags" => [ | |
# "chat" | |
# ], | |
# "x-mojo-to" => "notifications#read" | |
# } | |
# }, | |
# "/settings" => { | |
# "get" => { | |
# "operationId" => "getSettings", | |
# "responses" => { | |
# "200" => { | |
# "description" => "ServerSettings.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/ServerSettings" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/settings"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/settings"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/settings"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/settings"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Get settings for Convos.", | |
# "tags" => [ | |
# "settings" | |
# ], | |
# "x-mojo-to" => "admin#settings_get" | |
# }, | |
# "post" => { | |
# "operationId" => "updateSettings", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/settings"}{"post"}[0] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "User profile.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/ServerSettings" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/settings"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/settings"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/settings"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/settings"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Update settings for Convos.", | |
# "tags" => [ | |
# "settings" | |
# ], | |
# "x-mojo-to" => "admin#settings_update" | |
# } | |
# }, | |
# "/user" => { | |
# "delete" => { | |
# "operationId" => "deleteUser", | |
# "responses" => { | |
# "200" => { | |
# "description" => "Successfully deleted.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Success" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"delete"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"delete"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"delete"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"delete"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Delete a user.", | |
# "tags" => [ | |
# "user" | |
# ], | |
# "x-mojo-to" => "user#delete" | |
# }, | |
# "get" => { | |
# "operationId" => "getUser", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/user"}{"get"}[0], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/user"}{"get"}[1], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/user"}{"get"}[2] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "User profile.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/User" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Get user data.", | |
# "tags" => [ | |
# "user" | |
# ], | |
# "x-mojo-to" => "user#get" | |
# }, | |
# "post" => { | |
# "operationId" => "updateUser", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/user"}{"post"}[0] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "User profile.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/User" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Update an existing user.", | |
# "tags" => [ | |
# "user" | |
# ], | |
# "x-mojo-to" => "user#update" | |
# } | |
# }, | |
# "/user/login" => { | |
# "post" => { | |
# "operationId" => "loginUser", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/user/login"}{"post"}[0] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "User profile.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/User" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/login"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/login"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/login"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/login"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Log in a user based on email and password.", | |
# "tags" => [ | |
# "user" | |
# ], | |
# "x-mojo-to" => "user#login" | |
# } | |
# }, | |
# "/user/logout" => { | |
# "get" => { | |
# "description" => "This resource will delete any sessions cookies that might be stored in the client.", | |
# "operationId" => "logoutUser", | |
# "responses" => { | |
# "200" => { | |
# "description" => "Successfully logged out.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Success" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/logout"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/logout"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/logout"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/logout"}{"get"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Logout a user.", | |
# "tags" => [ | |
# "user" | |
# ], | |
# "x-mojo-to" => "user#logout" | |
# } | |
# }, | |
# "/user/register" => { | |
# "post" => { | |
# "operationId" => "registerUser", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/user/register"}{"post"}[0] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "User profile.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/User" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/register"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/register"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/register"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/register"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "default" => { | |
# "description" => "Error.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/Error" | |
# } | |
# } | |
# }, | |
# "summary" => "Register a new user.", | |
# "tags" => [ | |
# "user" | |
# ], | |
# "x-mojo-to" => "user#register" | |
# } | |
# }, | |
# "/user/{email}/invite" => { | |
# "post" => { | |
# "operationId" => "inviteUser", | |
# "parameters" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/user/{email}/invite"}{"post"}[0], | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/user/{email}/invite"}{"post"}[1] | |
# ], | |
# "responses" => { | |
# "200" => { | |
# "description" => "User profile.", | |
# "schema" => { | |
# "properties" => { | |
# "existing" => { | |
# "type" => "boolean" | |
# }, | |
# "expires" => { | |
# "format" => "date-time", | |
# "type" => "string" | |
# }, | |
# "url" => { | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "url" | |
# ], | |
# "type" => "object" | |
# } | |
# }, | |
# "400" => { | |
# "description" => "Default response.", | |
# "schema" => { | |
# "\$ref" => "#/definitions/DefaultResponse" | |
# } | |
# }, | |
# "401" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/{email}/invite"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "404" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/{email}/invite"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "500" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/{email}/invite"}{"post"}{"responses"}{"400"}{"schema"} | |
# }, | |
# "501" => { | |
# "description" => "Default response.", | |
# "schema" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}{"paths"}{"/user/{email}/invite"}{"post"}{"responses"}{"400"}{"schema"} | |
# } | |
# }, | |
# "summary" => "Generate invite link for an existing / new user.", | |
# "tags" => [ | |
# "user" | |
# ], | |
# "x-mojo-to" => "user#generate_invite_link" | |
# } | |
# } | |
# }, | |
# "schemes" => [ | |
# "http" | |
# ], | |
# "swagger" => "2.0" | |
# } | |
# }, 'Mojo::JSON::Pointer' ), | |
# "schemas" => { | |
# "/Users/marcus/Source/convos/public/convos-api.json" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schema"}{"data"}, | |
# "http://json-schema.org/draft-04/schema" => { | |
# "\$schema" => "http://json-schema.org/draft-04/schema#", | |
# "default" => {}, | |
# "definitions" => { | |
# "positiveInteger" => { | |
# "minimum" => 0, | |
# "type" => "integer" | |
# }, | |
# "positiveIntegerDefault0" => { | |
# "allOf" => [ | |
# { | |
# "\$ref" => "#/definitions/positiveInteger" | |
# }, | |
# { | |
# "default" => 0 | |
# } | |
# ] | |
# }, | |
# "schemaArray" => { | |
# "items" => { | |
# "\$ref" => "#" | |
# }, | |
# "minItems" => 1, | |
# "type" => "array" | |
# }, | |
# "simpleTypes" => { | |
# "enum" => [ | |
# "array", | |
# "boolean", | |
# "integer", | |
# "null", | |
# "number", | |
# "object", | |
# "string" | |
# ] | |
# }, | |
# "stringArray" => { | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "minItems" => 1, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# } | |
# }, | |
# "dependencies" => { | |
# "exclusiveMaximum" => [ | |
# "maximum" | |
# ], | |
# "exclusiveMinimum" => [ | |
# "minimum" | |
# ] | |
# }, | |
# "description" => "Core schema meta-schema", | |
# "id" => "http://json-schema.org/draft-04/schema#", | |
# "properties" => { | |
# "\$schema" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "additionalItems" => { | |
# "anyOf" => [ | |
# { | |
# "type" => "boolean" | |
# }, | |
# { | |
# "\$ref" => "#" | |
# } | |
# ], | |
# "default" => {} | |
# }, | |
# "additionalProperties" => { | |
# "anyOf" => [ | |
# { | |
# "type" => "boolean" | |
# }, | |
# { | |
# "\$ref" => "#" | |
# } | |
# ], | |
# "default" => {} | |
# }, | |
# "allOf" => { | |
# "\$ref" => "#/definitions/schemaArray" | |
# }, | |
# "anyOf" => { | |
# "\$ref" => "#/definitions/schemaArray" | |
# }, | |
# "default" => {}, | |
# "definitions" => { | |
# "additionalProperties" => { | |
# "\$ref" => "#" | |
# }, | |
# "default" => {}, | |
# "type" => "object" | |
# }, | |
# "dependencies" => { | |
# "additionalProperties" => { | |
# "anyOf" => [ | |
# { | |
# "\$ref" => "#" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/stringArray" | |
# } | |
# ] | |
# }, | |
# "type" => "object" | |
# }, | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "enum" => { | |
# "minItems" => 1, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# }, | |
# "exclusiveMaximum" => { | |
# "default" => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ), | |
# "type" => "boolean" | |
# }, | |
# "exclusiveMinimum" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "type" => "boolean" | |
# }, | |
# "id" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "items" => { | |
# "anyOf" => [ | |
# { | |
# "\$ref" => "#" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/schemaArray" | |
# } | |
# ], | |
# "default" => {} | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "#/definitions/positiveInteger" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "#/definitions/positiveInteger" | |
# }, | |
# "maxProperties" => { | |
# "\$ref" => "#/definitions/positiveInteger" | |
# }, | |
# "maximum" => { | |
# "type" => "number" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "#/definitions/positiveIntegerDefault0" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "#/definitions/positiveIntegerDefault0" | |
# }, | |
# "minProperties" => { | |
# "\$ref" => "#/definitions/positiveIntegerDefault0" | |
# }, | |
# "minimum" => { | |
# "type" => "number" | |
# }, | |
# "multipleOf" => { | |
# "exclusiveMinimum" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "minimum" => 0, | |
# "type" => "number" | |
# }, | |
# "not" => { | |
# "\$ref" => "#" | |
# }, | |
# "oneOf" => { | |
# "\$ref" => "#/definitions/schemaArray" | |
# }, | |
# "pattern" => { | |
# "format" => "regex", | |
# "type" => "string" | |
# }, | |
# "patternProperties" => { | |
# "additionalProperties" => { | |
# "\$ref" => "#" | |
# }, | |
# "default" => {}, | |
# "type" => "object" | |
# }, | |
# "properties" => { | |
# "additionalProperties" => { | |
# "\$ref" => "#" | |
# }, | |
# "default" => {}, | |
# "type" => "object" | |
# }, | |
# "required" => { | |
# "\$ref" => "#/definitions/stringArray" | |
# }, | |
# "title" => { | |
# "type" => "string" | |
# }, | |
# "type" => { | |
# "anyOf" => [ | |
# { | |
# "\$ref" => "#/definitions/simpleTypes" | |
# }, | |
# { | |
# "items" => { | |
# "\$ref" => "#/definitions/simpleTypes" | |
# }, | |
# "minItems" => 1, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# } | |
# ] | |
# }, | |
# "uniqueItems" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "type" => "boolean" | |
# } | |
# }, | |
# "type" => "object" | |
# }, | |
# "http://swagger.io/v2/schema.json" => { | |
# "\$schema" => "http://json-schema.org/draft-04/schema#", | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "definitions" => { | |
# "apiKeySecurity" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "in" => { | |
# "enum" => [ | |
# "header", | |
# "query" | |
# ], | |
# "type" => "string" | |
# }, | |
# "name" => { | |
# "type" => "string" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "apiKey" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "type", | |
# "name", | |
# "in" | |
# ], | |
# "type" => "object" | |
# }, | |
# "basicAuthenticationSecurity" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "basic" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "type" | |
# ], | |
# "type" => "object" | |
# }, | |
# "bodyParameter" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "description" => { | |
# "description" => "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.", | |
# "type" => "string" | |
# }, | |
# "in" => { | |
# "description" => "Determines the location of the parameter.", | |
# "enum" => [ | |
# "body" | |
# ], | |
# "type" => "string" | |
# }, | |
# "name" => { | |
# "description" => "The name of the parameter.", | |
# "type" => "string" | |
# }, | |
# "required" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "Determines whether or not this parameter is required or optional.", | |
# "type" => "boolean" | |
# }, | |
# "schema" => { | |
# "\$ref" => "#/definitions/schema" | |
# } | |
# }, | |
# "required" => [ | |
# "name", | |
# "in", | |
# "schema" | |
# ], | |
# "type" => "object" | |
# }, | |
# "collectionFormat" => { | |
# "default" => "csv", | |
# "enum" => [ | |
# "csv", | |
# "ssv", | |
# "tsv", | |
# "pipes" | |
# ], | |
# "type" => "string" | |
# }, | |
# "collectionFormatWithMulti" => { | |
# "default" => "csv", | |
# "enum" => [ | |
# "csv", | |
# "ssv", | |
# "tsv", | |
# "pipes", | |
# "multi" | |
# ], | |
# "type" => "string" | |
# }, | |
# "contact" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "Contact information for the owners of the API.", | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "email" => { | |
# "description" => "The email address of the contact person/organization.", | |
# "format" => "email", | |
# "type" => "string" | |
# }, | |
# "name" => { | |
# "description" => "The identifying name of the contact person/organization.", | |
# "type" => "string" | |
# }, | |
# "url" => { | |
# "description" => "The URL pointing to the contact information.", | |
# "format" => "uri", | |
# "type" => "string" | |
# } | |
# }, | |
# "type" => "object" | |
# }, | |
# "default" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/default" | |
# }, | |
# "definitions" => { | |
# "additionalProperties" => { | |
# "\$ref" => "#/definitions/schema" | |
# }, | |
# "description" => "One or more JSON objects describing the schemas being consumed and produced by the API.", | |
# "type" => "object" | |
# }, | |
# "description" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/description" | |
# }, | |
# "enum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/enum" | |
# }, | |
# "examples" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "object" | |
# }, | |
# "exclusiveMaximum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum" | |
# }, | |
# "exclusiveMinimum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum" | |
# }, | |
# "externalDocs" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "information about external documentation", | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "url" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "url" | |
# ], | |
# "type" => "object" | |
# }, | |
# "fileSchema" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "A deterministic version of a JSON Schema object.", | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "default" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/default" | |
# }, | |
# "description" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/description" | |
# }, | |
# "example" => {}, | |
# "externalDocs" => { | |
# "\$ref" => "#/definitions/externalDocs" | |
# }, | |
# "format" => { | |
# "type" => "string" | |
# }, | |
# "readOnly" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "type" => "boolean" | |
# }, | |
# "required" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/stringArray" | |
# }, | |
# "title" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/title" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "file" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "type" | |
# ], | |
# "type" => "object" | |
# }, | |
# "formDataParameterSubSchema" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "allowEmptyValue" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "allows sending a parameter by name only or with an empty value.", | |
# "type" => "boolean" | |
# }, | |
# "collectionFormat" => { | |
# "\$ref" => "#/definitions/collectionFormatWithMulti" | |
# }, | |
# "default" => { | |
# "\$ref" => "#/definitions/default" | |
# }, | |
# "description" => { | |
# "description" => "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.", | |
# "type" => "string" | |
# }, | |
# "enum" => { | |
# "\$ref" => "#/definitions/enum" | |
# }, | |
# "exclusiveMaximum" => { | |
# "\$ref" => "#/definitions/exclusiveMaximum" | |
# }, | |
# "exclusiveMinimum" => { | |
# "\$ref" => "#/definitions/exclusiveMinimum" | |
# }, | |
# "format" => { | |
# "type" => "string" | |
# }, | |
# "in" => { | |
# "description" => "Determines the location of the parameter.", | |
# "enum" => [ | |
# "formData" | |
# ], | |
# "type" => "string" | |
# }, | |
# "items" => { | |
# "\$ref" => "#/definitions/primitivesItems" | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "#/definitions/maxItems" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "#/definitions/maxLength" | |
# }, | |
# "maximum" => { | |
# "\$ref" => "#/definitions/maximum" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "#/definitions/minItems" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "#/definitions/minLength" | |
# }, | |
# "minimum" => { | |
# "\$ref" => "#/definitions/minimum" | |
# }, | |
# "multipleOf" => { | |
# "\$ref" => "#/definitions/multipleOf" | |
# }, | |
# "name" => { | |
# "description" => "The name of the parameter.", | |
# "type" => "string" | |
# }, | |
# "pattern" => { | |
# "\$ref" => "#/definitions/pattern" | |
# }, | |
# "required" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "Determines whether or not this parameter is required or optional.", | |
# "type" => "boolean" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "string", | |
# "number", | |
# "boolean", | |
# "integer", | |
# "array", | |
# "file" | |
# ], | |
# "type" => "string" | |
# }, | |
# "uniqueItems" => { | |
# "\$ref" => "#/definitions/uniqueItems" | |
# } | |
# } | |
# }, | |
# "header" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "collectionFormat" => { | |
# "\$ref" => "#/definitions/collectionFormat" | |
# }, | |
# "default" => { | |
# "\$ref" => "#/definitions/default" | |
# }, | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "enum" => { | |
# "\$ref" => "#/definitions/enum" | |
# }, | |
# "exclusiveMaximum" => { | |
# "\$ref" => "#/definitions/exclusiveMaximum" | |
# }, | |
# "exclusiveMinimum" => { | |
# "\$ref" => "#/definitions/exclusiveMinimum" | |
# }, | |
# "format" => { | |
# "type" => "string" | |
# }, | |
# "items" => { | |
# "\$ref" => "#/definitions/primitivesItems" | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "#/definitions/maxItems" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "#/definitions/maxLength" | |
# }, | |
# "maximum" => { | |
# "\$ref" => "#/definitions/maximum" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "#/definitions/minItems" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "#/definitions/minLength" | |
# }, | |
# "minimum" => { | |
# "\$ref" => "#/definitions/minimum" | |
# }, | |
# "multipleOf" => { | |
# "\$ref" => "#/definitions/multipleOf" | |
# }, | |
# "pattern" => { | |
# "\$ref" => "#/definitions/pattern" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "string", | |
# "number", | |
# "integer", | |
# "boolean", | |
# "array" | |
# ], | |
# "type" => "string" | |
# }, | |
# "uniqueItems" => { | |
# "\$ref" => "#/definitions/uniqueItems" | |
# } | |
# }, | |
# "required" => [ | |
# "type" | |
# ], | |
# "type" => "object" | |
# }, | |
# "headerParameterSubSchema" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "collectionFormat" => { | |
# "\$ref" => "#/definitions/collectionFormat" | |
# }, | |
# "default" => { | |
# "\$ref" => "#/definitions/default" | |
# }, | |
# "description" => { | |
# "description" => "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.", | |
# "type" => "string" | |
# }, | |
# "enum" => { | |
# "\$ref" => "#/definitions/enum" | |
# }, | |
# "exclusiveMaximum" => { | |
# "\$ref" => "#/definitions/exclusiveMaximum" | |
# }, | |
# "exclusiveMinimum" => { | |
# "\$ref" => "#/definitions/exclusiveMinimum" | |
# }, | |
# "format" => { | |
# "type" => "string" | |
# }, | |
# "in" => { | |
# "description" => "Determines the location of the parameter.", | |
# "enum" => [ | |
# "header" | |
# ], | |
# "type" => "string" | |
# }, | |
# "items" => { | |
# "\$ref" => "#/definitions/primitivesItems" | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "#/definitions/maxItems" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "#/definitions/maxLength" | |
# }, | |
# "maximum" => { | |
# "\$ref" => "#/definitions/maximum" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "#/definitions/minItems" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "#/definitions/minLength" | |
# }, | |
# "minimum" => { | |
# "\$ref" => "#/definitions/minimum" | |
# }, | |
# "multipleOf" => { | |
# "\$ref" => "#/definitions/multipleOf" | |
# }, | |
# "name" => { | |
# "description" => "The name of the parameter.", | |
# "type" => "string" | |
# }, | |
# "pattern" => { | |
# "\$ref" => "#/definitions/pattern" | |
# }, | |
# "required" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "Determines whether or not this parameter is required or optional.", | |
# "type" => "boolean" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "string", | |
# "number", | |
# "boolean", | |
# "integer", | |
# "array" | |
# ], | |
# "type" => "string" | |
# }, | |
# "uniqueItems" => { | |
# "\$ref" => "#/definitions/uniqueItems" | |
# } | |
# } | |
# }, | |
# "headers" => { | |
# "additionalProperties" => { | |
# "\$ref" => "#/definitions/header" | |
# }, | |
# "type" => "object" | |
# }, | |
# "info" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "General information about the API.", | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "contact" => { | |
# "\$ref" => "#/definitions/contact" | |
# }, | |
# "description" => { | |
# "description" => "A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed.", | |
# "type" => "string" | |
# }, | |
# "license" => { | |
# "\$ref" => "#/definitions/license" | |
# }, | |
# "termsOfService" => { | |
# "description" => "The terms of service for the API.", | |
# "type" => "string" | |
# }, | |
# "title" => { | |
# "description" => "A unique and precise title of the API.", | |
# "type" => "string" | |
# }, | |
# "version" => { | |
# "description" => "A semantic version number of the API.", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "version", | |
# "title" | |
# ], | |
# "type" => "object" | |
# }, | |
# "jsonReference" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "properties" => { | |
# "\$ref" => { | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "\$ref" | |
# ], | |
# "type" => "object" | |
# }, | |
# "license" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "name" => { | |
# "description" => "The name of the license type. It's encouraged to use an OSI compatible license.", | |
# "type" => "string" | |
# }, | |
# "url" => { | |
# "description" => "The URL pointing to the license.", | |
# "format" => "uri", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "name" | |
# ], | |
# "type" => "object" | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" | |
# }, | |
# "maximum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/maximum" | |
# }, | |
# "mediaTypeList" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/mimeType" | |
# }, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# }, | |
# "mimeType" => { | |
# "description" => "The MIME type of the HTTP message.", | |
# "type" => "string" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" | |
# }, | |
# "minimum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/minimum" | |
# }, | |
# "multipleOf" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/multipleOf" | |
# }, | |
# "nonBodyParameter" => { | |
# "oneOf" => [ | |
# { | |
# "\$ref" => "#/definitions/headerParameterSubSchema" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/formDataParameterSubSchema" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/queryParameterSubSchema" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/pathParameterSubSchema" | |
# } | |
# ], | |
# "required" => [ | |
# "name", | |
# "in", | |
# "type" | |
# ], | |
# "type" => "object" | |
# }, | |
# "oauth2AccessCodeSecurity" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "authorizationUrl" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "flow" => { | |
# "enum" => [ | |
# "accessCode" | |
# ], | |
# "type" => "string" | |
# }, | |
# "scopes" => { | |
# "\$ref" => "#/definitions/oauth2Scopes" | |
# }, | |
# "tokenUrl" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "oauth2" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "type", | |
# "flow", | |
# "authorizationUrl", | |
# "tokenUrl" | |
# ], | |
# "type" => "object" | |
# }, | |
# "oauth2ApplicationSecurity" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "flow" => { | |
# "enum" => [ | |
# "application" | |
# ], | |
# "type" => "string" | |
# }, | |
# "scopes" => { | |
# "\$ref" => "#/definitions/oauth2Scopes" | |
# }, | |
# "tokenUrl" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "oauth2" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "type", | |
# "flow", | |
# "tokenUrl" | |
# ], | |
# "type" => "object" | |
# }, | |
# "oauth2ImplicitSecurity" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "authorizationUrl" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "flow" => { | |
# "enum" => [ | |
# "implicit" | |
# ], | |
# "type" => "string" | |
# }, | |
# "scopes" => { | |
# "\$ref" => "#/definitions/oauth2Scopes" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "oauth2" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "type", | |
# "flow", | |
# "authorizationUrl" | |
# ], | |
# "type" => "object" | |
# }, | |
# "oauth2PasswordSecurity" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "flow" => { | |
# "enum" => [ | |
# "password" | |
# ], | |
# "type" => "string" | |
# }, | |
# "scopes" => { | |
# "\$ref" => "#/definitions/oauth2Scopes" | |
# }, | |
# "tokenUrl" => { | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "oauth2" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "type", | |
# "flow", | |
# "tokenUrl" | |
# ], | |
# "type" => "object" | |
# }, | |
# "oauth2Scopes" => { | |
# "additionalProperties" => { | |
# "type" => "string" | |
# }, | |
# "type" => "object" | |
# }, | |
# "operation" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "consumes" => { | |
# "allOf" => [ | |
# { | |
# "\$ref" => "#/definitions/mediaTypeList" | |
# } | |
# ], | |
# "description" => "A list of MIME types the API can consume." | |
# }, | |
# "deprecated" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "type" => "boolean" | |
# }, | |
# "description" => { | |
# "description" => "A longer description of the operation, GitHub Flavored Markdown is allowed.", | |
# "type" => "string" | |
# }, | |
# "externalDocs" => { | |
# "\$ref" => "#/definitions/externalDocs" | |
# }, | |
# "operationId" => { | |
# "description" => "A unique identifier of the operation.", | |
# "type" => "string" | |
# }, | |
# "parameters" => { | |
# "\$ref" => "#/definitions/parametersList" | |
# }, | |
# "produces" => { | |
# "allOf" => [ | |
# { | |
# "\$ref" => "#/definitions/mediaTypeList" | |
# } | |
# ], | |
# "description" => "A list of MIME types the API can produce." | |
# }, | |
# "responses" => { | |
# "\$ref" => "#/definitions/responses" | |
# }, | |
# "schemes" => { | |
# "\$ref" => "#/definitions/schemesList" | |
# }, | |
# "security" => { | |
# "\$ref" => "#/definitions/security" | |
# }, | |
# "summary" => { | |
# "description" => "A brief summary of the operation.", | |
# "type" => "string" | |
# }, | |
# "tags" => { | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# } | |
# }, | |
# "required" => [ | |
# "responses" | |
# ], | |
# "type" => "object" | |
# }, | |
# "parameter" => { | |
# "oneOf" => [ | |
# { | |
# "\$ref" => "#/definitions/bodyParameter" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/nonBodyParameter" | |
# } | |
# ] | |
# }, | |
# "parameterDefinitions" => { | |
# "additionalProperties" => { | |
# "\$ref" => "#/definitions/parameter" | |
# }, | |
# "description" => "One or more JSON representations for parameters", | |
# "type" => "object" | |
# }, | |
# "parametersList" => { | |
# "additionalItems" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "The parameters needed to send a valid API call.", | |
# "items" => { | |
# "oneOf" => [ | |
# { | |
# "\$ref" => "#/definitions/parameter" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/jsonReference" | |
# } | |
# ] | |
# }, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# }, | |
# "pathItem" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "\$ref" => { | |
# "type" => "string" | |
# }, | |
# "delete" => { | |
# "\$ref" => "#/definitions/operation" | |
# }, | |
# "get" => { | |
# "\$ref" => "#/definitions/operation" | |
# }, | |
# "head" => { | |
# "\$ref" => "#/definitions/operation" | |
# }, | |
# "options" => { | |
# "\$ref" => "#/definitions/operation" | |
# }, | |
# "parameters" => { | |
# "\$ref" => "#/definitions/parametersList" | |
# }, | |
# "patch" => { | |
# "\$ref" => "#/definitions/operation" | |
# }, | |
# "post" => { | |
# "\$ref" => "#/definitions/operation" | |
# }, | |
# "put" => { | |
# "\$ref" => "#/definitions/operation" | |
# } | |
# }, | |
# "type" => "object" | |
# }, | |
# "pathParameterSubSchema" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "collectionFormat" => { | |
# "\$ref" => "#/definitions/collectionFormat" | |
# }, | |
# "default" => { | |
# "\$ref" => "#/definitions/default" | |
# }, | |
# "description" => { | |
# "description" => "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.", | |
# "type" => "string" | |
# }, | |
# "enum" => { | |
# "\$ref" => "#/definitions/enum" | |
# }, | |
# "exclusiveMaximum" => { | |
# "\$ref" => "#/definitions/exclusiveMaximum" | |
# }, | |
# "exclusiveMinimum" => { | |
# "\$ref" => "#/definitions/exclusiveMinimum" | |
# }, | |
# "format" => { | |
# "type" => "string" | |
# }, | |
# "in" => { | |
# "description" => "Determines the location of the parameter.", | |
# "enum" => [ | |
# "path" | |
# ], | |
# "type" => "string" | |
# }, | |
# "items" => { | |
# "\$ref" => "#/definitions/primitivesItems" | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "#/definitions/maxItems" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "#/definitions/maxLength" | |
# }, | |
# "maximum" => { | |
# "\$ref" => "#/definitions/maximum" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "#/definitions/minItems" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "#/definitions/minLength" | |
# }, | |
# "minimum" => { | |
# "\$ref" => "#/definitions/minimum" | |
# }, | |
# "multipleOf" => { | |
# "\$ref" => "#/definitions/multipleOf" | |
# }, | |
# "name" => { | |
# "description" => "The name of the parameter.", | |
# "type" => "string" | |
# }, | |
# "pattern" => { | |
# "\$ref" => "#/definitions/pattern" | |
# }, | |
# "required" => { | |
# "description" => "Determines whether or not this parameter is required or optional.", | |
# "enum" => [ | |
# $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# ], | |
# "type" => "boolean" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "string", | |
# "number", | |
# "boolean", | |
# "integer", | |
# "array" | |
# ], | |
# "type" => "string" | |
# }, | |
# "uniqueItems" => { | |
# "\$ref" => "#/definitions/uniqueItems" | |
# } | |
# }, | |
# "required" => [ | |
# "required" | |
# ] | |
# }, | |
# "paths" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "Relative paths to the individual endpoints. They must be relative to the 'basePath'.", | |
# "patternProperties" => { | |
# "^/" => { | |
# "\$ref" => "#/definitions/pathItem" | |
# }, | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "type" => "object" | |
# }, | |
# "pattern" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/pattern" | |
# }, | |
# "primitivesItems" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "collectionFormat" => { | |
# "\$ref" => "#/definitions/collectionFormat" | |
# }, | |
# "default" => { | |
# "\$ref" => "#/definitions/default" | |
# }, | |
# "enum" => { | |
# "\$ref" => "#/definitions/enum" | |
# }, | |
# "exclusiveMaximum" => { | |
# "\$ref" => "#/definitions/exclusiveMaximum" | |
# }, | |
# "exclusiveMinimum" => { | |
# "\$ref" => "#/definitions/exclusiveMinimum" | |
# }, | |
# "format" => { | |
# "type" => "string" | |
# }, | |
# "items" => { | |
# "\$ref" => "#/definitions/primitivesItems" | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "#/definitions/maxItems" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "#/definitions/maxLength" | |
# }, | |
# "maximum" => { | |
# "\$ref" => "#/definitions/maximum" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "#/definitions/minItems" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "#/definitions/minLength" | |
# }, | |
# "minimum" => { | |
# "\$ref" => "#/definitions/minimum" | |
# }, | |
# "multipleOf" => { | |
# "\$ref" => "#/definitions/multipleOf" | |
# }, | |
# "pattern" => { | |
# "\$ref" => "#/definitions/pattern" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "string", | |
# "number", | |
# "integer", | |
# "boolean", | |
# "array" | |
# ], | |
# "type" => "string" | |
# }, | |
# "uniqueItems" => { | |
# "\$ref" => "#/definitions/uniqueItems" | |
# } | |
# }, | |
# "type" => "object" | |
# }, | |
# "queryParameterSubSchema" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "allowEmptyValue" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "allows sending a parameter by name only or with an empty value.", | |
# "type" => "boolean" | |
# }, | |
# "collectionFormat" => { | |
# "\$ref" => "#/definitions/collectionFormatWithMulti" | |
# }, | |
# "default" => { | |
# "\$ref" => "#/definitions/default" | |
# }, | |
# "description" => { | |
# "description" => "A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.", | |
# "type" => "string" | |
# }, | |
# "enum" => { | |
# "\$ref" => "#/definitions/enum" | |
# }, | |
# "exclusiveMaximum" => { | |
# "\$ref" => "#/definitions/exclusiveMaximum" | |
# }, | |
# "exclusiveMinimum" => { | |
# "\$ref" => "#/definitions/exclusiveMinimum" | |
# }, | |
# "format" => { | |
# "type" => "string" | |
# }, | |
# "in" => { | |
# "description" => "Determines the location of the parameter.", | |
# "enum" => [ | |
# "query" | |
# ], | |
# "type" => "string" | |
# }, | |
# "items" => { | |
# "\$ref" => "#/definitions/primitivesItems" | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "#/definitions/maxItems" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "#/definitions/maxLength" | |
# }, | |
# "maximum" => { | |
# "\$ref" => "#/definitions/maximum" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "#/definitions/minItems" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "#/definitions/minLength" | |
# }, | |
# "minimum" => { | |
# "\$ref" => "#/definitions/minimum" | |
# }, | |
# "multipleOf" => { | |
# "\$ref" => "#/definitions/multipleOf" | |
# }, | |
# "name" => { | |
# "description" => "The name of the parameter.", | |
# "type" => "string" | |
# }, | |
# "pattern" => { | |
# "\$ref" => "#/definitions/pattern" | |
# }, | |
# "required" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "Determines whether or not this parameter is required or optional.", | |
# "type" => "boolean" | |
# }, | |
# "type" => { | |
# "enum" => [ | |
# "string", | |
# "number", | |
# "boolean", | |
# "integer", | |
# "array" | |
# ], | |
# "type" => "string" | |
# }, | |
# "uniqueItems" => { | |
# "\$ref" => "#/definitions/uniqueItems" | |
# } | |
# } | |
# }, | |
# "response" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "examples" => { | |
# "\$ref" => "#/definitions/examples" | |
# }, | |
# "headers" => { | |
# "\$ref" => "#/definitions/headers" | |
# }, | |
# "schema" => { | |
# "oneOf" => [ | |
# { | |
# "\$ref" => "#/definitions/schema" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/fileSchema" | |
# } | |
# ] | |
# } | |
# }, | |
# "required" => [ | |
# "description" | |
# ], | |
# "type" => "object" | |
# }, | |
# "responseDefinitions" => { | |
# "additionalProperties" => { | |
# "\$ref" => "#/definitions/response" | |
# }, | |
# "description" => "One or more JSON representations for parameters", | |
# "type" => "object" | |
# }, | |
# "responseValue" => { | |
# "oneOf" => [ | |
# { | |
# "\$ref" => "#/definitions/response" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/jsonReference" | |
# } | |
# ] | |
# }, | |
# "responses" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "Response objects names can either be any valid HTTP status code or 'default'.", | |
# "minProperties" => 1, | |
# "not" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "type" => "object" | |
# }, | |
# "patternProperties" => { | |
# "^([0-9]{3})\$|^(default)\$" => { | |
# "\$ref" => "#/definitions/responseValue" | |
# }, | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "type" => "object" | |
# }, | |
# "schema" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "description" => "A deterministic version of a JSON Schema object.", | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "\$ref" => { | |
# "type" => "string" | |
# }, | |
# "additionalProperties" => { | |
# "anyOf" => [ | |
# { | |
# "\$ref" => "#/definitions/schema" | |
# }, | |
# { | |
# "type" => "boolean" | |
# } | |
# ], | |
# "default" => {} | |
# }, | |
# "allOf" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/schema" | |
# }, | |
# "minItems" => 1, | |
# "type" => "array" | |
# }, | |
# "default" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/default" | |
# }, | |
# "description" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/description" | |
# }, | |
# "discriminator" => { | |
# "type" => "string" | |
# }, | |
# "enum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/enum" | |
# }, | |
# "example" => {}, | |
# "exclusiveMaximum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum" | |
# }, | |
# "exclusiveMinimum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum" | |
# }, | |
# "externalDocs" => { | |
# "\$ref" => "#/definitions/externalDocs" | |
# }, | |
# "format" => { | |
# "type" => "string" | |
# }, | |
# "items" => { | |
# "anyOf" => [ | |
# { | |
# "\$ref" => "#/definitions/schema" | |
# }, | |
# { | |
# "items" => { | |
# "\$ref" => "#/definitions/schema" | |
# }, | |
# "minItems" => 1, | |
# "type" => "array" | |
# } | |
# ], | |
# "default" => {} | |
# }, | |
# "maxItems" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" | |
# }, | |
# "maxLength" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" | |
# }, | |
# "maxProperties" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveInteger" | |
# }, | |
# "maximum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/maximum" | |
# }, | |
# "minItems" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" | |
# }, | |
# "minLength" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" | |
# }, | |
# "minProperties" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0" | |
# }, | |
# "minimum" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/minimum" | |
# }, | |
# "multipleOf" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/multipleOf" | |
# }, | |
# "pattern" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/pattern" | |
# }, | |
# "properties" => { | |
# "additionalProperties" => { | |
# "\$ref" => "#/definitions/schema" | |
# }, | |
# "default" => {}, | |
# "type" => "object" | |
# }, | |
# "readOnly" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "type" => "boolean" | |
# }, | |
# "required" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/definitions/stringArray" | |
# }, | |
# "title" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/title" | |
# }, | |
# "type" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/type" | |
# }, | |
# "uniqueItems" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/uniqueItems" | |
# }, | |
# "xml" => { | |
# "\$ref" => "#/definitions/xml" | |
# } | |
# }, | |
# "type" => "object" | |
# }, | |
# "schemesList" => { | |
# "description" => "The transfer protocol of the API.", | |
# "items" => { | |
# "enum" => [ | |
# "http", | |
# "https", | |
# "ws", | |
# "wss" | |
# ], | |
# "type" => "string" | |
# }, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# }, | |
# "security" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/securityRequirement" | |
# }, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# }, | |
# "securityDefinitions" => { | |
# "additionalProperties" => { | |
# "oneOf" => [ | |
# { | |
# "\$ref" => "#/definitions/basicAuthenticationSecurity" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/apiKeySecurity" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/oauth2ImplicitSecurity" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/oauth2PasswordSecurity" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/oauth2ApplicationSecurity" | |
# }, | |
# { | |
# "\$ref" => "#/definitions/oauth2AccessCodeSecurity" | |
# } | |
# ] | |
# }, | |
# "type" => "object" | |
# }, | |
# "securityRequirement" => { | |
# "additionalProperties" => { | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# }, | |
# "type" => "object" | |
# }, | |
# "tag" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "description" => { | |
# "type" => "string" | |
# }, | |
# "externalDocs" => { | |
# "\$ref" => "#/definitions/externalDocs" | |
# }, | |
# "name" => { | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "name" | |
# ], | |
# "type" => "object" | |
# }, | |
# "title" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/title" | |
# }, | |
# "uniqueItems" => { | |
# "\$ref" => "http://json-schema.org/draft-04/schema#/properties/uniqueItems" | |
# }, | |
# "vendorExtension" => { | |
# "additionalItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "description" => "Any property starting with x- is valid." | |
# }, | |
# "xml" => { | |
# "additionalProperties" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "attribute" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "type" => "boolean" | |
# }, | |
# "name" => { | |
# "type" => "string" | |
# }, | |
# "namespace" => { | |
# "type" => "string" | |
# }, | |
# "prefix" => { | |
# "type" => "string" | |
# }, | |
# "wrapped" => { | |
# "default" => $VAR1->{"openapi.base_paths"}[0][1]{"validator"}{"schemas"}{"http://json-schema.org/draft-04/schema"}{"properties"}{"exclusiveMaximum"}{"default"}, | |
# "type" => "boolean" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# }, | |
# "id" => "http://swagger.io/v2/schema.json#", | |
# "patternProperties" => { | |
# "^x-" => { | |
# "\$ref" => "#/definitions/vendorExtension" | |
# } | |
# }, | |
# "properties" => { | |
# "basePath" => { | |
# "description" => "The base path to the API. Example: '/api'.", | |
# "pattern" => "^/", | |
# "type" => "string" | |
# }, | |
# "consumes" => { | |
# "allOf" => [ | |
# { | |
# "\$ref" => "#/definitions/mediaTypeList" | |
# } | |
# ], | |
# "description" => "A list of MIME types accepted by the API." | |
# }, | |
# "definitions" => { | |
# "\$ref" => "#/definitions/definitions" | |
# }, | |
# "externalDocs" => { | |
# "\$ref" => "#/definitions/externalDocs" | |
# }, | |
# "host" => { | |
# "description" => "The host (name or ip) of the API. Example: 'swagger.io'", | |
# "pattern" => "^[^{}/ :\\\\]+(?::\\d+)?\$", | |
# "type" => "string" | |
# }, | |
# "info" => { | |
# "\$ref" => "#/definitions/info" | |
# }, | |
# "parameters" => { | |
# "\$ref" => "#/definitions/parameterDefinitions" | |
# }, | |
# "paths" => { | |
# "\$ref" => "#/definitions/paths" | |
# }, | |
# "produces" => { | |
# "allOf" => [ | |
# { | |
# "\$ref" => "#/definitions/mediaTypeList" | |
# } | |
# ], | |
# "description" => "A list of MIME types the API can produce." | |
# }, | |
# "responses" => { | |
# "\$ref" => "#/definitions/responseDefinitions" | |
# }, | |
# "schemes" => { | |
# "\$ref" => "#/definitions/schemesList" | |
# }, | |
# "security" => { | |
# "\$ref" => "#/definitions/security" | |
# }, | |
# "securityDefinitions" => { | |
# "\$ref" => "#/definitions/securityDefinitions" | |
# }, | |
# "swagger" => { | |
# "description" => "The Swagger version of this document.", | |
# "enum" => [ | |
# "2.0" | |
# ], | |
# "type" => "string" | |
# }, | |
# "tags" => { | |
# "items" => { | |
# "\$ref" => "#/definitions/tag" | |
# }, | |
# "type" => "array", | |
# "uniqueItems" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"} | |
# } | |
# }, | |
# "required" => [ | |
# "swagger", | |
# "info", | |
# "paths" | |
# ], | |
# "title" => "A JSON Schema for Swagger 2.0 API.", | |
# "type" => "object" | |
# } | |
# }, | |
# "version" => 2 | |
# }, 'JSON::Validator::OpenAPI::Mojolicious' ) | |
# }, 'Mojolicious::Plugin::OpenAPI' ) | |
# ] | |
# ], | |
# "openapi_cors_allowed_origins" => [], | |
# "openapi_cors_default_exchange_callback" => sub { "DUMMY" }, | |
# "openapi_cors_default_max_age" => 1800 | |
# } | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Session:</td> | |
# <td class="striped value wide"><pre>{} | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Version:</td> | |
# <td class="striped value wide"><pre>1.1</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Accept-Encoding:</td> | |
# <td class="striped value wide"><pre>gzip</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Content-Length:</td> | |
# <td class="striped value wide"><pre>0</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Host:</td> | |
# <td class="striped value wide"><pre>127.0.0.1:50014</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">User-Agent:</td> | |
# <td class="striped value wide"><pre>Mojolicious (Perl)</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">X-Request-Base:</td> | |
# <td class="striped value wide"><pre>http://example.com/sub</pre></td> | |
# </tr> | |
# | |
# </table> | |
# </div> | |
# <div id="more" class="box infobox more spaced"> | |
# <div id="infos"> | |
# <table> | |
# <tr> | |
# <td class="key">Perl:</td> | |
# <td class="striped value wide"><pre>v5.30.0 (darwin)</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Mojolicious:</td> | |
# <td class="striped value wide"><pre>8.29 (Supervillain)</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Home:</td> | |
# <td class="striped value wide"><pre>/Users/marcus/Source/convos</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Template paths:</td> | |
# <td class="striped value wide"><pre>[ | |
# "/Users/marcus/Source/convos/templates" | |
# ] | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Template classes:</td> | |
# <td class="striped value wide"><pre>[ | |
# "main", | |
# "Convos", | |
# "Mojolicious::Plugin::OpenAPI::SpecRenderer" | |
# ] | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Static paths:</td> | |
# <td class="striped value wide"><pre>[ | |
# "/Users/marcus/Source/convos/public" | |
# ] | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Static classes:</td> | |
# <td class="striped value wide"><pre>[ | |
# "main" | |
# ] | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Include:</td> | |
# <td class="striped value wide"><pre>[ | |
# ".", | |
# "/Users/marcus/Source/convos/lib", | |
# "/Users/marcus/Source/convos/script/../lib", | |
# "/Users/marcus/Source/convos/script/../local/lib/perl5/darwin-2level", | |
# "/Users/marcus/Source/convos/script/../local/lib/perl5", | |
# "/Users/marcus/.plenv/versions/5.30.0/lib/perl5/site_perl/5.30.0/darwin-2level", | |
# "/Users/marcus/.plenv/versions/5.30.0/lib/perl5/site_perl/5.30.0", | |
# "/Users/marcus/.plenv/versions/5.30.0/lib/perl5/5.30.0/darwin-2level", | |
# "/Users/marcus/.plenv/versions/5.30.0/lib/perl5/5.30.0" | |
# ] | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Config:</td> | |
# <td class="striped value wide"><pre>{ | |
# "backend" => "Convos::Core::Backend::File", | |
# "home" => "/Users/marcus/Source/convos/t/../local/test-web-base-url-t", | |
# "log_file" => undef | |
# } | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Moniker:</td> | |
# <td class="striped value wide"><pre>convos</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Name:</td> | |
# <td class="striped value wide"><pre>t/web-base-url.t</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Executable:</td> | |
# <td class="striped value wide"><pre>/Users/marcus/.dotfiles/link/plenv/versions/5.30.0/bin/perl5.30.0</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">PID:</td> | |
# <td class="striped value wide"><pre>35213</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Time:</td> | |
# <td class="striped value wide"><pre>Sun Feb 2 10:55:58 2020</pre></td> | |
# </tr> | |
# | |
# </table> | |
# </div> | |
# <div class="tap">tap for more</div> | |
# </div> | |
# <div id="log" class="box infobox spaced"> | |
# <table> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>[2020-02-02 10:55:58.61891] [35213] [error] [2228efc2] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# | |
# </pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>[2020-02-02 10:55:58.66461] [35213] [error] [0df9d4f0] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# | |
# </pre> | |
# </td> | |
# </tr> | |
# </table> | |
# </div> | |
# </div> | |
# <div id="footer"> | |
# <a href="https://mojolicious.org"> | |
# <picture> | |
# <img src="/mojo/logo-black.png" | |
# srcset="/mojo/logo-black-2x.png 2x" | |
# alt="Mojolicious logo"> | |
# </picture> | |
# </a> </div> | |
# </body> | |
# </html> | |
# ' | |
# expected: '/sub/foo' | |
[2020-02-02 10:55:58.69546] [35213] [error] [a7ecdb1e] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '200 OK' | |
# at t/web-base-url.t line 29. | |
# got: '500' | |
# expected: '200' | |
# Failed test 'exact match for JSON Pointer "/base_url"' | |
# at t/web-base-url.t line 29. | |
# got: undef | |
# expected: 'http://example.com/sub' | |
# Failed test 'exact match for JSON Pointer "/url_for"' | |
# at t/web-base-url.t line 29. | |
# got: undef | |
# expected: '/sub/foo/bar' | |
# Failed test 'exact match for JSON Pointer "/web_url"' | |
# at t/web-base-url.t line 29. | |
# got: undef | |
# expected: 'http://example.com/sub/foo/bar' | |
# Failed test 'exact match for JSON Pointer "/web_url_rel"' | |
# at t/web-base-url.t line 29. | |
# got: undef | |
# expected: '/sub/foo/bar' | |
[2020-02-02 10:55:58.72355] [35213] [error] [f4dc8823] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '200 OK' | |
# at t/web-base-url.t line 33. | |
# got: '500' | |
# expected: '200' | |
# Failed test 'similar match for JSON Pointer "/base_url"' | |
# at t/web-base-url.t line 33. | |
# undef | |
# doesn't match '(?^:^http://.*:\d+/$)' | |
# Failed test 'exact match for JSON Pointer "/url_for"' | |
# at t/web-base-url.t line 33. | |
# got: undef | |
# expected: '/foo/bar' | |
# Failed test 'similar match for JSON Pointer "/web_url"' | |
# at t/web-base-url.t line 33. | |
# undef | |
# doesn't match '(?^:^http://.*:\d+/foo/bar$)' | |
# Failed test 'exact match for JSON Pointer "/web_url_rel"' | |
# at t/web-base-url.t line 33. | |
# got: undef | |
# expected: '/foo/bar' | |
[2020-02-02 10:55:58.75082] [35213] [error] [4e758f62] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '200 OK' | |
# at t/web-base-url.t line 38. | |
# got: '500' | |
# expected: '200' | |
# Failed test 'exact match for JSON Pointer "/url_for"' | |
# at t/web-base-url.t line 38. | |
# got: undef | |
# expected: '/foo/bar' | |
# Failed test 'exact match for JSON Pointer "/web_url_rel"' | |
# at t/web-base-url.t line 38. | |
# got: undef | |
# expected: '/foo/bar' | |
# Looks like you failed 17 tests of 22. | |
t/web-base-url.t ................. | |
Dubious, test returned 17 (wstat 4352, 0x1100) | |
Failed 17/22 subtests | |
t/web-basic.t .................... skipped: $ NODE_ENV=development pnpm run build | |
[2020-02-02 10:55:59.61440] [35216] [error] [0f53d441] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '200 OK' | |
# at t/web-connections.t line 17. | |
# got: '500' | |
# expected: '200' | |
[2020-02-02 10:55:59.61759] [35216] [error] [1508639a] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '200 OK' | |
# at t/web-connections.t line 19. | |
# got: '500' | |
# expected: '200' | |
[2020-02-02 10:55:59.62061] [35216] [error] [d8c1a6e9] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '400 Bad Request' | |
# at t/web-connections.t line 22. | |
# got: '500' | |
# expected: '400' | |
# Failed test 'exact match for JSON Pointer "/errors/0/message"' | |
# at t/web-connections.t line 22. | |
# got: 'Internal Server Error.' | |
# expected: 'Connection already exists.' | |
[2020-02-02 10:55:59.62399] [35216] [error] [316e4c80] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# Failed test '400 Bad Request' | |
# at t/web-connections.t line 25. | |
# got: '500' | |
# expected: '400' | |
# Failed test 'exact match for JSON Pointer "/errors/0/message"' | |
# at t/web-connections.t line 25. | |
# got: 'Internal Server Error.' | |
# expected: 'Protocol "foo" is not supported.' | |
# Failed test 'exact match for JSON Pointer "/connections/0"' | |
# at t/web-connections.t line 28. | |
# Structures begin differing at: | |
# $got = undef | |
# $expected = HASH(0x7fa771de9a38) | |
# Failed test 'exact match for JSON Pointer "/connections/1/connection_id"' | |
# at t/web-connections.t line 28. | |
# got: undef | |
# expected: 'irc-localhost' | |
# Failed test 'exact match for JSON Pointer "/connections/1/name"' | |
# at t/web-connections.t line 28. | |
# got: undef | |
# expected: 'localhost' | |
# Failed test 'exact match for JSON Pointer "/connections/1/url"' | |
# at t/web-connections.t line 28. | |
# got: undef | |
# expected: 'irc://localhost:50018?nick=superman&tls=1' | |
# Failed test 'exact match for JSON Pointer "/connections/1/wanted_state"' | |
# at t/web-connections.t line 28. | |
# got: undef | |
# expected: 'disconnected' | |
# Failed test '200 OK' | |
# at t/web-connections.t line 47. | |
# got: '404' | |
# expected: '200' | |
# Failed test '200 OK' | |
# at t/web-connections.t line 50. | |
# got: '404' | |
# expected: '200' | |
# Failed test 'exact match for JSON Pointer "/name"' | |
# at t/web-connections.t line 50. | |
# got: undef | |
# expected: 'localhost' | |
# Failed test 'similar match for JSON Pointer "/state"' | |
# at t/web-connections.t line 50. | |
# undef | |
# doesn't match '(?^:^(connected|queued)$)' | |
# Failed test '200 OK' | |
# at t/web-connections.t line 53. | |
# got: '404' | |
# expected: '200' | |
# Failed test 'exact match for JSON Pointer "/name"' | |
# at t/web-connections.t line 53. | |
# got: undef | |
# expected: 'localhost' | |
# Failed test 'similar match for JSON Pointer "/url"' | |
# at t/web-connections.t line 53. | |
# undef | |
# doesn't match '(?^:irc://example\.com:9999)' | |
Can't call method "state" on an undefined value at t/web-connections.t line 57. | |
# Tests were run but no plan was declared and done_testing() was not seen. | |
# Looks like your test exited with 255 just after 38. | |
t/web-connections.t .............. | |
Dubious, test returned 255 (wstat 65280, 0xff00) | |
Failed 18/38 subtests | |
t/web-dialog.t ................... ok | |
[2020-02-02 10:56:00.77743] [35221] [error] [d973017f] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
Context: | |
28: sub _asset_version { | |
29: my $app = shift->app; | |
30: return $app->config->{asset_version} if $app->config->{asset_version}; | |
31: | |
32: my $mode = $app->mode eq 'development' ? 'development' : 'production'; | |
33: my @paths = ( | |
34: $app->static->file("asset/webpack.$mode.html")->path, | |
35: $app->renderer->template_path({template => 'sw', format => 'js', handler => 'ep'}), | |
36: ); | |
37: | |
38: my $version = 0; | |
Traceback (most recent call first): | |
File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 33, in "Convos::Plugin::Helpers" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Controller.pm", line 29, in "Mojolicious::Controller" | |
File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 124, in "Convos::Plugin::Helpers" | |
File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 93, in "Convos::Plugin::Helpers" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugin/EPRenderer.pm", line 51, in "Mojolicious::Plugin::EPRenderer" | |
File "template index.html.ep", line 2, in "Mojo::Template::Sandbox::59e12a466144052547d591a8a8b31c02" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 163, in "Mojo::Template" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 163, in "Mojo::Template" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 166, in "Mojo::Template" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 177, in "Mojo::Template" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugin/EPLRenderer.pm", line 41, in "Mojolicious::Plugin::EPLRenderer" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugin/EPRenderer.pm", line 41, in "Mojolicious::Plugin::EPRenderer" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Renderer.pm", line 228, in "Mojolicious::Renderer" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Renderer.pm", line 104, in "Mojolicious::Renderer" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Controller.pm", line 156, in "Mojolicious::Controller" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Controller.pm", line 169, in "Mojolicious::Controller" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Routes.pm", line 199, in "Mojolicious::Routes" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Routes.pm", line 36, in "Mojolicious::Routes" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Routes.pm", line 48, in "Mojolicious::Routes" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Routes.pm", line 54, in "Mojolicious::Routes" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 131, in "Mojolicious" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 141, in "Mojolicious" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugins.pm", line 15, in "Mojolicious::Plugins" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 213, in "Mojolicious" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 213, in "Mojolicious" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugins.pm", line 15, in "Mojolicious::Plugins" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugins.pm", line 18, in "Mojolicious::Plugins" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 146, in "Mojolicious" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Server.pm", line 68, in "Mojo::Server" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/EventEmitter.pm", line 15, in "Mojo::EventEmitter" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Server/Daemon.pm", line 104, in "Mojo::Server::Daemon" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/EventEmitter.pm", line 15, in "Mojo::EventEmitter" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Transaction/HTTP.pm", line 60, in "Mojo::Transaction::HTTP" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Server/Daemon.pm", line 219, in "Mojo::Server::Daemon" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Server/Daemon.pm", line 200, in "Mojo::Server::Daemon" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/EventEmitter.pm", line 15, in "Mojo::EventEmitter" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop/Stream.pm", line 110, in "Mojo::IOLoop::Stream" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop/Stream.pm", line 58, in "Mojo::IOLoop::Stream" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 145, in "Mojo::Reactor::Poll" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 145, in "Mojo::Reactor::Poll" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 52, in "Mojo::Reactor::EV" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 30, in "Mojo::Reactor::EV" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 30, in "Mojo::Reactor::EV" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop.pm", line 134, in "Mojo::IOLoop" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/UserAgent.pm", line 65, in "Mojo::UserAgent" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 396, in "Test::Mojo" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 343, in "Test::Mojo" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 121, in "Test::Mojo" | |
File "t/web-embed.t", line 18, in "main" | |
[2020-02-02 10:56:00.82199] [35221] [error] [d44c6e22] SSL connect attempt failed error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol | |
[2020-02-02 10:56:00.82271] [35221] [error] [d44c6e22] SSL connect attempt failed error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol | |
# Failed test '200 OK' | |
# at t/web-embed.t line 18. | |
# got: '500' | |
# expected: '200' | |
# Failed test 'has value for JSON Pointer "/html"' | |
# at t/web-embed.t line 18. | |
[2020-02-02 10:56:00.83757] [35221] [error] [cafeb5a0] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
Context: | |
28: sub _asset_version { | |
29: my $app = shift->app; | |
30: return $app->config->{asset_version} if $app->config->{asset_version}; | |
31: | |
32: my $mode = $app->mode eq 'development' ? 'development' : 'production'; | |
33: my @paths = ( | |
34: $app->static->file("asset/webpack.$mode.html")->path, | |
35: $app->renderer->template_path({template => 'sw', format => 'js', handler => 'ep'}), | |
36: ); | |
37: | |
38: my $version = 0; | |
Traceback (most recent call first): | |
File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 33, in "Convos::Plugin::Helpers" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Controller.pm", line 29, in "Mojolicious::Controller" | |
File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 124, in "Convos::Plugin::Helpers" | |
File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 93, in "Convos::Plugin::Helpers" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugin/EPRenderer.pm", line 51, in "Mojolicious::Plugin::EPRenderer" | |
File "template index.html.ep", line 2, in "Mojo::Template::Sandbox::59e12a466144052547d591a8a8b31c02" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 163, in "Mojo::Template" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 163, in "Mojo::Template" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugin/EPLRenderer.pm", line 19, in "Mojolicious::Plugin::EPLRenderer" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugin/EPRenderer.pm", line 41, in "Mojolicious::Plugin::EPRenderer" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Renderer.pm", line 228, in "Mojolicious::Renderer" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Renderer.pm", line 104, in "Mojolicious::Renderer" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Controller.pm", line 156, in "Mojolicious::Controller" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Controller.pm", line 169, in "Mojolicious::Controller" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Routes.pm", line 199, in "Mojolicious::Routes" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Routes.pm", line 36, in "Mojolicious::Routes" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Routes.pm", line 48, in "Mojolicious::Routes" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Routes.pm", line 54, in "Mojolicious::Routes" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 131, in "Mojolicious" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 141, in "Mojolicious" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugins.pm", line 15, in "Mojolicious::Plugins" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 213, in "Mojolicious" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 213, in "Mojolicious" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugins.pm", line 15, in "Mojolicious::Plugins" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugins.pm", line 18, in "Mojolicious::Plugins" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious.pm", line 146, in "Mojolicious" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Server.pm", line 68, in "Mojo::Server" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/EventEmitter.pm", line 15, in "Mojo::EventEmitter" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Server/Daemon.pm", line 104, in "Mojo::Server::Daemon" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/EventEmitter.pm", line 15, in "Mojo::EventEmitter" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Transaction/HTTP.pm", line 60, in "Mojo::Transaction::HTTP" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Server/Daemon.pm", line 219, in "Mojo::Server::Daemon" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Server/Daemon.pm", line 200, in "Mojo::Server::Daemon" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/EventEmitter.pm", line 15, in "Mojo::EventEmitter" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop/Stream.pm", line 110, in "Mojo::IOLoop::Stream" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop/Stream.pm", line 58, in "Mojo::IOLoop::Stream" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 145, in "Mojo::Reactor::Poll" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 145, in "Mojo::Reactor::Poll" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 52, in "Mojo::Reactor::EV" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 30, in "Mojo::Reactor::EV" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 30, in "Mojo::Reactor::EV" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop.pm", line 134, in "Mojo::IOLoop" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/UserAgent.pm", line 65, in "Mojo::UserAgent" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 396, in "Test::Mojo" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 343, in "Test::Mojo" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 121, in "Test::Mojo" | |
File "t/web-embed.t", line 21, in "main" | |
[2020-02-02 10:56:00.86317] [35221] [error] [e27d24e8] SSL connect attempt failed error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol | |
[2020-02-02 10:56:00.86380] [35221] [error] [e27d24e8] SSL connect attempt failed error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol | |
# Failed test '200 OK' | |
# at t/web-embed.t line 21. | |
# got: '500' | |
# expected: '200' | |
# Failed test 'X-Cached: 1' | |
# at t/web-embed.t line 21. | |
# got: undef | |
# expected: '1' | |
# Failed test 'exact match for JSON Pointer "/title"' | |
# at t/web-embed.t line 21. | |
# got: undef | |
# expected: 'Convos - Better group chat' | |
# Failed test 'similar match for JSON Pointer "/html"' | |
# at t/web-embed.t line 21. | |
# undef | |
# doesn't match '(?^:Convos - Better group chat)' | |
# Looks like you failed 6 tests of 17. | |
t/web-embed.t .................... | |
Dubious, test returned 6 (wstat 1536, 0x600) | |
Failed 6/17 subtests | |
[2020-02-02 10:56:01.41930] [35222] [error] [9148f479] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
Context: | |
28: sub _asset_version { | |
29: my $app = shift->app; | |
30: return $app->config->{asset_version} if $app->config->{asset_version}; | |
31: | |
32: my $mode = $app->mode eq 'development' ? 'development' : 'production'; | |
33: my @paths = ( | |
34: $app->static->file("asset/webpack.$mode.html")->path, | |
35: $app->renderer->template_path({template => 'sw', format => 'js', handler => 'ep'}), | |
36: ); | |
37: | |
38: my $version = 0; | |
Traceback (most recent call first): | |
File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 33, in "Convos::Plugin::Helpers" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Controller.pm", line 29, in "Mojolicious::Controller" | |
File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 124, in "Convos::Plugin::Helpers" | |
File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 93, in "Convos::Plugin::Helpers" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugin/EPRenderer.pm", line 51, in "Mojolicious::Plugin::EPRenderer" | |
File "template file.html.ep", line 2, in "Mojo::Template::Sandbox::eae2f5927c4df3331667cf0efff8f725" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 163, in "Mojo::Template" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 163, in "Mojo::Template" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 166, in "Mojo::Template" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 177, in "Mojo::Template" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugin/EPLRenderer.pm", line 41, in "Mojolicious::Plugin::EPLRenderer" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugin/EPRenderer.pm", line 41, in "Mojolicious::Plugin::EPRenderer" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Renderer.pm", line 228, in "Mojolicious::Renderer" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Renderer.pm", line 104, in "Mojolicious::Renderer" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Controller.pm", line 156, in "Mojolicious::Controller" | |
File "/Users/marcus/Source/convos/lib/Convos/Plugin/Files.pm", line 53, in "Convos::Plugin::Files" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Promise.pm", line 219, in "Mojo::Promise" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Promise.pm", line 219, in "Mojo::Promise" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Promise.pm", line 102, in "Mojo::Promise" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Promise.pm", line 188, in "Mojo::Promise" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop.pm", line 79, in "Mojo::IOLoop" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 129, in "Mojo::Reactor::Poll" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 145, in "Mojo::Reactor::Poll" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 145, in "Mojo::Reactor::Poll" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 70, in "Mojo::Reactor::EV" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 30, in "Mojo::Reactor::EV" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 30, in "Mojo::Reactor::EV" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop.pm", line 134, in "Mojo::IOLoop" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/UserAgent.pm", line 65, in "Mojo::UserAgent" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 396, in "Test::Mojo" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 343, in "Test::Mojo" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 121, in "Test::Mojo" | |
File "t/web-files.t", line 28, in "main" | |
[2020-02-02 10:56:01.45855] [35222] [error] [9148f479] Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
Context: | |
28: sub _asset_version { | |
29: my $app = shift->app; | |
30: return $app->config->{asset_version} if $app->config->{asset_version}; | |
31: | |
32: my $mode = $app->mode eq 'development' ? 'development' : 'production'; | |
33: my @paths = ( | |
34: $app->static->file("asset/webpack.$mode.html")->path, | |
35: $app->renderer->template_path({template => 'sw', format => 'js', handler => 'ep'}), | |
36: ); | |
37: | |
38: my $version = 0; | |
Traceback (most recent call first): | |
File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 33, in "Convos::Plugin::Helpers" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Controller.pm", line 29, in "Mojolicious::Controller" | |
File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 124, in "Convos::Plugin::Helpers" | |
File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 93, in "Convos::Plugin::Helpers" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugin/EPRenderer.pm", line 51, in "Mojolicious::Plugin::EPRenderer" | |
File "template file.html.ep", line 2, in "Mojo::Template::Sandbox::eae2f5927c4df3331667cf0efff8f725" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 163, in "Mojo::Template" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 163, in "Mojo::Template" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 166, in "Mojo::Template" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 177, in "Mojo::Template" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugin/EPLRenderer.pm", line 41, in "Mojolicious::Plugin::EPLRenderer" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugin/EPRenderer.pm", line 41, in "Mojolicious::Plugin::EPRenderer" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Renderer.pm", line 228, in "Mojolicious::Renderer" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Renderer.pm", line 104, in "Mojolicious::Renderer" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Controller.pm", line 156, in "Mojolicious::Controller" | |
File "/Users/marcus/Source/convos/lib/Convos/Plugin/Files.pm", line 53, in "Convos::Plugin::Files" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Promise.pm", line 219, in "Mojo::Promise" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Promise.pm", line 219, in "Mojo::Promise" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Promise.pm", line 102, in "Mojo::Promise" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Promise.pm", line 188, in "Mojo::Promise" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop.pm", line 79, in "Mojo::IOLoop" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 129, in "Mojo::Reactor::Poll" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 145, in "Mojo::Reactor::Poll" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 145, in "Mojo::Reactor::Poll" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 70, in "Mojo::Reactor::EV" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 30, in "Mojo::Reactor::EV" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 30, in "Mojo::Reactor::EV" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop.pm", line 134, in "Mojo::IOLoop" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/UserAgent.pm", line 65, in "Mojo::UserAgent" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 396, in "Test::Mojo" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 343, in "Test::Mojo" | |
File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 121, in "Test::Mojo" | |
File "t/web-files.t", line 28, in "main" | |
# Failed test '200 OK' | |
# at t/web-files.t line 28. | |
# got: '500' | |
# expected: '200' | |
# Failed test 'pre.paste so LinkEmbedder can do the right thing' | |
# at t/web-files.t line 28. | |
# Failed test 'exact match for selector "header h1"' | |
# at t/web-files.t line 28. | |
# got: '' | |
# expected: 'web-files.t' | |
# Failed test 'similar match for selector "header small"' | |
# at t/web-files.t line 28. | |
# '' | |
# doesn't match '(?^:^\d+-\d+-\d+)' | |
# Failed test 'content is similar' | |
# at t/web-files.t line 28. | |
# '<!DOCTYPE html> | |
# <!-- Request ID: 9148f479 --> | |
# <html> | |
# <head> | |
# <title>Server error (development mode)</title> | |
# <meta http-equiv="Pragma" content="no-cache"> | |
# <meta http-equiv="Expires" content="-1"> | |
# <script src="/mojo/jquery/jquery.js"></script> | |
# <script src="/mojo/prettify/run_prettify.js"></script> | |
# <link href="/mojo/prettify/prettify-mojo-dark.css" rel="stylesheet"> | |
# <style> | |
# a img { | |
# border: 0; | |
# } | |
# body { | |
# background: url(/mojo/pinstripe-light.png); | |
# color: #445555; | |
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif; | |
# font-weight: normal; | |
# line-height: 1.5em; | |
# margin: 0; | |
# } | |
# :not(pre) > code { | |
# background-color: #eef9ff; | |
# border: solid #cce4ff 1px; | |
# border-radius: 5px; | |
# color: #333; | |
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace; | |
# padding: 0.4em; | |
# } | |
# h1 { | |
# color: #2a2a2a; | |
# font-size: 1.5em; | |
# margin: 0; | |
# } | |
# pre { | |
# font: 0.9em Consolas, Menlo, Monaco, Courier, monospace; | |
# margin: 0; | |
# white-space: pre-wrap; | |
# } | |
# pre > code { | |
# display: block; | |
# font: 1.0em Consolas, Menlo, Monaco, Courier, monospace; | |
# margin-bottom: 0.7em; | |
# margin-top: 0.7em; | |
# } | |
# table { | |
# border-collapse: collapse; | |
# width: 100%; | |
# } | |
# td { padding: 0.5em } | |
# .box { | |
# background-color: #fff; | |
# border: 1px solid #c1c1c1; | |
# overflow: hidden; | |
# padding: 1em; | |
# } | |
# .code { | |
# background-color: #1a1a1a; | |
# background: url(/mojo/pinstripe-dark.png); | |
# color: #eee; | |
# text-shadow: #333 0 1px 0; | |
# } | |
# .important { | |
# background-color: rgba(47, 48, 50, .75); | |
# } | |
# .infobox { | |
# color: #333; | |
# } | |
# .infobox tr:nth-child(odd) .value { | |
# background-color: #ddeeff; | |
# } | |
# .infobox tr:nth-child(even) .value { | |
# background-color: #eef9ff; | |
# } | |
# .key { | |
# text-align: right; | |
# } | |
# .more table { | |
# margin-bottom: 1em; | |
# } | |
# .spaced { | |
# margin-left: 5em; | |
# margin-right: 5em; | |
# } | |
# .striped { | |
# border-top: solid #cce4ff 1px; | |
# } | |
# .tap { | |
# font: 0.5em Verdana, sans-serif; | |
# text-align: center; | |
# } | |
# .value { | |
# padding-left: 1em; | |
# } | |
# .wide { | |
# width: 100%; | |
# } | |
# #error { | |
# font: 1.5em 'Helvetica Neue', Helvetica, sans-serif; | |
# font-weight: 300; | |
# margin: 0; | |
# text-shadow: #333 0 1px 0; | |
# } | |
# #footer { | |
# padding-top: 0.5em; | |
# text-align: center; | |
# } | |
# #nothing { | |
# border-bottom: 0; | |
# padding-top: 20px; | |
# } | |
# #showcase { | |
# border-bottom: 0; | |
# border-top: 0; | |
# } | |
# #showcase table { | |
# margin-top: 1em; | |
# } | |
# #showcase td { | |
# padding-top: 0; | |
# padding-bottom: 0; | |
# } | |
# #showcase .key { | |
# padding-right: 0; | |
# } | |
# #log { | |
# border-radius: 5px; | |
# margin-top: 1em; | |
# } | |
# #log table { | |
# margin: 0; | |
# } | |
# #mojobar { | |
# background-color: #1a1a1a; | |
# background: -webkit-linear-gradient(top, #2a2a2a 0%, #000 100%); | |
# background: -moz-linear-gradient(top, #2a2a2a 0%, #000 100%); | |
# background: linear-gradient(top, #2a2a2a 0%, #000 100%); | |
# box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5); | |
# height: 46px; | |
# overflow: hidden; | |
# width: 100%; | |
# z-index: 1000; | |
# } | |
# #mojobar-brand { | |
# display: inline-block; | |
# padding-left: 50px; | |
# padding-top: 4px; | |
# } | |
# #mojobar-links { | |
# display: inline; | |
# float: right; | |
# height: 60px; | |
# margin-top: 0.8em; | |
# padding-right: 50px; | |
# } | |
# #mojobar-links a { | |
# color: #bbb; | |
# font: 0.9em 'Helvetica Neue', Helvetica, sans-serif; | |
# margin-left: 0.5em; | |
# text-decoration: none; | |
# transition: all 200ms ease-in-out; | |
# } | |
# #mojobar-links a:hover { | |
# color: #fff; | |
# } | |
# #mojobar-links input { | |
# background-color: #3a3a3a; | |
# border: 1px solid rgba(0, 0, 0, 0.1); | |
# border-radius: 3px; | |
# color: #eee; | |
# display: inline; | |
# margin-left: 1em; | |
# padding: 4px; | |
# transition: all 0.15s; | |
# } | |
# #mojobar-links input:focus { | |
# background-color: #fff; | |
# color: #111; | |
# outline: 0; | |
# } | |
# #mojobar-links form { | |
# display: inline; | |
# } | |
# #more, #trace { | |
# border-bottom-left-radius: 5px; | |
# border-bottom-right-radius: 5px; | |
# } | |
# #more .tap, #trace .tap { | |
# text-shadow: #ddd 0 1px 0; | |
# } | |
# #request { | |
# border-bottom: 0; | |
# border-top-left-radius: 5px; | |
# border-top-right-radius: 5px; | |
# margin-top: 1em; | |
# } | |
# #routes { | |
# border-bottom-left-radius: 5px; | |
# border-bottom-right-radius: 5px; | |
# padding-top: 30px; | |
# } | |
# #trace { | |
# border-top: 0; | |
# } | |
# #wrapperlicious { | |
# max-width: 1000px; | |
# margin: 0 auto; | |
# } | |
# </style> | |
# </head> | |
# <body> | |
# <div id="mojobar"> | |
# <a href="https://mojolicious.org" id="mojobar-brand"> | |
# <picture> | |
# <img src="/mojo/logo-white.png" | |
# srcset="/mojo/logo-white-2x.png 2x"> | |
# </picture> | |
# </a> <div id="mojobar-links"> | |
# <a href="https://mojolicious.org/perldoc">Documentation</a> | |
# <a href="https://kiwiirc.com/nextclient/#irc://irc.freenode.net/mojo?nick=guest-?">Chat</a> | |
# <a href="https://github.com/mojolicious/mojo/wiki">Wiki</a> | |
# <a href="https://github.com/mojolicious/mojo">GitHub</a> | |
# <a href="https://metacpan.org/release/Mojolicious/">CPAN</a> | |
# <a href="https://groups.google.com/group/mojolicious">MailingList</a> | |
# <a href="https://twitter.com/perlmojo">Twitter</a> | |
# <form action="https://www.google.com/cse" target="_blank"> | |
# <input name="cx" type="hidden" value="014527573091551588235:pwfplkjpgbi"> | |
# <input name="ie" type="hidden" value="UTF-8"> | |
# <input name="q" placeholder="Search" type="search"> | |
# </form> | |
# </div> | |
# </div> | |
# <script> | |
# function mojoDrawer(handle, drawer) { | |
# $(handle).on('click', function () { | |
# $(drawer).slideToggle('slow'); | |
# var text = $(handle + ' div.tap').text(); | |
# text = text == "tap for more" ? "tap for less" : "tap for more"; | |
# $(handle + ' div.tap').text(text); | |
# }); | |
# $(drawer).toggle(); | |
# } | |
# $(function () { | |
# mojoDrawer('#trace', '#frames'); | |
# mojoDrawer('#more', '#infos'); | |
# }); | |
# </script> | |
# <div id="wrapperlicious"> | |
# <div id="nothing" class="box spaced"></div> | |
# <div id="showcase" class="box code spaced"> | |
# <pre id="error">Can't call method "path" on an undefined value at /Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm line 33. | |
# </pre> | |
# <div id="context" class="more"> | |
# <table> | |
# <tr> | |
# <td class="key">28</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint">sub _asset_version {</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">29</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> my $app = shift->app;</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">30</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> return $app->config->{asset_version} if $app->config->{asset_version};</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">31</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"></code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">32</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> my $mode = $app->mode eq 'development' ? 'development' : 'production';</code></pre> | |
# </td> | |
# </tr> | |
# <tr class="important"> | |
# <td class="key">33</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> my @paths = (</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">34</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> $app->static->file("asset/webpack.$mode.html")->path,</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">35</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> $app->renderer->template_path({template => 'sw', format => 'js', handler => 'ep'}),</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">36</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> );</code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">37</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"></code></pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="key">38</td> | |
# <td class="value wide"> | |
# <pre><code class="prettyprint"> my $version = 0;</code></pre> | |
# </td> | |
# </tr> | |
# </table> | |
# </div> | |
# </div> | |
# <div id="trace" class="box spaced"> | |
# <div id="frames" class="infobox more"> | |
# <table> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 33, in "Convos::Plugin::Helpers"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Controller.pm", line 29, in "Mojolicious::Controller"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 124, in "Convos::Plugin::Helpers"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/lib/Convos/Plugin/Helpers.pm", line 93, in "Convos::Plugin::Helpers"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugin/EPRenderer.pm", line 51, in "Mojolicious::Plugin::EPRenderer"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "template file.html.ep", line 2, in "Mojo::Template::Sandbox::eae2f5927c4df3331667cf0efff8f725"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 163, in "Mojo::Template"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 163, in "Mojo::Template"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 166, in "Mojo::Template"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Template.pm", line 177, in "Mojo::Template"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugin/EPLRenderer.pm", line 41, in "Mojolicious::Plugin::EPLRenderer"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Plugin/EPRenderer.pm", line 41, in "Mojolicious::Plugin::EPRenderer"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Renderer.pm", line 228, in "Mojolicious::Renderer"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Renderer.pm", line 104, in "Mojolicious::Renderer"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojolicious/Controller.pm", line 156, in "Mojolicious::Controller"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/lib/Convos/Plugin/Files.pm", line 53, in "Convos::Plugin::Files"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Promise.pm", line 219, in "Mojo::Promise"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Promise.pm", line 219, in "Mojo::Promise"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Promise.pm", line 102, in "Mojo::Promise"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Promise.pm", line 188, in "Mojo::Promise"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop.pm", line 79, in "Mojo::IOLoop"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 129, in "Mojo::Reactor::Poll"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 145, in "Mojo::Reactor::Poll"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/Poll.pm", line 145, in "Mojo::Reactor::Poll"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 70, in "Mojo::Reactor::EV"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 30, in "Mojo::Reactor::EV"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/Reactor/EV.pm", line 30, in "Mojo::Reactor::EV"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/IOLoop.pm", line 134, in "Mojo::IOLoop"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Mojo/UserAgent.pm", line 65, in "Mojo::UserAgent"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 396, in "Test::Mojo"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 343, in "Test::Mojo"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "/Users/marcus/Source/convos/script/../local/lib/perl5/Test/Mojo.pm", line 121, in "Test::Mojo"</pre> | |
# </td> | |
# </tr> | |
# <tr> | |
# <td class="striped value wide"> | |
# <pre>File "t/web-files.t", line 28, in "main"</pre> | |
# </td> | |
# </tr> | |
# </table> | |
# </div> | |
# <div class="tap">tap for more</div> | |
# </div> | |
# <div id="request" class="box infobox spaced"> | |
# <table> | |
# <tr> | |
# <td class="key">Request ID:</td> | |
# <td class="striped value wide"><pre>9148f479</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Method:</td> | |
# <td class="striped value wide"><pre>GET</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">URL:</td> | |
# <td class="striped value wide"><pre>/file/1/vGWDFLnZMyXstzmj</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Base URL:</td> | |
# <td class="striped value wide"><pre>http://127.0.0.1:50028</pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Parameters:</td> | |
# <td class="striped value wide"><pre>{} | |
# </pre></td> | |
# </tr> | |
# | |
# <tr> | |
# <td class="key">Stash:</td> | |
# <td class="striped value wide"><pre>{ | |
# "action" => "get", | |
# "controller" => "files", | |
# "debug" => [ | |
# "info" | |
# ], | |
# "fid" => "vGWDFLnZMyXstzmj", | |
# "file" => bless( { | |
# "asset" => bless( { | |
# "path" => bless( do{\(my $o = "/Users/marcus/Source/convos/local/test-web-files-t/superman\@example.com/upload/vGWDFLnZMyXstzmj.data")}, 'Mojo::File' ), | |
# "pid" => 35222 | |
# }, 'Mojo::Asset::File' ), | |
# "filename" => "web-files.t", | |
# "id" => "vGWDFLnZMyXstzmj", | |
# "path" => $VAR1->{"file"}{"asset"}{"path"}, | |
# "saved" => "2020-02-02T09:56:01Z", | |
# "types" => bless( { | |
# "mapping" => { | |
# "appcache" => [ | |
# "text/cache-manifest" | |
# ], | |
# "atom" => [ | |
# "application/atom+xml" | |
# ], | |
# "bin" => [ | |
# "application/octet-stream" | |
# ], | |
# "css" => [ | |
# "text/css" | |
# ], | |
# "gif" => [ | |
# "image/gif" | |
# ], | |
# "gz" => [ | |
# "application/x-gzip" | |
# ], | |
# "htm" => [ | |
# "text/html" | |
# ], | |
# "html" => [ | |
# "text/html;charset=UTF-8" | |
# ], | |
# "ico" => [ | |
# "image/x-icon" | |
# ], | |
# "jpeg" => [ | |
# "image/jpeg" | |
# ], | |
# "jpg" => [ | |
# "image/jpeg" | |
# ], | |
# "js" => [ | |
# "application/javascript" | |
# ], | |
# "json" => [ | |
# "application/json;charset=UTF-8" | |
# ], | |
# "mp3" => [ | |
# "audio/mpeg" | |
# ], | |
# "mp4" => [ | |
# "video/mp4" | |
# ], | |
# "ogg" => [ | |
# "audio/ogg" | |
# ], | |
# "ogv" => [ | |
# "video/ogg" | |
# ], | |
# "pdf" => [ | |
# "application/pdf" | |
# ], | |
# "png" => [ | |
# "image/png" | |
# ], | |
# "rss" => [ | |
# "application/rss+xml" | |
# ], | |
# "svg" => [ | |
# "image/svg+xml" | |
# ], | |
# "t" => [], | |
# "txt" => [ | |
# "text/plain;charset=UTF-8" | |
# ], | |
# "webm" => [ | |
# "video/webm" | |
# ], | |
# "woff" => [ | |
# "font/woff" | |
# ], | |
# "woff2" => [ | |
# "font/woff2" | |
# ], | |
# "xml" => [ | |
# "application/xml", | |
# "text/xml" | |
# ], | |
# "zip" => [ | |
# "application/zip" | |
# ] | |
# } | |
# }, 'Mojolicious::Types' ), | |
# "user" => bless( { | |
# "core" => bless( { | |
# "backend" => bless( { | |
# "event_to_class" => { | |
# "multiline_message" => "Convos::Plugin::Files::File" | |
# }, | |
# "events" => { | |
# "connection" => [ | |
# sub { "DUMMY" } | |
# ] | |
# }, | |
# "home" => bless( do{\(my $o = "/Users/marcus/Source/convos/local/test-web-files-t")}, 'Mojo::File' ) | |
# }, 'Convos::Core::Backend::File' ), | |
# "base_url" => bless( { | |
# "base" => bless( { | |
# "host" => "127.0.0.1", | |
# "port" => 50028, | |
# "scheme" => "http" | |
# }, 'Mojo::URL' ), | |
# "host" => "127.0.0.1", | |
# "path" => bless( { | |
# "charset" => "UTF-8", | |
# "path" => "/" | |
# }, 'Mojo::Path' ), | |
# "port" => 50028, | |
# "query" => bless( {}, 'Mojo::Parameters' ), | |
# "scheme" => "http", | |
# "userinfo" => undef | |
# }, 'Mojo::URL' ), | |
# "connect_tid" => "a554fa73aa02feb903b46ec87b1745d6", | |
# "home" => $VAR1->{"file"}{"user"}{"core"}{"backend"}{"home"}, | |
# "settings" => bless( { | |
# "contact" => "mailto:root\@localhost", | |
# "core" => $VAR1->{"file"}{"user"}{"core"}, | |
# "default_connection" => bless( { | |
# "host" => "chat.freenode.net", | |
# "path" => bless( { | |
# "charset" => "UTF-8", | |
# "path" => "/%23convos" | |
# }, 'Mojo::Path' ), | |
# "port" => 6697, | |
# "query" => bless( { | |
# "charset" => "UTF-8", | |
# "pairs" => [] | |
# }, 'Mojo::Parameters' ), | |
# "scheme" => "irc" | |
# }, 'Mojo::URL' ), | |
# "forced_connection" => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ), | |
# "local_secret" => "3b9bdfa39360f1ced38baf4012815896", | |
# "open_to_public" => $VAR1->{"file"}{"user"}{"core"}{"settings"}{"forced_connection"}, | |
# "organization_name" => "Convos", | |
# "organization_url" => bless( { | |
# "host" => "convos.by", | |
# "path" => bless( { | |
# "charset" => "UTF-8", | |
# "leading_slash" => "", | |
# "parts" => [], | |
# "trailing_slash" => "" | |
# }, 'Mojo::Path' ), | |
# "query" => bless( { | |
# "charset" => "UTF-8", | |
# "pairs" => [] | |
# }, 'Mojo::Parameters' ), | |
# "scheme" => "https" | |
# }, 'Mojo::URL' ), | |
# "session_secrets" => [ | |
# "not-very-secret" | |
# ] | |
# }, 'Convos::Core::Settings' ), | |
# "started" => 1, | |
# "users" => { | |
# "superman\@example.com" => $VAR1->{"file"}{"user"} | |
# } | |
# }, 'Convos::Core' ), | |
# "email" => "superman\@example.com", | |
# "highlight_keywords" => [], | |
# "password" => "\$2a\$08\$ZQXBicj59DQ1UrY5jbj1t.fzEWwmwBg51Pqn7XUClmg6hmVfXRRTC", | |
# "registered" => bless( { | |
# "epoch" => 1580637361 | |
# }, 'Mojo::Date' ), | |
# "roles" => [], | |
# "uid" => 1, | |
# "unread" => 0 | |
# }, 'Convos::Core::User' ), | |
# "write_only" => bless( do{\(my $o = 0)}, 'JSON::PP::Boolean' ) | |
# }, 'Convos::Plugin::Files::File' ), | |
# "handler" => "ep", | |
# "layout" => "convos", | |
# "openapi" => "Should never be rendered.", | |
# "openapi.base_paths" => [ | |
# [ | |
# "/api", | |
# bless( { | |
# "_renderer" => sub { "DUMMY" }, | |
# "default_response_codes" => [ | |
# 400, | |
# 401, | |
# 404, | |
# 500, | |
# 501 | |
# ], | |
# "default_response_name" => "DefaultResponse", | |
# "log_level" => "warn", | |
# "parameters_for" => { | |
# "/connection/{connection_id}" => { | |
# "delete" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# } | |
# ], | |
# "post" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# }, | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ), | |
# "schema" => { | |
# "properties" => { | |
# "on_connect_commands" => { | |
# "description" => "Commands to be run after the connection is established", | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array" | |
# }, | |
# "url" => { | |
# "description" => "Example: irc://user:pass\@irc.perl.org?nick=superman", | |
# "format" => "uri", | |
# "type" => "string" | |
# }, | |
# "wanted_state" => { | |
# "description" => "Connection state", | |
# "enum" => [ | |
# "connected", | |
# "disconnected" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# } | |
# ] | |
# }, | |
# "/connection/{connection_id}/dialog/{dialog_id}/messages" => { | |
# "get" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# }, | |
# { | |
# "\$ref" => "#/parameters/dialog_id" | |
# }, | |
# { | |
# "description" => "Find messages after a given ISO 8601 timestamp", | |
# "format" => "date-time", | |
# "in" => "query", | |
# "name" => "after", | |
# "type" => "string" | |
# }, | |
# { | |
# "description" => "Find messages before a given ISO 8601 timestamp", | |
# "format" => "date-time", | |
# "in" => "query", | |
# "name" => "before", | |
# "type" => "string" | |
# }, | |
# { | |
# "description" => "Max number of messages to retrieve", | |
# "in" => "query", | |
# "name" => "limit", | |
# "type" => "integer" | |
# }, | |
# { | |
# "description" => "Messages must match this string", | |
# "in" => "query", | |
# "name" => "match", | |
# "type" => "string" | |
# } | |
# ] | |
# }, | |
# "/connection/{connection_id}/dialog/{dialog_id}/read" => { | |
# "post" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# }, | |
# { | |
# "\$ref" => "#/parameters/dialog_id" | |
# } | |
# ] | |
# }, | |
# "/connection/{connection_id}/messages" => { | |
# "get" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# }, | |
# { | |
# "description" => "Find messages after a given ISO 8601 timestamp", | |
# "format" => "date-time", | |
# "in" => "query", | |
# "name" => "after", | |
# "type" => "string" | |
# }, | |
# { | |
# "description" => "Find messages before a given ISO 8601 timestamp", | |
# "format" => "date-time", | |
# "in" => "query", | |
# "name" => "before", | |
# "type" => "string" | |
# }, | |
# { | |
# "description" => "Max number of messages to retrieve", | |
# "in" => "query", | |
# "name" => "limit", | |
# "type" => "integer" | |
# }, | |
# { | |
# "description" => "Messages must match this string", | |
# "in" => "query", | |
# "name" => "match", | |
# "type" => "string" | |
# } | |
# ] | |
# }, | |
# "/connection/{connection_id}/read" => { | |
# "post" => [ | |
# { | |
# "\$ref" => "#/parameters/connection_id" | |
# } | |
# ] | |
# }, | |
# "/connections" => { | |
# "get" => [], | |
# "post" => [ | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "schema" => { | |
# "properties" => { | |
# "on_connect_commands" => { | |
# "description" => "Commands to be run after the connection is established", | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array" | |
# }, | |
# "url" => { | |
# "description" => "Example: irc://user:pass\@irc.perl.org?nick=superman", | |
# "type" => "string" | |
# }, | |
# "wanted_state" => { | |
# "description" => "Connection state", | |
# "enum" => [ | |
# "connected", | |
# "disconnected" | |
# ], | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "url" | |
# ], | |
# "type" => "object" | |
# } | |
# } | |
# ] | |
# }, | |
# "/dialogs" => { | |
# "get" => [] | |
# }, | |
# "/embed" => { | |
# "get" => [ | |
# { | |
# "description" => "URL to resource", | |
# "in" => "query", | |
# "name" => "url", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string" | |
# } | |
# ] | |
# }, | |
# "/file" => { | |
# "post" => [ | |
# { | |
# "in" => "formData", | |
# "name" => "file", | |
# "required" => bless( do{\(my $o = 1)}, 'JSON::PP::Boolean' ), | |
# "type" => "file" | |
# }, | |
# { | |
# "in" => "formData", | |
# "name" => "id", | |
# "type" => "string" | |
# }, | |
# { | |
# "in" => "formData", | |
# "name" => "write_only", | |
# "type" => "boolean" | |
# } | |
# ] | |
# }, | |
# "/file/:uid/:fid" => { | |
# "get" => [ | |
# { | |
# "in" => "path", | |
# "name" => "fid", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string" | |
# }, | |
# { | |
# "in" => "path", | |
# "name" => "uid", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "type" => "string" | |
# } | |
# ] | |
# }, | |
# "/notifications" => { | |
# "get" => [] | |
# }, | |
# "/notifications/read" => { | |
# "post" => [] | |
# }, | |
# "/settings" => { | |
# "get" => [], | |
# "post" => [ | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "schema" => { | |
# "\$ref" => "#/definitions/ServerSettings" | |
# } | |
# } | |
# ] | |
# }, | |
# "/user" => { | |
# "delete" => [], | |
# "get" => [ | |
# { | |
# "description" => "Retrieve connection list.", | |
# "in" => "query", | |
# "name" => "connections", | |
# "type" => "boolean" | |
# }, | |
# { | |
# "description" => "Retrieve dialog list.", | |
# "in" => "query", | |
# "name" => "dialogs", | |
# "type" => "boolean" | |
# }, | |
# { | |
# "description" => "Retrieve notifications list.", | |
# "in" => "query", | |
# "name" => "notifications", | |
# "type" => "boolean" | |
# } | |
# ], | |
# "post" => [ | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "schema" => { | |
# "properties" => { | |
# "highlight_keywords" => { | |
# "description" => "Extra keywords to highlight on", | |
# "items" => { | |
# "type" => "string" | |
# }, | |
# "type" => "array" | |
# }, | |
# "password" => { | |
# "\$ref" => "#/definitions/password" | |
# } | |
# }, | |
# "type" => "object" | |
# } | |
# } | |
# ] | |
# }, | |
# "/user/login" => { | |
# "post" => [ | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "schema" => { | |
# "properties" => { | |
# "email" => { | |
# "description" => "User email", | |
# "format" => "email", | |
# "type" => "string" | |
# }, | |
# "password" => { | |
# "description" => "User password", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "email", | |
# "password" | |
# ], | |
# "type" => "object" | |
# } | |
# } | |
# ] | |
# }, | |
# "/user/logout" => { | |
# "get" => [] | |
# }, | |
# "/user/register" => { | |
# "post" => [ | |
# { | |
# "in" => "body", | |
# "name" => "body", | |
# "required" => $VAR1->{"openapi.base_paths"}[0][1]{"parameters_for"}{"/connection/{connection_id}"}{"post"}[1]{"required"}, | |
# "schema" => { | |
# "properties" => { | |
# "email" => { | |
# "description" => "User email", | |
# "format" => "email", | |
# "type" => "string" | |
# }, | |
# "exp" => { | |
# "description" => "Expire time for a token", | |
# "type" => "string" | |
# }, | |
# "password" => { | |
# "\$ref" => "#/definitions/password" | |
# }, | |
# "token" => { | |
# "description" => "Checksum generated by inviteUser", | |
# "type" => "string" | |
# } | |
# }, | |
# "required" => [ | |
# "email", | |
# "password" | |
# ], | |
# "type" => "object" | |
# } | |
# } | |
# ] | |
# }, | |
# "/user/{email}/invite" => { | |
# "post" => [ | |
# { | |
# "\$ref" => "#/parameters/email_in_path" | |
# }, | |
# { | |
# "description" => "Role to give the user.", | |
# "in" => "query", | |
# "name" => "role", | |
# "type" => "string" | |
# } | |
# ] | |
# } | |
# }, | |
# "route" => bless( { | |
# "children" => [ | |
# bless( { | |
# "children" => [], | |
# "name" => "", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" } | |
# }, | |
# "placeholders" => [], | |
# "regex" => qr/^\/?(?:\.([^\/]+))?$/sp, | |
# "tree" => [], | |
# "type_start" => ":", | |
# "types" => { | |
# "num" => qr/[0-9]+/ | |
# } | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "deleteUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "delete", | |
# "controller" => "user", | |
# "openapi.method" => "delete", | |
# "openapi.path" => "/user" | |
# }, | |
# "placeholder_start" => ":", | |
# "placeholders" => [], | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "regex" => qr/^\/user\/?(?:\.([^\/]+))?$/sp, | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ] | |
# ], | |
# "type_start" => ":", | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "DELETE" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "getUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "get", | |
# "controller" => "user", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/user" | |
# }, | |
# "placeholder_start" => ":", | |
# "placeholders" => [], | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "regex" => qr/^\/user\/?(?:\.([^\/]+))?$/sp, | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ] | |
# ], | |
# "type_start" => ":", | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "updateUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "update", | |
# "controller" => "user", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/user" | |
# }, | |
# "placeholder_start" => ":", | |
# "placeholders" => [], | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "regex" => qr/^\/user\/?(?:\.([^\/]+))?$/sp, | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ] | |
# ], | |
# "type_start" => ":", | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "uploadFile", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "upload", | |
# "controller" => "files", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/file" | |
# }, | |
# "placeholder_start" => ":", | |
# "placeholders" => [], | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "regex" => qr/^\/file\/?(?:\.([^\/]+))?$/sp, | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/file" | |
# ] | |
# ], | |
# "type_start" => ":", | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/file", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "embed", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "info", | |
# "controller" => "url", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/embed" | |
# }, | |
# "placeholder_start" => ":", | |
# "placeholders" => [], | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "regex" => qr/^\/embed\/?(?:\.([^\/]+))?$/sp, | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/embed" | |
# ] | |
# ], | |
# "type_start" => ":", | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/embed", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "listDialogs", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "list", | |
# "controller" => "dialog", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/dialogs" | |
# }, | |
# "placeholder_start" => ":", | |
# "placeholders" => [], | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "regex" => qr/^\/dialogs\/?(?:\.([^\/]+))?$/sp, | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/dialogs" | |
# ] | |
# ], | |
# "type_start" => ":", | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/dialogs", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "getSettings", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "settings_get", | |
# "controller" => "admin", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/settings" | |
# }, | |
# "placeholder_start" => ":", | |
# "placeholders" => [], | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "regex" => qr/^\/settings\/?(?:\.([^\/]+))?$/sp, | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/settings" | |
# ] | |
# ], | |
# "type_start" => ":", | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/settings", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "updateSettings", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "settings_update", | |
# "controller" => "admin", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/settings" | |
# }, | |
# "placeholder_start" => ":", | |
# "placeholders" => [], | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "regex" => qr/^\/settings\/?(?:\.([^\/]+))?$/sp, | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/settings" | |
# ] | |
# ], | |
# "type_start" => ":", | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/settings", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "loginUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "login", | |
# "controller" => "user", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/user/login" | |
# }, | |
# "placeholder_start" => ":", | |
# "placeholders" => [], | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "regex" => qr/^\/user\/login\/?(?:\.([^\/]+))?$/sp, | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/login" | |
# ] | |
# ], | |
# "type_start" => ":", | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/login", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "listConnections", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "list", | |
# "controller" => "connection", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/connections" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connections" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connections", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "createConnection", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "create", | |
# "controller" => "connection", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/connections" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connections" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connections", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "logoutUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "logout", | |
# "controller" => "user", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/user/logout" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/logout" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/logout", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "registerUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "register", | |
# "controller" => "user", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/user/register" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/register" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/register", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "notificationMessages", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "messages", | |
# "controller" => "notifications", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/notifications" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/notifications" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/notifications", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "getFile", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "get", | |
# "controller" => "files", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/file/:uid/:fid" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/file" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "uid" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "fid" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/file/:uid/:fid", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "readNotifications", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "read", | |
# "controller" => "notifications", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/notifications/read" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/notifications/read" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/notifications/read", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "inviteUser", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "generate_invite_link", | |
# "controller" => "user", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/user/{email}/invite" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "email", | |
# "relaxed" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "invite" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/<#email>/invite", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "removeConnection", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "remove", | |
# "controller" => "connection", | |
# "openapi.method" => "delete", | |
# "openapi.path" => "/connection/{connection_id}" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "DELETE" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "updateConnection", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "update", | |
# "controller" => "connection", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/connection/{connection_id}" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "setConnectionLastRead", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "last_read", | |
# "controller" => "dialog", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/connection/{connection_id}/read" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "read" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/read", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "connectionMessages", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "messages", | |
# "controller" => "dialog", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/connection/{connection_id}/messages" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "messages" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/messages", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "setDialogLastRead", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "last_read", | |
# "controller" => "dialog", | |
# "openapi.method" => "post", | |
# "openapi.path" => "/connection/{connection_id}/dialog/{dialog_id}/read" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "dialog" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "dialog_id", | |
# "relaxed" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "read" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/dialog/<#dialog_id>/read", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "POST" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "dialogMessages", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "action" => "messages", | |
# "controller" => "dialog", | |
# "openapi.method" => "get", | |
# "openapi.path" => "/connection/{connection_id}/dialog/{dialog_id}/messages" | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "dialog" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "dialog_id", | |
# "relaxed" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "messages" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>/dialog/<#dialog_id>/messages", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "GET" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "deleteUser_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "uploadFile_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/file" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/file", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "embed_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/embed" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/embed", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "listDialogs_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/dialogs" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/dialogs", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "getSettings_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/settings" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/settings", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "loginUser_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/login" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/login", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "listConnections_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connections" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connections", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "logoutUser_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/logout" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/logout", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "registerUser_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user/register" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/register", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "notificationMessages_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/notifications" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/notifications", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "getFile_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/file" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "uid" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "fid" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/file/:uid/:fid", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "readNotifications_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/notifications/read" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/notifications/read", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "inviteUser_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/user" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "email", | |
# "relaxed" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "text", | |
# "invite" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/user/<#email>/invite", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "removeConnection_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# "placeholder", | |
# "connection_id" | |
# ] | |
# ], | |
# "types" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}{"children"}[0]{"pattern"}{"types"}, | |
# "unparsed" => "/connection/<:connection_id>", | |
# "wildcard_start" => "*" | |
# }, 'Mojolicious::Routes::Pattern' ), | |
# "via" => [ | |
# "OPTIONS" | |
# ] | |
# }, 'Mojolicious::Routes::Route' ), | |
# bless( { | |
# "children" => [], | |
# "custom" => 1, | |
# "name" => "setConnectionLastRead_openapi_documentation", | |
# "parent" => $VAR1->{"openapi.base_paths"}[0][1]{"route"}, | |
# "pattern" => bless( { | |
# "constraints" => {}, | |
# "defaults" => { | |
# "cb" => sub { "DUMMY" }, | |
# "openapi.default_options" => 1 | |
# }, | |
# "placeholder_start" => ":", | |
# "quote_end" => ">", | |
# "quote_start" => "<", | |
# "relaxed_start" => "#", | |
# "tree" => [ | |
# [ | |
# "text", | |
# "/connection" | |
# ], | |
# [ | |
# "slash" | |
# ], | |
# [ | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment