Hi All, I have been using apigee smartdocs maven plugin v2.0 for deploying API specs(JSON format) to the Drupal 8 developer portal.When I execute the following command to upload a spec to the dev portal,I am getting an error shown below
Version used : 2.0.0
Command used:
mvn install -Pdev -Dapigee.smartdocs.config.options=create
Error:
Failed to execute goal com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:2.0.0:apidoc (smartdocs-deploy) on project DeveloperPortal: Execution smartdocs-deploy of goal com.apigee.smartdocs.config:apigee-smartdocs-maven-plugin:2.0.0:apidoc failed: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 1 path $
I have attached the complete maven error log as well for reference. Could you please let me know where it could've gone wrong?
@Sai Saran Vaidyanathan, @Nagashree B @Anil Sagar @ Google - Could you please point me where it could've gone wrong ?