compiler-rs/clients_schema_to_openapi/src/schemas.rs (20 lines): - line 95: // FIXME: not the right way to represent an arbitrary value - line 152: // FIXME: null should be handled in unions by setting "nullable" to the resulting schema - line 166: // FIXME: must be handled in requests and responses - line 210: // FIXME: does the model contain resolved doc_id? - line 229: Body::Value(value_body) => Some(self.convert_value_of(&value_body.value)?), // TODO codegen_name? - line 247: // TODO: how can we just wrap a reference so that we can add docs? - line 281: // TODO: interface definition container.non_exhaustive - line 385: // TODO: typed-keys: add an extension to identify it? - line 388: // TODO: add tag.default_tag as an extension - line 461: // TODO: base.deprecation as extension - line 462: // TODO: base.spec_location as extension? - line 463: // TODO: base.doc_id as extension - line 464: // TODO: base.variant_name as extension? (used for external_variants) - line 465: // TODO: base.codegen_names as extension? - line 473: // TODO: prop.aliases as extensions - line 474: // TODO: prop.server_default as extension - line 475: // TODO: prop.doc_id as extension (new representation of since and stability) - line 476: // TODO: prop.es_quirk as extension? - line 477: // TODO: prop.codegen_name as extension? - line 549: // FIXME: could be memoized on `prop.typ` as we'll redo this work every time we encounter the same value definition compiler-rs/openapi_to_clients_schema/src/types.rs (12 lines): - line 127: // TODO: data.readonly/writeonly -> OverloadOf? - line 128: // TODO: data.default -> serverDefault - line 129: // TODO: data.extensions -> see what's there, fail on unknown ones - line 135: // FIXME: data.discriminator -> internally tagged variant - line 234: // TODO: choose int/long depending on min/max values - line 241: // TODO: choose float/double depending on min/max values - line 325: // TODO: do we want to allow untagged unions (those that are disambiguated by inspecting property names)? - line 334: // FIXME: need to set mappings, by setting the discriminator property in every variant to either - line 390: // FIXME: max_properties -- if == 1 indicates a container - line 407: codegen_name: None, // FIXME: extension in workplace search - line 480: // TODO: choose float/double depending on min/max values - line 485: // TODO: choose int/long depending on min/max values compiler-rs/openapi_to_clients_schema/src/openapi.rs (5 lines): - line 155: // TODO: could return Cow to reduce cloning - line 268: // TODO: SchemaData.default could be used for disambiguation - line 276: // TODO: add more heuristics - line 316: enumeration: vec![], // TODO: not supported in schema.json - line 326: enumeration: vec![], // TODO: not supported in schema.json specification/_types/common.ts (4 lines): - line 47: // TODO clean up Id and Name variants and make sure all API's use one purposefully - line 53: export type ActionIds = string // TODO: check if this should be an array of ActionId - line 68: //TODO encode metrics as API specific enums - line 121: // TODO: replace all uuid's with this type compiler/src/steps/validate-model.ts (4 lines): - line 109: // FIXME: to be revisited once it's moved to a top-level api model property - line 113: // FIXME: no more needed once we've changed the metamodel to use fqn's - line 133: // FIXME: remove once behaviors are a top-level property - line 818: // TODO: disabled for now as it's too noisy until we have fully annotated variants compiler-rs/clients_schema_to_openapi/src/paths.rs (4 lines): - line 179: // FIXME: nd-json requests - line 195: // FIXME: buggy for responses with no body - line 196: // TODO: handle binary responses - line 228: // TODO: add error responses specification/indices/_types/IndexSettings.ts (3 lines): - line 87: number_of_shards?: integer | string // TODO: should be only int - line 92: number_of_replicas?: integer | string // TODO: should be only int - line 103: hidden?: boolean | string // TODO should be bool only compiler/src/model/utils.ts (2 lines): - line 135: // TODO: this should not be used in the specification - line 650: // TODO (@typescript-eslint/strict-boolean-expressions) is no fun specification/_types/analysis/analyzers.ts (2 lines): - line 339: flags?: string // TODO: Use PipeSeparatedFlags and proper enum - line 373: // TODO: This one seems undocumented!? specification/nodes/info/types.ts (2 lines): - line 194: 'type.default'?: string // TODO this clashes with NodeInfoSettingsHttpType - line 210: 'type.default'?: string // TODO this clashes with NodeInfoSettingsTransportType specification/searchable_snapshots/stats/SearchableSnapshotsStatsResponse.ts (2 lines): - line 24: stats: UserDefinedValue // TODO: complete this definition - line 25: total: UserDefinedValue // TODO: complete this definition typescript-generator/src/client.ts (2 lines): - line 78: type TODO = Record - line 163: type TODO = Record compiler-rs/clients_schema/src/lib.rs (1 line): - line 49: // TODO: interning at deserialization time to reuse identical values (links from values to types) compiler/src/model/metamodel.ts (1 line): - line 293: // FIXME: we need an annotation that lists query params replaced by a body property so that we can skip them. specification/watcher/_types/Schedule.ts (1 line): - line 23: // TODO remove specification/ml/_types/Influencer.ts (1 line): - line 75: foo?: string // TODO ??? - the tests carry this prop but :shrug: specification/_global/search/_types/SourceFilter.ts (1 line): - line 19: // TODO: move singular names to aliases specification/ml/_types/TrainedModel.ts (1 line): - line 53: ingest?: Dictionary // TODO -- this is not complete compiler-rs/clients_schema_to_openapi/src/lib.rs (1 line): - line 86: // TODO: add common request parameters and common cat parameters? specification/security/get_token/GetUserAccessTokenRequest.ts (1 line): - line 19: // TODO: once the compiler can handle it, the body should use the commented classes in this file specification/_global/rank_eval/RankEvalResponse.ts (1 line): - line 32: failures: Dictionary // TODO -- incomplete tests compiler/src/model/build-model.ts (1 line): - line 230: // TODO: once all spec files are using it, make it mandatory. specification/indices/downsample/Response.ts (1 line): - line 24: body: UserDefinedValue // TODO: This API is experimental and no docs exist describing it. Requires reverse engineering if made stable compiler-rs/clients_schema/src/transform/expand_generics.rs (1 line): - line 215: // TODO: exceptions specification/_types/query_dsl/fulltext.ts (1 line): - line 345: // FIXME: docs states "date" as a possible format. Add DateMath, or DurationLarge? compiler-rs/openapi_to_clients_schema/src/lib.rs (1 line): - line 54: let _ = types.check_tracker(); // TODO: actually fail typescript-generator/src/metamodel.ts (1 line): - line 293: // FIXME: we need an annotation that lists query params replaced by a body property so that we can skip them. specification/watcher/_types/Watch.ts (1 line): - line 55: execution_state?: string // TODO find execution states in export enum in server codebase