You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Taking the openapi-forge-typescript generator as an example, it creates a README.md with this:
import ApiPet from "./api";
import Configuration from "./configuration";
import { transport } from "./nodeFetch";
// import any model types you need
import { Order } from "./api/model";
const config = new Configuration(transport);
// set the base path for your endpoint
config.basePath = "https://example.com";
// set any environment specific configuration here
const api = new ApiPet(config);
api.findPetsByStatus(...).then((data) => {
// log the result
console.log(data);
});
Taking the openapi-forge-typescript generator as an example, it creates a README.md with this:
It's possible that all of this is overkill, and given that the user will need to edit the code anyway, perhaps this isn't worth it?
The text was updated successfully, but these errors were encountered: