(container: object)
| 32 | |
| 33 | |
| 34 | def _content_schema(container: object) -> object: |
| 35 | content: Final = _as_mapping(_as_mapping(container).get("content")) |
| 36 | return next( |
| 37 | (schema for media_type in SCHEMA_MEDIA_TYPES if (schema := _as_mapping(content.get(media_type)).get("schema"))), |
| 38 | None, |
| 39 | ) |
| 40 | |
| 41 | |
| 42 | def _operation_codes(operation: Mapping[str, object]) -> Iterator[str]: |
no test coverage detected