Fix API Specs against Production

I have setup an import schedule and tests for some API specs that I am managing.

Is there a way to have it so that when I test against production, that when there are errors/lint/formatting/missing params etc, those errors are automatically fixed/adjusted in the imported spec or do I have to manually go and fix it myself?

Thanks for the feedback, it can only be fixed manually currently. This is because the tool can only objectively list the discrepancies between the definition and the response, but cannot determine whether the definition is written incorrectly or the response result is incorrect.

Is there a way to set it so that it will think the response is always correct? I guess I would rather always assume to document the live one correctly and fix it if need be than assume otherwise.

Is there a feature where I can have it generate me an openapi spec just based off of the definitions that are imported and just construct a brand new spec based off of the endpoints included in the test cases? Like use that as the source of truth and have it generate me the specs automatically based off of hitting something?

I would love to essentially never have to create/manage my openapi spec ever again, if I just give it the params/endpoints and it will construct all the other models/params/responses etc

Perhaps you can satisfy it in the following two ways:

  1. Turn off response validation.
  2. To update the definition based on the response, you can use the extraction function to manually update.

There is a method to achieve your requirement:

  1. Create a request in Apidog and send it.
  2. Click “Save as endpoint”, and this request will be automatically parsed into an API spec.