Skip to content

Commit

Permalink
remove json schema
Browse files Browse the repository at this point in the history
  • Loading branch information
archeoss committed Oct 12, 2023
1 parent e1e959d commit 1ec6c17
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 37 deletions.
35 changes: 0 additions & 35 deletions api/openapi.json

This file was deleted.

2 changes: 0 additions & 2 deletions backend/gen_openapi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ use std::fs;
use utoipa::OpenApi;
// in ./src/gen_openapi.rs
fn main() {
let doc = backend::ApiDoc::openapi().to_pretty_json().unwrap();
let _ = fs::write("./api/openapi.json", doc);
let doc = backend::ApiDoc::openapi().to_yaml().unwrap();
let _ = fs::write("./api/openapi.yaml", doc);
}

0 comments on commit 1ec6c17

Please sign in to comment.