Example property on operations does not work
See original GitHub issue@ApiResponses(value = {
@ApiResponse(code = 404, message = "Not Found",
examples = @Example(
value = {
@ExampleProperty(
mediaType = "Example json",
value = "{\"invalidField\": \"address\"}"),
@ExampleProperty(
mediaType = "Example string",
value = "The first name was invalid")}),
response = Response.class)})
and the fields in Response class are annotated with @ApiModelProperty(required = true, example = "Timeout exceeded")
then the example is also rendered. It’s kind of a workaround, but also not an option in my case, because I need to use class provided by library and I can’t annotate it.
_Originally posted by @tgielbutowicz in https://github.com/springfox/springfox/issues/2352#issuecomment-432225240_
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Properties of Operations – Mathematics for Elementary Teachers
Properties of Operations. So far, you have seen a couple of different models for the operations: addition, subtraction, multiplication, and division.
Read more >Properties of Operations | MS GARCIA MATH - Edublogs
This property tells us that in some mathematical operations, it does not matter if the terms to operate are placed in one order...
Read more >Properties of Operations: Multiplication - Mr Elementary Math
This property works closely with the commutative property because we often change the order of groupings of factors when multiplying numbers to make...
Read more >Properties of Operations - YouTube
This video describes some of the common properties of operations. ... How To Use The Order of Operations (PEMDAS) – Example Problem.
Read more >The Closure Property
closed under the · operation of division because when you divide one integer by another, you don't always get another integer as the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same behaviour with 3.0.0-SNAPSHOT 😦
what are the plans for releasing 3.0.0-SNAPSHOT into a official release? Where can I track if it’s released?