Upload OpenAPI Spec & Get Report
Upload an API spec (OpenAPI v3.x only). A report will be generated synchronously and return the simplified report generated for the spec.
Example request:
curl --request POST -H 'Authorization: Bearer YOUR_KEY_HERE' -F 'apiFile=@/path/to/my-openapi.json' --url https://api.ratemyopenapi.com/sync-report
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Upload OpenAPI Spec & Get Report › Request Body
apiFileThe OpenAPI v3.x spec. JSON and YAML are supported.
Upload OpenAPI Spec & Get Report › Responses
Full Open API report
Get your report by ID
Access your report using the ID given by the /rate endpoint. Note, the report may take a few seconds to generate, during which time you might receive a 404.
path Parameters
reportIdThe ID of your report (a uuid)
Get your report by ID › Responses
Success
Get Simple Report
Fetches the simplified report generated by the Upload OpenAPI Spec endpoint. You may have to wait 10-20 seconds after upload for the report to be generated before fetching it.
path Parameters
reportIdThe ID of your report (a uuid)
Get Simple Report › Responses
The simplified API report
versionVersion of the OAS file.
titleTitle of the OAS file.
fileExtensionFile extension of the uploaded spec, either json or yaml.
docsScoreThe documentation score. Can high quality docs be generated from this API Spec?
completenessScoreThe completeness score. Does the API spec include many useful, but not required properties?
scoreThe overall score. A combination of the other scores.
securityScoreThe security score. How secure is the API based on OWASP standards?
sdkGenerationScoreThe SDK Generation score. How easily can SDK's be generated from this API Spec?
shortSummaryA short summary of the issues with the API Spec.
longSummaryA longer summary of the issues with the API Spec.
