Swagger Spec fails for PUT request

Not applicable

When trying to create a swagger specification for one of my services on my API, when I enter all of the headers and body etc, I hit send and it constantly loads never doing anything. To create my spec i changed the HTTP method to POST, then altered this back to PUT once the documentation was completed. However I need to do this multiple times and it becomes quite frustrating, has anyone else experienced this problem and know how to fix it? I have had colleagues do it and they have the same issue.

Thanks,

Jonny

0 2 407
2 REPLIES 2

@Jonny Frazer , Welcome to Apigee Community,

Are you talking about developer portal smartdocs ? Where exactly are you hitting "send" ?

Not applicable

If this is specifically in reference to the Developer Portal, then the REST endpoints anticipate a POST for the creation and a PUT for all subsequent updates.

If you're looking to add this as part of a continuous integration workflow, you might watch https://github.com/apigee/apigee-config-maven-plugin as we hope to add integration with the Developer Portal to that repo.