Currently all operations have "Try it out" functionality in the rendered Swagger UI. There might be cases when this functionality should be disabled for some operations (like GET, POST, etc.) or for all of them.

I submitted a patch that creates a configuration for the Swagger UI field formatter and applies it (using the supportedSubmitMethods option) when rendering the output.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kittiradovics created an issue. See original summary.

balazswmann’s picture

Status: Active » Needs review
FileSize
4.21 KB
3.76 KB

Thank you!

I re-attached the patch with some refinements.

kittiradovics’s picture

Status: Needs review » Reviewed & tested by the community

balazswmann’s picture

Status: Reviewed & tested by the community » Fixed

Thanks! Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.