Andreas Haller

Results 26 issues of Andreas Haller

Correcting my own [mistake](https://github.com/tzmfreedom/json_refs/pull/7). Closes https://github.com/tzmfreedom/json_refs/issues/8 And adds a `JsonRefs.load('myfile.json')`

I had to learn the hard way that using this library in a threaded environment might lead to problems, because [json_refs uses Dir.chdir](https://github.com/tzmfreedom/json_refs/blob/da9a1ab8b1511d50f62c7160423b0dc295c6d725/lib/json_refs.rb#L102), which is not threadsafe. I guess solving...

Being able to (optionally) validate the structure of a given OpenAPI file would be handy. Solution idea: Make use of the meta schemas [included in json_schemer](https://github.com/davishmcclurg/json_schemer?tab=readme-ov-file#openapi)

enhancement
help wanted

This is an attempt to test against https://github.com/jsonpath-standard/jsonpath-compliance-test-suite Related to https://github.com/joshbuddy/jsonpath/issues/173

See https://spec.openapis.org/oas/latest.html#fixed-fields-for-use-with-content-0

enhancement

Given I have a validation like this: ```ruby validation = JSONSchemer.schema({ 'dependentRequired' => { 'id' => ['type'] } }).validate({ 'id' => '2' }).to_a ``` This currently returns an error object...

Hi. I am a bit stuck when trying to use hanami-router with dynamic path segments using `scope`. Consider these two examples and the resulting `PATH_INFO` and `SCRIPT_NAME` fields in the...

This is the code that I am using to debug this: ```ruby # config.ru Router = Hanami::Router.new do mount ->(env) { binding.irb }, at: '/settings' end run Router ``` When...

```ruby Benchmark.memory do |x| x.report { OpenapiFirst.load('../spec/data/large.yaml') } end ``` ```sh 26.563M memsize ( 4.364M retained) 268.592k objects ( 38.065k retained) 50.000 strings ( 50.000 retained) ``` I see several...

Or should it not? If the request definition specifies "application/json" as the content-type, an in coming request has content-type "application/vnd.api+json" should be accepted.