Missing @Example annotation
See original GitHub issueIn the models section, there is a field called “example”. Currently it is equal to null
for all fields in all classes:
There should be a way to specify this field. Also, I think if the field is not specified, it shouldn’t be presented in the models section.
This is an issue extracted from #12.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
The Difference Between Missing and Null Annotations
A missing annotation occurs when an image has objects that are not annotated when they should be. This is problematic as your model...
Read more >How to manage missing and null image annotations - Isahit
Simply put, it is used to denote values that we do not know, while missing values occur when no data value is stored...
Read more >Why Missing Annotations Don't Cause ClassNotFoundException
In this article, we saw how some annotations can be absent at runtime, even though they're part of the binary representation of a...
Read more >Getting error "Missing statement for annotation" by passing the ...
I tried the above code and it is giving me the error : "Missing statement for annotation" in the scala class. I want...
Read more >Missing Override annotation - CodeQL - GitHub
Java enables you to annotate methods that are intended to override a method in a superclass. Compilers are required to generate an error...
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
i will add such a mechanism as it is part of the standard. until then you can use the new branch with the reworked models. null fields are now filtered when you use
OpenAPIModel.build()
it will generate the appropriate hashmaps and remove empty and null valuesimplementation 'com.github.papsign:Ktor-OpenAPI-Generator:0.2-beta.0-experimental'