Currently, there’s no way to add randomized parameters as the spec itself doesn’t support it. Opening a ticket won’t help because we can’t support it in swagger-core if it’s not supported by the spec.
From: <[email protected]> on behalf of Fleur Kelpin <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Monday, 10 April 2017 at 15:49 To: Swagger <[email protected]> Subject: How do I describe that an endpoint accepts arbitrary form parameters in POST I'm writing an endpoint for i18next. It posts missing localisation tokens as form parameters. The format is that it adds a query parameter for each missing token, the token is both the key and the value. This means that there's no fixed list of parameter names, instead the parameter names are used to convey the data. Ideally, I'd like to be able to test the endpoint using swagger-ui. Am I correct in that neither the swagger spec nor swagger-ui support this? Should I add this as a feature request on swagger-core repo? -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
