Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Goas support for oneOf/anyOf/allOf/not #24

Merged

Conversation

XieX
Copy link

@XieX XieX commented Jul 8, 2021

Adds support for using oneOf|anyOf|allOf|not composite types in body param annotations, e.g.

// @Param foo body oneOf(string, int32) true "Foo body"

@shortcut-integration
Copy link

This pull request has been linked to Clubhouse Story #97945: [later] Goas support for requestBody features.

example/example.json Outdated Show resolved Hide resolved
parser.go Outdated Show resolved Hide resolved
parser.go Show resolved Hide resolved
parser.go Show resolved Hide resolved
example/example.json Show resolved Hide resolved
@XieX XieX requested a review from InTheCloudDan July 9, 2021 15:13
@XieX XieX merged commit 38f73ec into master Jul 14, 2021
@XieX XieX deleted the christie/ch97945/later-goas-support-for-requestbody-features branch July 14, 2021 21:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants