Closed rsoika closed 4 years ago
How does the yaml or json looks like ? The UI Will only display what is in the actual schema, and that gets generated with MicroProfile open api. Maybe the problem is there ?
I do not have a extra json file to configure openapi. But when I look into the outcome of openapi I got also the fields I did not expect. So it is a problem from openapi itself.
openapi: 3.0.0
info:
title: Deployed Resources
version: 1.0.0
servers:
- url: http://localhost:8080
....
......
components:
schemas:
XMLConfig:
type: object
properties:
serialVersionUID:
type: number
target:
type: string
user:
type: string
thanks. I will close this issue.
I try to define a @XmlRootElement with some transient fields like this one:
But the @XmlTransient seems to be ignored and the opanapi-ui shows the following data schema:
I expected that the fields 'test' and 'serialVersinUID' are hidden.
I also tested this using the
@XmlAccessorType(XmlAccessType.PROPERTY)
but with even no better result.I am testing this with payara-micro and