File tree Expand file tree Collapse file tree 6 files changed +12
-58
lines changed Expand file tree Collapse file tree 6 files changed +12
-58
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ pub enum DeviceAccessTokenResponse {
199199    method = POST ,  
200200    path = "/device/token" ,  
201201    content_type = "application/x-www-form-urlencoded" ,  
202-     tags  = [ "hidden" ] ,   // "token"  
202+     unpublished  = true ,  
203203} ] 
204204pub  async  fn  device_access_token ( 
205205    rqctx :  Arc < RequestContext < Arc < ServerContext > > > , 
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ sled_view                                /hardware/sleds/{sled_id}
1515
1616API operations found with tag "hidden"
1717OPERATION ID                             URL PATH
18- device_access_token                      /device/token
1918device_auth_confirm                      /device/confirm
2019logout                                   /logout
2120session_me                               /session/me
Original file line number Diff line number Diff line change 509509        }
510510      }
511511    },
512-     "/device/token" : {
513-       "post" : {
514-         "tags" : [
515-           " hidden" 
516-         ],
517-         "summary" : " Request a device access token" 
518-         "description" : " This endpoint should be polled by the client until the user code is verified and the grant is confirmed." 
519-         "operationId" : " device_access_token" 
520-         "requestBody" : {
521-           "content" : {
522-             "application/x-www-form-urlencoded" : {
523-               "schema" : {
524-                 "$ref" : " #/components/schemas/DeviceAccessTokenRequest" 
525-               }
526-             }
527-           },
528-           "required" : true 
529-         },
530-         "responses" : {
531-           "default" : {
532-             "description" : " " 
533-             "content" : {
534-               "*/*" : {
535-                 "schema" : {}
536-               }
537-             }
538-           }
539-         }
540-       }
541-     },
542512    "/hardware/racks" : {
543513      "get" : {
544514        "tags" : [
67296699          " public_cert" 
67306700        ]
67316701      },
6732-       "DeviceAccessTokenRequest" : {
6733-         "type" : " object" 
6734-         "properties" : {
6735-           "client_id" : {
6736-             "type" : " string" 
6737-             "format" : " uuid" 
6738-           },
6739-           "device_code" : {
6740-             "type" : " string" 
6741-           },
6742-           "grant_type" : {
6743-             "type" : " string" 
6744-           }
6745-         },
6746-         "required" : [
6747-           " client_id" 
6748-           " device_code" 
6749-           " grant_type" 
6750-         ]
6751-       },
67526702      "DeviceAuthVerify" : {
67536703        "type" : " object" 
67546704        "properties" : {
Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ license = "MPL-2.0"
66
77[dependencies ]
88progenitor  = { git  = " https://github.com/oxidecomputer/progenitor" 
9- # serde_json = "1.0"
9+ regress  = " 0.4.1" 
10+ futures  = " 0.3.21" 
11+ serde_json  = " 1.0.82" 
1012
1113[dependencies .chrono ]
1214version  = " 0.4" 
Original file line number Diff line number Diff line change 44
55//! Interface for making API requests to the Oxide control plane. 
66
7- //  progenitor::generate_api!(
8- //      spec = "../openapi/nexus.json",
9- //      interface = Builder,
10- //      tags = Separate,
11- //  );
7+ progenitor:: generate_api!( 
8+     spec = "../openapi/nexus.json" , 
9+     interface = Builder , 
10+     tags = Separate , 
11+ ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments