You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am in need of substituting some Models in the following way. Lets say I have a domain class as follows:
package My.Domains
class Company {
String name
String address
String firstAdditional
String secondsAdditional
String thirdAdditional
}
And a Model class as follows:
package My.Models
class Company {
String name
String address
}
I want Swagger to use the my model class as a template of what I need to send in a POST request. I tried using the following: directModelSubstitute(My.Domains.Company, My.Models.Company) but it does not work. Am i misunderstanding how this works or is there any other way to achieve this?
Also, is there a way to do something similar using a third class (model) for the responses?
The text was updated successfully, but these errors were encountered:
Hi, I am in need of substituting some Models in the following way. Lets say I have a domain class as follows:
And a Model class as follows:
I want Swagger to use the my model class as a template of what I need to send in a POST request. I tried using the following:
directModelSubstitute(My.Domains.Company, My.Models.Company)
but it does not work. Am i misunderstanding how this works or is there any other way to achieve this?Also, is there a way to do something similar using a third class (model) for the responses?
The text was updated successfully, but these errors were encountered: