Giter Site home page Giter Site logo

Comments (6)

oliyh avatar oliyh commented on May 20, 2024 2

Hi,

This is not currently supported in Martian. It probably could be without too much trouble. I'll have to do some reading on what that section means, but probably a first pass to just use the defaults would at least get you able to use it.

Thanks for reporting.

from martian.

oliyh avatar oliyh commented on May 20, 2024 1

Hi,

In #129 support was added for an option :server-url in the options when you call bootstrap-openapi. You could change to this as a workaround:

(def radarr-api
 (martian-http/bootstrap-openapi 
    "https://raw.githubusercontent.com/Radarr/Radarr/develop/src/Radarr.Api.V3/swagger.json"
    {:server-url "https://localhost:7878/api/v3"}))

This is available in the latest snapshot 0.1.21-SNAPSHOT

from martian.

kiranshila avatar kiranshila commented on May 20, 2024

Also, I am bootstrapping with

(def radarr-api
 (martian-http/bootstrap-openapi "https://raw.githubusercontent.com/Radarr/Radarr/develop/src/Radarr.Api.V3/swagger.json"))

from martian.

arichiardi avatar arichiardi commented on May 20, 2024

A question, I have been eyeing this project for loading our OpenAPI 3 spec, is it, in general, supported by martian?

from martian.

oliyh avatar oliyh commented on May 20, 2024

Hi @arichiardi ,

The OpenAPI spec is in general supported by martian, this was added in #90 and #91 with various extra bits added since. This issue in particular is still unaddressed and there are likely other small parts that are not supported but you should find that core functionality is all there.

If you find something missing, issues and PRs are welcome as always.

Cheers

from martian.

damesek avatar damesek commented on May 20, 2024

Please add to Readme this :server-url option. :)
It took me a long time to find this here..

from martian.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.