Skip to content

Commit

Permalink
Refactor InlineModelResolver (OpenAPITools#1788)
Browse files Browse the repository at this point in the history
* Extract a method "flattenPaths" to reduce the scope of method

* Tweak

* Rename parameter name

* Extract a method "flattenModels" to reduce the scope of method

* Rename parameter name

* Rename: models -> components

* Delete comment

* Extract a method "flattenRequestBody" to reduce the scope of method

* Extract a method "flattenParameters" to reduce the scope of method

* Extract a method "flattenResponses" to reduce the scope of method

* Tweak types

* Reduce indentation
  • Loading branch information
ackintosh authored and wing328 committed Jan 2, 2019
1 parent 933c441 commit ccca139
Showing 1 changed file with 307 additions and 246 deletions.
Loading

0 comments on commit ccca139

Please sign in to comment.