Created
May 19, 2020 11:04
-
-
Save dmpanch/c1776d833161308f831530320c06bcce to your computer and use it in GitHub Desktop.
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
Errno::ENOENT at /definitions/API_v972_swagger-1.7.0 | |
No such file or directory - Could not find definition 'definitions/API_v972_swagger-1.7' in './' | |
file: open_api_definition_resolver.rb location: find line: 14 | |
/lib/nexmo/oas/renderer/services/open_api_definition_resolver.rb in find | |
raise Errno::ENOENT, "Could not find definition '#{name}' in '#{API.oas_path}'" | |
/lib/nexmo/oas/renderer/presenters/open_api_specification.rb in definition | |
@definition ||= OpenApiDefinitionResolver.find(@definition_name) | |
/lib/nexmo/oas/renderer/presenters/open_api_specification.rb in initialize | |
@groups = Groups.new(definition) | |
/lib/nexmo/oas/renderer/app.rb in new | |
@specification = Presenters::OpenApiSpecification.new( | |
/lib/nexmo/oas/renderer/app.rb in block in <class:API> | |
@specification = Presenters::OpenApiSpecification.new( | |
/usr/local/lib/ruby/2.6.0/webrick/httpserver.rb in service | |
si.service(req, res) | |
/usr/local/lib/ruby/2.6.0/webrick/httpserver.rb in run | |
server.service(req, res) | |
/usr/local/lib/ruby/2.6.0/webrick/server.rb in block in start_thread | |
block ? block.call(sock) : run(sock) | |
GET | |
No GET data. | |
POST | |
No POST data. | |
COOKIES | |
No cookie data. | |
Rack ENV | |
Variable Value | |
GATEWAY_INTERFACE | |
CGI/1.1 | |
HTTP_ACCEPT | |
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 | |
HTTP_ACCEPT_ENCODING | |
gzip, deflate, br | |
HTTP_ACCEPT_LANGUAGE | |
en-US,en;q=0.9,ru-UA;q=0.8,ru;q=0.7,uk;q=0.6,id;q=0.5 | |
HTTP_CONNECTION | |
keep-alive | |
HTTP_DNT | |
1 | |
HTTP_HOST | |
localhost:4567 | |
HTTP_REFERER | |
http://localhost:4567/ | |
HTTP_SEC_FETCH_DEST | |
document | |
HTTP_SEC_FETCH_MODE | |
navigate | |
HTTP_SEC_FETCH_SITE | |
same-origin | |
HTTP_SEC_FETCH_USER | |
?1 | |
HTTP_UPGRADE_INSECURE_REQUESTS | |
1 | |
HTTP_USER_AGENT | |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36 | |
HTTP_VERSION | |
HTTP/1.1 | |
PATH_INFO | |
/definitions/API_v972_swagger-1.7.0 | |
QUERY_STRING | |
REMOTE_ADDR | |
172.21.0.1 | |
REMOTE_HOST | |
172.21.0.1 | |
REQUEST_METHOD | |
GET | |
REQUEST_PATH | |
/definitions/API_v972_swagger-1.7.0 | |
REQUEST_URI | |
http://localhost:4567/definitions/API_v972_swagger-1.7.0 | |
SCRIPT_NAME | |
SERVER_NAME | |
localhost | |
SERVER_PORT | |
4567 | |
SERVER_PROTOCOL | |
HTTP/1.1 | |
SERVER_SOFTWARE | |
WEBrick/1.4.2 (Ruby/2.6.6/2020-03-31) | |
rack.errors | |
#<Object:0x000055df8ee21508> | |
rack.hijack | |
#<Proc:0x000055df90879ea0@/usr/local/bundle/gems/rack-2.2.2/lib/rack/handler/webrick.rb:83 (lambda)> | |
rack.hijack? | |
true | |
rack.hijack_io | |
nil | |
rack.input | |
#<StringIO:0x000055df90879f18> | |
rack.logger | |
#<Rack::NullLogger:0x000055df8fd42500 @app=#<Rack::Protection::FrameOptions:0x000055df8fd425c8 @app=#<Rack::Protection::HttpOrigin:0x000055df8fd42730 @app=#<Rack::Protection::IPSpoofing:0x000055df8fd427f8 @app=#<Rack::Protection::JsonCsrf:0x000055df8fd42960 @app=#<Rack::Protection::PathTraversal:0x000055df8fd42a28 @app=#<Rack::Protection::XSSHeader:0x000055df8fd42b18 @app=#<Nexmo::OAS::Renderer::API:0x000055df8fc7fdc0 @default_layout=:layout, @preferred_extension=nil, @app=nil, @template_cache=#<Tilt::Cache:0x000055df8fc7fd70 @cache={}>>, @options={:reaction=>:drop_session, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :session_key=>"rack.session", :status=>403, :allow_empty_referrer=>true, :report_key=>"protection.failed", :html_types=>["text/html", "application/xhtml", "text/xml", "application/xml"], :xss_mode=>:block, :nosniff=>true, :img_src=>"'self' data:", :font_src=>"'self'", :without_session=>true}>, @options={:reaction=>:drop_session, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :session_key=>"rack.session", :status=>403, :allow_empty_referrer=>true, :report_key=>"protection.failed", :html_types=>["text/html", "application/xhtml", "text/xml", "application/xml"], :img_src=>"'self' data:", :font_src=>"'self'", :without_session=>true}>, @options={:reaction=>:drop_session, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :session_key=>"rack.session", :status=>403, :allow_empty_referrer=>true, :report_key=>"protection.failed", :html_types=>["text/html", "application/xhtml", "text/xml", "application/xml"], :allow_if=>nil, :img_src=>"'self' data:", :font_src=>"'self'", :without_session=>true}>, @options={:reaction=>:drop_session, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :session_key=>"rack.session", :status=>403, :allow_empty_referrer=>true, :report_key=>"protection.failed", :html_types=>["text/html", "application/xhtml", "text/xml", "application/xml"], :img_src=>"'self' data:", :font_src=>"'self'", :without_session=>true}>, @options={:reaction=>:drop_session, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :session_key=>"rack.session", :status=>403, :allow_empty_referrer=>true, :report_key=>"protection.failed", :html_types=>["text/html", "application/xhtml", "text/xml", "application/xml"], :allow_if=>nil, :img_src=>"'self' data:", :font_src=>"'self'", :without_session=>true}>, @options={:reaction=>:drop_session, :logging=>true, :message=>"Forbidden", :encryptor=>Digest::SHA1, :session_key=>"rack.session", :status=>403, :allow_empty_referrer=>true, :report_key=>"protection.failed", :html_types=>["text/html", "application/xhtml", "text/xml", "application/xml"], :frame_options=>:sameorigin, :img_src=>"'self' data:", :font_src=>"'self'", :without_session=>true}, @frame_options="SAMEORIGIN">> | |
rack.multiprocess | |
false | |
rack.multithread | |
true | |
rack.request.cookie_hash | |
{} | |
rack.request.query_hash | |
{} | |
rack.request.query_string | |
rack.run_once | |
false | |
rack.url_scheme | |
http | |
rack.version | |
[1, 3] | |
sinatra.accept | |
[#<Sinatra::Request::AcceptEntry:0x000055df90883400 @entry="text/html", @type="text/html", @params={}, @q=1.0>, #<Sinatra::Request::AcceptEntry:0x000055df908832c0 @entry="application/xhtml+xml", @type="application/xhtml+xml", @params={}, @q=1.0>, #<Sinatra::Request::AcceptEntry:0x000055df90882ed8 @entry="image/webp", @type="image/webp", @params={}, @q=1.0>, #<Sinatra::Request::AcceptEntry:0x000055df90882d98 @entry="image/apng", @type="image/apng", @params={}, @q=1.0>, #<Sinatra::Request::AcceptEntry:0x000055df908829b0 @entry="application/signed-exchange;v=b3;q=0.9", @type="application/signed-exchange", @params={"v"=>"b3"}, @q=0.9>, #<Sinatra::Request::AcceptEntry:0x000055df90883180 @entry="application/xml;q=0.9", @type="application/xml", @params={}, @q=0.9>, #<Sinatra::Request::AcceptEntry:0x000055df90882c58 @entry="*/*;q=0.8", @type="*/*", @params={}, @q=0.8>] | |
sinatra.error | |
#<Errno::ENOENT: No such file or directory - Could not find definition 'definitions/API_v972_swagger-1.7' in './'> | |
sinatra.error.params | |
{"definition"=>"definitions/API_v972_swagger-1.7.0"} | |
sinatra.route | |
GET (/api)/*definition | |
You're seeing this error because you have enabled the show_exceptions setting. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment