# OpenAPI schemas generated from BMM files

**URL:** https://discourse.openehr.org/t/openapi-schemas-generated-from-bmm-files/2116
**Category:** Platform
**Tags:** rest-apis
**Created:** [26 November 2021 12:54 UTC](https://discourse.openehr.org/t/openapi-schemas-generated-from-bmm-files/2116 "2021-11-26T12:54:08Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![erik.sundvall](https://discourse.openehr.org/user_avatar/discourse.openehr.org/erik.sundvall/32/1961_2.png) [@erik.sundvall](https://discourse.openehr.org/u/erik.sundvall)
#### Post date: [29 November 2021 08:52 UTC](https://discourse.openehr.org/t/openapi-schemas-generated-from-bmm-files/2116/8 "2021-11-29T08:52:11Z")

</div>

> [@borut.jures](#):
>
> Maybe I’ll do that after somebody presents what they did with OpenAPI for AM and RM models.
> 
> The generated files aren’t usable as they are at the moment.

The thing is that RM/AM is useful for already openEHR-savvy people creating openEHR tools and CDRs. Those that do that likely already have some kind of solution (e.g. hand coded), thus no rush and less activity seen. What is missing is modern version of the TDO/TDS/TDD approach as discussed in the thread [Separating Models from Implementation - #75 by erik.sundvall](https://discourse.openehr.org/t/separating-models-from-implementation/2093/75).

(Of course some of the generated general RM class descriptions are usable also as e.g. data type descriptions to be included in the template specific “streamlined/flattened” approach)

---

_[View the full topic](https://discourse.openehr.org/t/openapi-schemas-generated-from-bmm-files/2116)._
