Authress-Engineering / openapi-explorer

OpenAPI Web component to generate a UI from the spec.
Apache License 2.0
316 stars 42 forks source link

Get the schema name into the model tab #220

Closed gdec31 closed 10 months ago

gdec31 commented 10 months ago

Hello,

I use the openapi generator, and it would be ideal if the openapi documentation could specify the name of the schema to be used, in order to know the output schema of an endpoint.

Is it possible to add the schema name into the model tab ?

wparad commented 10 months ago

Would you be able to add a spec and a quick mock up of the expected visual change?

gdec31 commented 10 months ago

Yes, something like that (DtoArtefact is the schema name. image

wparad commented 10 months ago

@gdec31 can you also include the spec? Thanks!

wparad commented 10 months ago

This is now available in 2.1.658, by default it will use the schema ref name but you can specify the title.