Skip to content

Commit

Permalink
feat: add support for io.swagger.v3.oas.annotations.media.Schema anno…
Browse files Browse the repository at this point in the history
…tation (#540)
  • Loading branch information
tangcent authored May 12, 2024
1 parent 0173f21 commit 43ea624
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions third/swagger3.config
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ api.tag[@io.swagger.v3.oas.annotations.tags.Tags]=groovy:```
@it.annValue("io.swagger.v3.oas.annotations.tags.Tags").collect{it.name}
```

#Schema
param.required=groovy:it.ann("io.swagger.v3.oas.annotations.media.Schema","requiredMode")?.endsWith("REQUIRED")
[email protected]#description
[email protected]#hidden
field.required=groovy:it.ann("io.swagger.v3.oas.annotations.media.Schema","requiredMode")?.endsWith("REQUIRED")
[email protected]#name
[email protected]#description
[email protected]#hidden
api.tag[@io.swagger.v3.oas.annotations.media.Schema#deprecated]=deprecated

#Parameter
[email protected]#hidden
[email protected]#required
Expand Down

0 comments on commit 43ea624

Please sign in to comment.