On my api, as I ask bellow, I have a common response that uses the endpoint name as key. Hence, how I can populate it automatically?
Using swagger made the following api:
openapi: 3.0.0
servers: []
info
description: This is a simple API
version: "1.0.0"
title: Simple API
paths:
/inventory:
get:
summary: searches inventory
description: |
By passing in the appropriate options, you can search for
available inventory in the system
parameters:
- in: query
name:
…
Top comments (0)