adriangb / xpresso

A composable Python ASGI web framework
https://xpresso-api.dev/
MIT License
178 stars 4 forks source link

feat: OpenAPI Links #29

Open adriangb opened 2 years ago

adriangb commented 2 years ago

The main tricky but is going to be handling circular references. I think we'll have to do a forward ref sorta thing: you can refer to an operation either by passing in the object or using the operationId. We could then validate the operationId (or that the Operation object was even included in the app) while building the OpenAPI, but it's probably not worth it.