Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Thomas Crevoisier
    @ThomasCrevoisier
    Hi guys !
    Let me know when you'll have some time to discuss :)
    Nickolay Kudasov
    @fizruk
    Hi, Thomas!
    I think I have some time now
    Thomas Crevoisier
    @ThomasCrevoisier
    Cool
    Nickolay Kudasov
    @fizruk
    But you can always just ask and we'll respond when we have time to :)
    Thomas Crevoisier
    @ThomasCrevoisier
    yup of course :)
    Is there some documentation specifying the difference between Swagger2 and OpenAPI 3 ? Making the diff between those specs will be a bit cumbersome :P
    I hacked a bit the lib yesterday to get familiar. The only thing I struggled for the moment was modifying the instance FromJSON Schema because of the generic parser
    Nickolay Kudasov
    @fizruk
    hmm
    there was a blog explaining differences
    but it's unavailable for some reason (not even via Google's webcache)
    but there's a YouTube video with that article: https://www.youtube.com/watch?v=rF2xgpdscYU
    It has been published before the official release, but is probably mostly accurate
    of course the most reliable source would be to read OpenAPI 3 docs directly: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md
    but I agree that it's a bit cumbersome
    I remember reading through Swagger 2.0 spec many times to try to understand what they mean
    Thomas Crevoisier
    @ThomasCrevoisier
    Okay thanks
    Thomas Crevoisier
    @ThomasCrevoisier
    For supporting new operators (oneOf and so on), the idea would be to have a Schema data type for OpenAPI and one for Swagger2 ?
    I'm a bit confused how to make a clean transition
    Nickolay Kudasov
    @fizruk
    yes, I think we've settled on coping the whole Data.Swagger module to Data.OpenAPI or better Data.OpenAPI3 or Data.OAS3
    and then we would modify that new module hierarchy
    Thomas Crevoisier
    @ThomasCrevoisier
    By Data.Swagger I suppose you also includes Data.Swagger.* submodules ?
    Nickolay Kudasov
    @fizruk
    yes, the whole hierarchy
    there are a few common/utility modules
    those we probably want to have in Data.OpenAPI.Common or something