GFlisch / Arc4u.Guidance.Doc

Other
5 stars 1 forks source link

Swagger does not show endpoint #188

Open Echarnus opened 1 year ago

Echarnus commented 1 year ago

Information If the bug is linked to the Arc4u framework, please go to the Arc4u repo.

Describe the bug A clear and concise description of what the bug is.

When generating a new controller to the facade project it is not shown in the swagger.json

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'

  2. Click on '....'

  3. Scroll down to '....'

  4. See error

  5. Right click at the facade project

  6. Add REST api

  7. Select entity you wish to generate the controller for

Expected behavior A clear and concise description of what you expected to happen.

The controller and its entities should be defined within the swagger.json

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

GFlisch commented 1 year ago

Hi @Echarnus, can you give me more information.

What do you mean by "The controller and its entities should be defined within the swagger.json". Did you add a controller and the swagger page was not showing the new api?

Echarnus commented 1 year ago

Yes indeed. Upon adding the controller based on the entity I noticed in this case it didn't generate the actions based on the generated business layer. All though, I have to be honest. Later on it did generate them. Don't really know what changed though..

rdarko commented 10 months ago

Can you please re-test this? If its working we would like to close the ticket.