Skip to content

Helper converting Model definitions to Swagger/OpenAPI schemas #700

@bajtos

Description

@bajtos

In our Todo model example, we are duplicating information about model properties - first time in Model definition, second time in Swagger (OpenAPI) Schema.

We should have a helper function that can create Swagger/OpenAPI Schema from the Model data.

Acceptance criteria

  • A blog post explaining how to use this new helper, maybe how is it built internally?
  • The implementation (including tests, etc.)
  • Documentation (including API docs)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions