Home > other >  How to display parameters of webapi used swagger annotation related issues
How to display parameters of webapi used swagger annotation related issues

Time:09-22




Everybody is good, consult guys a swagger related question, I configure the swagger in webapi display interface documentation, if the parameters of the API interface is a model (model), can be normal through the model class attribute to automatically to the parameter annotation, as shown in the figure below:
Model


Normal display

But if my API parameters is not a model, but similar to the JObject such parameters, as shown in the figure below, I should how to manually specify the required API parameters and specification??????



CodePudding user response:

Problem solved, see you to post several community, there is no reply,,,
  • Related