TM Forum Community

 View Only
  • 1.  TMF652 missing child at the yaml

    TM Forum Member
    Posted Oct 21, 2022 04:22
    Hi,
    At the TMF652, I can not find Characteristic object as 'resourceRelationshipCharacteristic' under ResourceRelationship object in yaml file but 
    at the swagger.json there is one.

    Could you please help me with this issue.

    Thanks.


    https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/swagger/TMF652-ResourceOrder-v4.0.0.swagger.json

    https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/ri/TMF652_ResourceOrder.zip

    from swagger.json:


    from yaml:

    #OpenDigitalArchitecture

    ------------------------------
    Ali Rıza Arslan
    Vodafone Group
    ------------------------------


  • 2.  RE: TMF652 missing child at the yaml

    TM Forum Member
    Posted Oct 23, 2022 02:23
    Hi Ali
    I'm a bit confused. The swagger files for v4 APIs are published as json, not as yaml. Which yaml file are you referring to.
    Perhaps @Victor Mari or @Henrique Rodrigues can assist here as well.​​

    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
    ------------------------------



  • 3.  RE: TMF652 missing child at the yaml

    TM Forum Member
    Posted Oct 24, 2022 02:20
    Hi Jonathan,

    I get the yaml file from "Sample Implementation Code" column in  https://projects.tmforum.org/wiki/display/API/Open+API+Table
    https://tmf-open-api-table-documents.s3.eu-west-1.amazonaws.com/OpenApiTable/4.0.0/ri/TMF652_ResourceOrder.zip
    In this zip file, there is yaml file in /api folder, so I get the yaml file from there.

    And I generate Spring project using the "openapi-generator-cli" which I get from  https://openapi-generator.tech/docs/installation

    Am I doing something wrong?

    Thanks




    ------------------------------
    Ali Rıza Arslan
    Vodafone Group
    ------------------------------