What is the API structure for post request without parameters/body?
I have a post request without body parameters and I have written following swagger structure. But I am getting error so please someone help me to write swagger API structure for POST request without body parameters
Re: What is the API structure for post request without parameters/body?
Your structure looks fine, here is a minimal definition to complete it...
openapi: 3.0.0 info: title: Test API version: 1.0.0 paths: /something: post: tags: - Notification responses: 204: description: Update Seen Notification Success 401: description: Access Token Missing/Expired 500: description: Something went wrong!