Benign gem 827,950 installs Download

openapi_parameters 0.9.0.beta1

“This parses HTTP query/path/header/cookie parameters exactly as described in an OpenAPI API description.”

References a public code-forge URLRuby loads a relative source module
SHA-25628e51f56b7788292b04cbd4d11e2f51528db9e9c2584deea4300ed0c2000fe6c
MaleculeH₂(CmOs)

Evidence

Ruby loads a relative source module converter.rb · lines 1–9
1# frozen_string_literal: true
2
3require_relative 'array_converter'
4
5module OpenapiParameters
⋯4 lines
Ruby loads a relative source module query.rb · lines 1–10
1# frozen_string_literal: true
2
3require 'rack'
4require_relative 'converter'
5
6module OpenapiParameters
⋯4 lines
References a public code-forge URL headers_hash.rb · lines 1–10
1# frozen_string_literal: true
2
3module OpenapiParameters
4 # This is a wrapper around the Rack env hash that allows us to access headers with headers names
5 class HeadersHash
6 # This was copied from this Rack::Request PR: https://github.com/rack/rack/pull/1881
7 # It is not yet released in Rack, so we copied it here.
8 def initialize(env)
9 @env = env
10 end …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.