tomaj / nette-api

API solution for Nette framework with interactive generated console for each api
MIT License
36 stars 20 forks source link

Add support for generation open-api schema references by transformers #139

Open romanmatyus opened 1 year ago

romanmatyus commented 1 year ago

Generate and use references to Open API components->schemas

lulco commented 1 year ago

I would like to use some new class ComponentSchema with name and schema. If it is used create ref and add component. Otherwise use just schema at the correct place - like it is now.

Users are not forced to use TransformerAbstract.

michalpospiech commented 6 months ago

Are there plans to implement support for open-api scheme?

lulco commented 6 months ago

Are there plans to implement support for open-api scheme?

Can you elaborate? There is OpanApiHandler for generating open api scheme from handlers registered in the same version