POST
/
products
/
{product_id}
/
spec-details
/
{spec-id}
/
oas
Upload OAS file of a Specification
curl --request POST \
  --url http://localhost:3001/portal-api/products/{product_id}/spec-details/{spec-id}/oas \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --form file=@example-file

Authorizations

Authorization
string
header
required

Path Parameters

product_id
integer
required

UID of an API Product

spec-id
integer
required

ID of the Specification

Example:

1

Body

multipart/form-data
file
file

oas spec file

Response

200

OK