- 
                Notifications
    You must be signed in to change notification settings 
- Fork 18
[OpenAPI] Add endpoint for list of deployment models #294
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
          
     Merged
      
      
            justinyoo
  merged 15 commits into
  aliencube:main
from
jihyunmoon16:feature/169-deployment-models-endpoint
  
      
      
   
  Sep 18, 2024 
      
    
  
     Merged
                    Changes from 3 commits
      Commits
    
    
            Show all changes
          
          
            15 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      a8685bb
              
                add endpoint for list of deployment models
              
              
                jihyunmoon16 0844926
              
                fix typo
              
              
                jihyunmoon16 549bd95
              
                add path variable to api doc
              
              
                jihyunmoon16 6d9356f
              
                Add test code for getDeploymentModels open api endpoint
              
              
                jihyunmoon16 99e9c30
              
                Fix field name to meet the coding convention
              
              
                jihyunmoon16 6750d41
              
                Merge branch 'aliencube:main' into feature/169-deployment-models-endp…
              
              
                jihyunmoon16 433a867
              
                Merge branch 'aliencube:main' into feature/169-deployment-models-endp…
              
              
                jihyunmoon16 4f2befc
              
                Fix DeploymentModelDetails class to have only Name field
              
              
                jihyunmoon16 69290d0
              
                Merge branch 'aliencube:main' into feature/169-deployment-models-endp…
              
              
                jihyunmoon16 9d87a67
              
                Merge branch 'feature/169-deployment-models-endpoint' of https://gith…
              
              
                jihyunmoon16 831ef9d
              
                Add response entity test
              
              
                jihyunmoon16 ac237a7
              
                Add properties 테스트
              
              
                jihyunmoon16 b4e6e46
              
                Merge branch 'aliencube:main' into feature/169-deployment-models-endp…
              
              
                jihyunmoon16 b298981
              
                Merge branch 'aliencube:main' into feature/169-deployment-models-endp…
              
              
                jihyunmoon16 86ee842
              
                Refactor memberData to inlineData
              
              
                jihyunmoon16 File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
        
          
          
            23 changes: 23 additions & 0 deletions
          
          23 
        
  src/AzureOpenAIProxy.ApiApp/Models/DeploymentModelDetails.cs
  
  
      
      
   
        
      
      
    
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| using System.Text.Json.Serialization; | ||
|  | ||
| /// <summary> | ||
| /// This represent the event detail data for response by admin event endpoint. | ||
| /// </summary> | ||
| public class DeploymentModelDetails | ||
| { | ||
| /// <summary> | ||
| /// Gets or sets the deployment id of the model. | ||
| /// </summary> | ||
| [JsonRequired] | ||
| public int? Id { get; set; } | ||
|  | ||
| /// <summary> | ||
| /// Gets or sets the deployment model name. | ||
| /// </summary> | ||
| public string? Name { get; set; } | ||
|  | ||
| /// <summary> | ||
| /// Gets or sets the version of deployment model. | ||
| /// </summary> | ||
| public string? version { get; set; } | ||
| } | ||
|         
                  jihyunmoon16 marked this conversation as resolved.
              Show resolved
            Hide resolved | ||
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.