Re: swagger 3: schema for map of maps

2018-02-12 Thread Ron Ratovsky
6, 2018 at 05:50 To: Swagger <swagger-swaggersocket@googlegroups.com> Subject: swagger 3: schema for map of maps I want to model a schema where the json is map of maps: {   'id1': {     'type': 'type1',     'active': true,   },   'id2': {     'type': 'type2',     'active': fals

swagger 3: schema for map of maps

2018-02-06 Thread arindam . choudhury
I want to model a schema where the json is map of maps: { 'id1': { 'type': 'type1', 'active': true, }, 'id2': { 'type': 'type2', 'active': false, }, ... ... } I have defined: components: schemas: accountData: type: object required: