SwaggerUI not allowing some parameters

Many of the SwaggerUI calls seem to allow one to pass in an id, e.g.

Projects: /api/projects/{idOrSlug} Get a ProjectResource by ID or slug allows it thusly:

However there’s others, such as Releases: /api/projects/{id}/releases Get a list of Release Resources apparently do not:

Version tested: 2018.4.4

What gives?

Hi Rachel,

Thanks for getting in touch.

The SwaggerUI definition gets automatically generated, and that automatic generation doesn’t support some of our routes. There is a GitHub issue open that you can track and contribute to: https://github.com/OctopusDeploy/Issues/issues/4141


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.