-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openapi.spec broken in 2.10 #107
Comments
Can you link to the test that blows up in Yancy? Also, what is the actual JSON pointer? Sure it's valid? |
The test, which is shown in the Travis log I linked, is (even with the line that fails): https://github.com/preaction/Yancy/blob/master/t/plugin/auth/basic.t#L119 The "actual JSON pointer" is set to the array
You have not addressed my point about |
This is the commit that broke Yancy: b2667ef |
@preaction Good news, #108 should sort this out, assuming it is found suitable by @jhthorsen! |
- Fix HEAD requests #105 - Fix using /servers/0/url as basePath for OpenAPI v3 #110 Note: This could be breaking change - Fix getting basePath when using under #107 - Add support for "nullable" in OpenAPI 3.0 #106 - Improved handling of Accept header in OpenAPI v3 #104 Can now handle wildcards, such as application/* and */*, even though not defined in the specification. - Bump JSON::Validator to 3.06
It seems that 2.09 worked fine, but 2.10 has broken Yancy. Now the
openapi.spec
helper is returning aMojo::Collection
of two different response specs, which then blows up the plugin on line 282 which wants the$op_spec
to be a hash, not that.Possibly connected is that there are two different string constants used here,
for_current
vsfor_path
:See https://travis-ci.org/preaction/Yancy/jobs/487286044#L698 for an example.
@preaction FYI.
The text was updated successfully, but these errors were encountered: