QuestionQ58Verified/IBM API Connect v10.0.3 Solution ImplementationCopy linkReport a problemAsk AstroTutorSave questionWhich statement is correct about using $ref?AGatewayScript can use $ref instead of included files.B$ref can only be defined in YAML files.C$ref must be defined at the root level of the YAML file.DWhen an API is published, the $ref is replaced with the contents of the referenced file.Show AnswerAnswerExplanationIn IBM API Connect, when an OpenAPI definition uses $ref to point to a code fragment in a separate file, the reference is replaced by the target file’s contents before the containing API product is staged or published.Learn moreIBM API Connect: Publishing an APIShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion