Which of the following is the correct way to refer to a definition in an OAS file? Consider we are using Swagger Editor and Open API Specification 2.0

$ref: "#/definitions/Item"

$ref: "/definitions/Item"

$ref: "definitions/Item"

ref: "#/definitions/Item"

Verified Answer
Correct Option - a

To get all Infosys Certified Cloud Native Developer Exam questions Join Telegram Group https://grateful.prepflix.in/infy-lex-pdfs

Telegram