Skip to content

Conversation

@sethmlarson
Copy link
Contributor

@sethmlarson sethmlarson commented Nov 15, 2021

  • API generator now creates the complete function signature of each parameter
  • Parameters are serialized inline instead of within a decorator
  • Type hints aren't generated into separate .pyi files, instead are inline
  • Changes API function decorator to expand body and params instead of old behavior of pulling parameters into body and params.
  • Changed the sorting of APIs within a file to be alphabetical instead of based on previous file.
  • Deletes the old API generator from utils/.

Closes #1680

@sethmlarson sethmlarson mentioned this pull request Nov 15, 2021
13 tasks
@sethmlarson sethmlarson force-pushed the new-api-gen branch 4 times, most recently from 772f21d to 48cce99 Compare November 16, 2021 17:59
@sethmlarson sethmlarson force-pushed the new-api-gen branch 3 times, most recently from 5f97af0 to 8c26f6c Compare November 16, 2021 23:39
@sethmlarson sethmlarson force-pushed the new-api-gen branch 3 times, most recently from cfd032d to aa63e82 Compare November 18, 2021 15:27
@sethmlarson
Copy link
Contributor Author

Published a fix in elastic-transport 8.0.0-alpha5.

@sethmlarson sethmlarson merged commit 7705a52 into main Nov 19, 2021
@sethmlarson sethmlarson deleted the new-api-gen branch November 19, 2021 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose JSON body fields as typed parameters

2 participants