We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you have a struct that has map with struct values, the swagger generated does not reference the AccessDefinition.
type Policys struct { AccessRights map[string]AccessDefinitions `bson:"access_rights" json:"access_rights"` } type AccessDefinitions struct { Name string `json:"name"` }
This is what is produced instead of using ref to reference the already created AccessDefinitions :
schemas: AccessDefinitions: properties: name: type: string type: object Policys: properties: access_rights: properties: key: properties: name: type: string type: object type: object type: object ```
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you have a struct that has map with struct values, the swagger generated does not reference the AccessDefinition.
This is what is produced instead of using ref to reference the already created AccessDefinitions :
The text was updated successfully, but these errors were encountered: