Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite syntaxgeneration and implement support for role-based security and custom auth-schemes #168

Merged
merged 49 commits into from
Nov 28, 2022

Conversation

perkops
Copy link
Member

@perkops perkops commented Nov 28, 2022

This PR introduces the beginning of re-writing syntax tree generation to new ContentGenerators based on StringBuilders.
It also includes support for role-based security and custom authentication-schemes suggested in this issue ( #26 ).

Main Features

  • Introducing new Project structure
  • Replacing TextFileHelper with new ContentWriter
  • Moving alot of 'Helper' functionality to new classes and/or extension methods
  • Introducing new ContentGeneratorServerController class, to control new controller generation
  • Introducing new role-based security support

Per Kops added 30 commits September 29, 2022 14:48
…tWriter to utilize instead of TextFileHelper
…tor. Renaming ApiOperationSchemaMap to ApiOperation and extracting model properties to own model
…ort classes for new generation of server side endpoint classes
…der and refactoring all calls towards them
…nsionExtensions.ExtractSecurityExtensions method
Per Kops added 15 commits November 23, 2022 10:15
…de - its in the right Controller class and swagger group - so superfluous information
…ApiDocument, which we can call from ServerApiGenerator to ensure Microsoft.AspNetCore.Authorization using is added to global usings in API project if UseAuthorization is set to false in CLI input
…ve extension fields in place for supporting role-based security and authentication-schemes
@davidkallesen davidkallesen merged commit a533dd7 into main Nov 28, 2022
@davidkallesen davidkallesen deleted the feature/rewrite-syntaxgeneration branch November 28, 2022 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants