Giter Site home page Giter Site logo

Comments (8)

forceedge01 avatar forceedge01 commented on May 21, 2024 1

Where exactly does one specify a version? I've just created a postman collection to test microcks out - I am getting the error but not much what to do about it (on the web and your resources).

EDIT: I stand corrected, found it here https://microcks.io/documentation/using/postman/#conventions

from microcks.

prouwens avatar prouwens commented on May 21, 2024

Well I find having a version is good anyway, but yes I agree having a message telling so would be good and we should catch the exception as it s causing a null pointer exception.

from microcks.

lbroudoux avatar lbroudoux commented on May 21, 2024

Safe default is not really "safe"' as it opens the door for collisions when importing service definition. I thing going with a clear and explicit error message regarding Missing version property in the collection is the right way to go.

from microcks.

nmasse-itix avatar nmasse-itix commented on May 21, 2024

With the error message, would it be possible to have a short help message explaining the required syntax "version=x.y - something" and where to set it (in the postman collection properties, field "description") ?

from microcks.

lbroudoux avatar lbroudoux commented on May 21, 2024

@nmasse-itix I think having this kind of message, displayed on the line corresponding to Job for service:

version-property-misssing

What do you think?

from microcks.

jcordes73 avatar jcordes73 commented on May 21, 2024

According to https://schema.getpostman.com/json/collection/v2.1.0/docs/index.html, Postman supports a version field starting from Collections 2.1 (maybe). Could we use this one, instead?

from microcks.

lbroudoux avatar lbroudoux commented on May 21, 2024

That's a really good point and a definitive enhancement for Postman Collection! For now, we only support 2.0 Collection format but it deserves an enhancement to support 2.1.

from microcks.

lbroudoux avatar lbroudoux commented on May 21, 2024

Have created the issue #54 to track this enhancement.

from microcks.

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.