feat(codegen:test): coverage x-expanded-relation + x-codegen.queryParams (#3675)

## What

Adding tests to cover `x-expanded-relation` and  `x-codegen.queryParams` handling

## Why

The logic that processes these OAS extension can be complex to reason with. Therefore, we should have automated tests to prevent unintentional regression.

## How

* Focus on `getModels` method and its sub-routines.
* Add coverage to getOperation codegen parsing.
* Add coverage to model and operation spec property.
This commit is contained in:
Patrick authored and GitHub committed 2023-04-05 14:01:29 +00:00
1 parent dd1e86b0d4
commit 0b3c6fde30
15 files changed
+900 -49

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/openapi-typescript-codegen": patch
---
feat(codegen:test): coverage x-expanded-relation + x-codegen.queryParams