I am trying to use the apigee smartdocs maven plugin to create the model and publish API docs to the drupal devportal. I am not sure what needs to be configured for the portal.path variable in the POM profile. Is this the drupal page path for the api listing or something else? I did check the README and the issue logs on the repo which says smartdocs/apis is the default.
I used smartdocs/apis - that gives a HTTP 404
[ERROR] Failed to execute goal com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.7:apimodel (smartdocs-deploy) on project DeveloperPortal: Execution smartdocs-deploy of goal com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.7:apimodel failed: Update failure: 404 Not Found
On my devportal I can view the API listing page(for the existing models) using https://<devportal host>/apis on the browser.
So I tried with /apis as the value for the portal.path that gives HTTP 403 Frobidden
[ERROR] Failed to execute goal com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.5:apimodel (smartdocs-deploy) on project DeveloperPortal: Execution smartdocs-deploy of goal com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:1.0.5:apimodel failed: Update failure: 403 Forbidden
We are using the drupal dev portal bundled with opdk 4.18.01
I am trying with the yaml provided in the samples folder along with the plugin.
Can you point me on what could be going wrong or point me to any other samples with example configuration values defined?
Solved! Go to Solution.
Not sure why its not working for you. Can you confirm that you have removed the alias for "smartdocs" under the Resources tab
See screenshot attached