How to return path parameter in response. #612
-
suppose I have this path in my json (which i will upload) Now i have 2 question
// here is my json file. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi 👋 Please have a look at our OpenAPI mocking guide, there's an illustration of your use-case here: https://microcks.io/documentation/guides/openapi-101/#4-using-path-parameters-in-openapi Note that you can also reuse path elements in response like described here: https://microcks.io/documentation/using/advanced/templates/#variable-reference-expressions |
Beta Was this translation helpful? Give feedback.
Hi 👋
Please have a look at our OpenAPI mocking guide, there's an illustration of your use-case here: https://microcks.io/documentation/guides/openapi-101/#4-using-path-parameters-in-openapi
Note that you can also reuse path elements in response like described here: https://microcks.io/documentation/using/advanced/templates/#variable-reference-expressions