Coder Social home page Coder Social logo

Ideia: CI schema merger about rspec-openapi HOT 3 CLOSED

exoego avatar exoego commented on June 10, 2024 2
Ideia: CI schema merger

from rspec-openapi.

Comments (3)

pedrocarmona avatar pedrocarmona commented on June 10, 2024 1

Hi @k0kubun, yes A) is working, sorry, It was a fast draft.

I wanted to say: For big applications, because locally its not easy to run all tests, the append mode is the perfect solution.
However there is the case of the deleted changes, would be nice to spot them on CI.

Inspiration for B) is simplecov merge results.
I will take a look at yamlinc :)

Thank you for your work and response!

from rspec-openapi.

k0kubun avatar k0kubun commented on June 10, 2024

I don't get what you're talking about in (A). It already works that way because:

https://github.com/k0kubun/rspec-openapi#whats-this
Furthermore, rspec-openapi keeps manual modifications when it merges automated changes to OpenAPI specs in case we can't generate everything from request specs.

If you don't like the current behavior, please file a pull request by yourself. I can't think of any other way to implement that, so I cannot write one.


B) In big project, one usually configures CI to run test accoss multiple nodes.
If CI would generate a swagger file each run then we need an ability to join files.
Would be nice to have cli/rake to join all files, and compile into a single file.

It's not related to RSpec, so I want that feature to be in another gem so that the logic could be shared with other projects that don't use rspec-openapi too.

from rspec-openapi.

k0kubun avatar k0kubun commented on June 10, 2024

For your information, some of my colleagues seem to be using https://github.com/javanile/yamlinc for (B).

from rspec-openapi.

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.