Forum Discussion

satishwhitbread's avatar
6 years ago

swaggerhub required fields

In Swagger hub required field puts a start beside the field

Is there a way to  add a # character beside the fields. let me know as we want to maintain two projects in same contract.

For one project some fields are optional/required and for some required/optional. I want to use this # character to decide what is required for the new project I am bringing in to swaggerhub. Its like two projects but unified contract

 

please help

 

  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    SmartBear Alumni (Retired)

    Hi,

     

    No, it's not possible. It's better to have different APIs/versions for them.