Skip to content

dougal83/lb4jsonschemaoption

Repository files navigation

jsonschemabug

Error config is here: src/controllers/store.controller.ts line 75, when i set title with includerelation, error occurred.

@get('/stores', {
    responses: {
      '200': {
        description: 'Array of Store model instances',
        content: {
          'application/json': {
            schema: {
              type: 'array',
              items: getModelSchemaRef(Store, { title: 'StoreRes', includeRelations: true }),

Error : related schema properties are belong to the model store instead of related model Captura de pantalla 2020-01-28 a las 10 39 11

example: Captura de pantalla 2020-01-28 a las 10 39 26

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published