oliyh / martian

The HTTP abstraction library for Clojure/script, supporting OpenAPI, Swagger, Schema, re-frame and more
MIT License
529 stars 44 forks source link

add support for the deprecated field on the operation #164

Closed wkok closed 1 year ago

wkok commented 1 year ago

When an operation is deprecated in the openapi spec this PR makes the deprecated field available when exploring the endpoint.

oliyh commented 1 year ago

Hi,

Thanks for the contribution! There are some failing tests in martian.core-test that need updating, and I've left a couple of comments too.

Cheers

wkok commented 1 year ago

Updated with your suggestions. The tests that still fail seems to do with a host that's maybe not running?

wkok commented 1 year ago

Updated with your suggestions.

The tests that still fail seems to be related to some host? ERROR - GET https://pedestal-api.herokuapp.com/swagger.json's callback

oliyh commented 1 year ago

That's an integration test, unfortunately I lost that app in the great heroku shutdown. It's ok to be red until I can get it running again somewhere else.

Thanks!