Skip to content
Select documentation version
Navigation
On this page

Explicitly including entities

@platformatic/sql-openapi allows you to specify which entities to be included.

Note: Using the include option will ignore any unspecified entities in the schema.

Including Entities

To include specific entities, use the following configuration:

app.register(require('@platformatic/sql-openapi'), {
  include: {
    category: true
  }
})
Reading time
1 min read
View as
Markdown
Contribute
Edit this page