API Key in swagger/OAS not showing in smartdocs on Drupal Dev portal

Hi guys,

Using Drupal 7 based dev portal. The swagger/OAS specifies API Key auth:

securityDefinitions:
  ApiKeyAuth:
    type: "apiKey"
    name: "X-API-Key"
    in: "header"

security:
  - ApiKeyAuth: []

When I import the swagger into SmartDocs, it picks up the API Key in Security Settings:

9067-apigee-drupal-security-settings.png

However, when its published, I dont see Drupal smartdocs reflecting the API Key.

9068-screenshot-2019-08-26-at-124057.png

So when a developer comes to the dev portal, he cant use Try It Out, since it always fails, as he cant include his API Key

0 4 151
4 REPLIES 4

Is there a possiblity for you to share your OAS specs here?

what version of OAS you are using. Devportal supports 2.O well.

we using OAS v2

can you attach the specs or mock specs which replicates the issue?