expect-digital / go-request

MIT License
1 stars 0 forks source link

Align names with OpenAPI naming #21

Closed janishorsts closed 2 months ago

janishorsts commented 2 months ago

Align names with OpenAPI naming to reduce friction in guessing names.

OpenAPI request (currently) request (next)
required required required
explode exploded, imploded explode, implode
form form form
pipeDelimited pipe pipeDelimited
spaceDelimited space spaceDelimited
deepObject deep deepObject

The exception is implode which is not available in OpenAPI but needed in the request package - decoder might be configured with explode by default, we should allow to override in the field tag with implode.

Rename identifiers accordingly, too.