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
2023-04-05 14:01:29 +00:00
committed by GitHub
parent dd1e86b0d4
commit 0b3c6fde30
15 changed files with 900 additions and 49 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"@medusajs/openapi-typescript-codegen": patch
---
feat(codegen:test): coverage x-expanded-relation + x-codegen.queryParams