Giter Club home page Giter Club logo

Comments (6)

hanspagel avatar hanspagel commented on June 18, 2024

What does that look like? Like really multiple specifications? Or a single specification with multiple files?

from scalar.

amritk avatar amritk commented on June 18, 2024

would probably need to change our config to include path per file. Or maybe the whole config is just an array

from scalar.

marclave avatar marclave commented on June 18, 2024

would probably need to change our config to include path per file. Or maybe the whole config is just an array

i think we can do smth similar to Docusaurus https://github.com/scalar/scalar/blob/main/packages/docusaurus/README.md#usage

you can pass in an array of scalar plugins really simply, but right now its not clear how to do that w nuxt or nitro : )

from scalar.

max06 avatar max06 commented on June 18, 2024

Perfect timing!
My nuxt app provides 2 different APIs, I'd really love to be able to show both. (Although I'd have to figure out first how to separate my generators properly πŸ˜… )

from scalar.

amritk avatar amritk commented on June 18, 2024

@max06 so you have two different open api spec files that you wish to display at two different routes?

from scalar.

max06 avatar max06 commented on June 18, 2024

@amritk That sounds correct, yep.

(We have one api for single resources, and one "flowapi" for complex scenarios consisting of individual single resources)

from scalar.

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.