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

Add OpenAPI 3 specification and source generation for REST API #175

Merged
merged 32 commits into from
Jul 10, 2023

Commits on Jul 10, 2023

  1. index file json schema added.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    0172fcb View commit details
    Browse the repository at this point in the history
  2. Swagger 2.0 converted to OpenAPI 3.0

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    6b57306 View commit details
    Browse the repository at this point in the history
  3. oapi-codegen added as dependency.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    d39461b View commit details
    Browse the repository at this point in the history
  4. Codegen config for server package schema types added.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    0cbfb21 View commit details
    Browse the repository at this point in the history
  5. V2 index file schema added.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    b83a610 View commit details
    Browse the repository at this point in the history
  6. correct operationIds in index server spec

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    7e4f25b View commit details
    Browse the repository at this point in the history
  7. endpoint code gen config added.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    0fcf56b View commit details
    Browse the repository at this point in the history
  8. index server dependencies modified.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    1f9ab59 View commit details
    Browse the repository at this point in the history
  9. REST API endpoint definitions and bindings generated.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    86194a2 View commit details
    Browse the repository at this point in the history
  10. Code refactored to use generated source.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    98d5ba3 View commit details
    Browse the repository at this point in the history
  11. starter project route added with other openapi schema changes.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    03dd025 View commit details
    Browse the repository at this point in the history
  12. rename swagger.yaml to openapi.yaml

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    3bd08ad View commit details
    Browse the repository at this point in the history
  13. index and download starter project api endpoint signatures refactored.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    8d394e7 View commit details
    Browse the repository at this point in the history
  14. Endpoints added to openapi spec.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    0f7c9c4 View commit details
    Browse the repository at this point in the history
  15. template header new year updates.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    3db3098 View commit details
    Browse the repository at this point in the history
  16. source generation config files moved to base directory of index server.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    ebb9cdf View commit details
    Browse the repository at this point in the history
  17. imports.tmpl file for source generation header added to index server.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    7763c37 View commit details
    Browse the repository at this point in the history
  18. typing changes to openapi spec of index server.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    7fb0d29 View commit details
    Browse the repository at this point in the history
  19. codegen script added.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    c193e2c View commit details
    Browse the repository at this point in the history
  20. fix deps from rebase

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    c50db44 View commit details
    Browse the repository at this point in the history
  21. root, viewer, oci server endpoints added to openapi spec with schema …

    …fixups
    
    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    c4ceb89 View commit details
    Browse the repository at this point in the history
  22. new types generated

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    7ff5afd View commit details
    Browse the repository at this point in the history
  23. endpoint changes.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    fc8b89f View commit details
    Browse the repository at this point in the history
  24. Set base directory of build registry script, now can be run from any pwd

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    8c70861 View commit details
    Browse the repository at this point in the history
  25. proxy and static endpoints reverted from OpenAPI, OpenAPI validation …

    …middleware only applies to OpenAPI routes.
    
    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    7da9348 View commit details
    Browse the repository at this point in the history
  26. correct invalid changes introduced in f991981

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    220003d View commit details
    Browse the repository at this point in the history
  27. index schemas OpenAPI specs removed for a future issue

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    08555c1 View commit details
    Browse the repository at this point in the history
  28. codegen happens on build

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    94537ee View commit details
    Browse the repository at this point in the history
  29. query parameter schema changes.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    8815375 View commit details
    Browse the repository at this point in the history
  30. update source to updated schemas.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    c419f78 View commit details
    Browse the repository at this point in the history
  31. codegen changes.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    7290351 View commit details
    Browse the repository at this point in the history
  32. add README documentation on OpenAPI code generation.

    Signed-off-by: Michael Valdron <mvaldron@redhat.com>
    michael-valdron committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    0efbc96 View commit details
    Browse the repository at this point in the history