generators/utils/fetch_swagger library

Functions

fetchDatabaseSwagger(String url, String apiKey, Map<String, List<String>> mapOfEnums, bool jsonbToDynamic, {List<String> schemas = const ['public'], Map<String, JsonbModelConfig>? jsonbModels, Client? client}) → Future<DatabaseSwagger?>
Fetches the PostgREST schema of each of schemas (the first is the primary, see DatabaseSwagger.fromSchemas), or null if any fails.
schemaNotExposedMessage(String schema) → String